/* ============================================================
   STYLE.CSS — Your Portfolio Website Stylesheet
   ============================================================
   This file controls ALL the visual styling of your website:
   colors, fonts, spacing, layout, and how things look on
   different screen sizes.

   HOW TO READ THIS FILE:
   - Anything inside a comment block does not affect the website
   - Each "section" of this file matches a section in index.html
   - To change a color, look for lines with hex codes like #C4A97A
   - To change spacing, look for "padding" or "margin" values
   - To change font size, look for "font-size" values
============================================================ */


/* ============================================================
   1. DESIGN TOKENS — Global Design System
   Dark mode · Navy gradient + gray + black
   Premium, clean, slightly feminine but executive
============================================================ */

:root {

  /* ─── Background Layers ──────────────────────────────────── */
  --color-cream:       #06101E;   /* Page background — deepest navy-black */
  --color-white:       #0D1B33;   /* Cards, nav — elevated surface */
  --color-section-alt: #091422;   /* Alternate section background */

  /* ─── Accent — Champagne Gold (feminine + executive) ─────── */
  --color-blush:       #C4A97A;   /* Main accent — buttons, highlights */
  --color-blush-light: #D9BF9A;   /* Lighter accent */
  --color-blush-pale:  rgba(196, 169, 122, 0.10);  /* Muted tint for bg */
  --color-rose:        #A88550;   /* Darker accent for hover states */

  /* ─── Text Colors ────────────────────────────────────────── */
  --color-dark:        #E6EDF7;   /* Headings — near-white with blue tint */
  --color-charcoal:    #C0CBDC;   /* Slightly softer bright text */
  --color-mid:         #7E92AD;   /* Body / paragraph text */
  --color-light:       #4A5B72;   /* Subtle / secondary text */

  /* ─── Borders ────────────────────────────────────────────── */
  --color-border:      rgba(200, 215, 240, 0.09);   /* Default subtle border */

  /* ─── Gradients ──────────────────────────────────────────── */
  --gradient-hero:   linear-gradient(160deg, #04101D 0%, #0D1B33 55%, #060F1C 100%);
  --gradient-navy:   linear-gradient(135deg, #0D1B33 0%, #091422 100%);
  --gradient-card:   linear-gradient(145deg, #0D1B33 0%, #0A1628 100%);
  --gradient-accent: linear-gradient(135deg, #C4A97A 0%, #D9BF9A 100%);

  /* ─── Typography ─────────────────────────────────────────── */
  /* NOTE: These fonts are loaded via Google Fonts in index.html */
  --font-heading: 'Playfair Display', Georgia, serif;  /* Elegant headings */
  --font-body:    'Inter', system-ui, sans-serif;      /* Clean body text */

  /* ─── Font Sizes (responsive with clamp) ────────────────── */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  clamp(1.75rem, 3vw, 2.25rem);
  --text-4xl:  clamp(2.25rem, 5vw, 3.5rem);
  --text-hero: clamp(2.75rem, 6vw, 5rem);

  /* ─── Spacing ────────────────────────────────────────────── */
  --space-xs:  0.5rem;     /* 8px */
  --space-sm:  1rem;       /* 16px */
  --space-md:  1.5rem;     /* 24px */
  --space-lg:  2rem;       /* 32px */
  --space-xl:  3rem;       /* 48px */
  --space-2xl: 5rem;       /* 80px */
  --space-3xl: 7rem;       /* 112px */

  /* ─── Layout ─────────────────────────────────────────────── */
  --max-width:        1140px;
  --border-radius:    12px;
  --border-radius-lg: 20px;
  --shadow:           0 4px 28px rgba(0, 0, 0, 0.50);
  --shadow-hover:     0 12px 48px rgba(0, 0, 0, 0.70);
  --transition:       0.3s ease;
}


/* ============================================================
   2. CSS RESET & BASE STYLES
   These normalize how elements look across all browsers
   and set up the base font/color for the whole page.
============================================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-mid);
  background-color: var(--color-cream);
  background-image: var(--gradient-hero);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}


/* ============================================================
   3. REUSABLE UTILITIES
   Small helper styles used across multiple sections
============================================================ */

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background-color: var(--color-section-alt);
  background-image: linear-gradient(to bottom, rgba(13, 27, 51, 0.60), rgba(6, 16, 30, 0.60));
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blush);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Gradient Text Utility ──────────────────────────────── */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Glass Card Utility ─────────────────────────────────── */
.glass-card {
  background: rgba(13, 27, 51, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
}

/* ─── Badge Utility ──────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--color-blush-pale);
  color: var(--color-blush);
  border: 1px solid rgba(196, 169, 122, 0.20);
}


/* ============================================================
   4. BUTTONS
   Three styles: filled (btn-primary), outlined (btn-outline),
   and ghost (btn-ghost)
============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #0D1428;
  border-color: transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #B8945A 0%, #CDA870 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196, 169, 122, 0.30);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-blush);
  border-color: rgba(196, 169, 122, 0.40);
}

.btn-outline:hover {
  background: var(--color-blush-pale);
  border-color: var(--color-blush);
  color: var(--color-blush-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-charcoal);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.09);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}


/* ============================================================
   5. NAVIGATION BAR
   Sticky top bar that follows you as you scroll
============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(6, 16, 30, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
  padding: 0;
}

.navbar.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.40);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 5%;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-mid);
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-accent);
  transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-accent) !important;
  color: #0D1428 !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: opacity var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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


/* ============================================================
   6. HERO SECTION
   The big banner at the very top of the page
============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--space-3xl) + 80px) var(--space-sm) var(--space-3xl);
  overflow: hidden;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-greeting {
  font-size: var(--text-lg);
  color: var(--color-blush);
  font-weight: 500;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  text-shadow:
    0 0 40px rgba(201, 168, 76, 0.25),
    0 0 80px rgba(201, 168, 76, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-blush);
  font-style: italic;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero-tagline {
  font-size: var(--text-lg);
  color: var(--color-mid);
  max-width: 560px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(25, 52, 100, 0.90), transparent 70%);
  top: -150px;
  right: -150px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 169, 122, 0.20), transparent 70%);
  bottom: -80px;
  left: -100px;
}

/* ── Hero entrance animations ──────────────────────────────── */
.hero-greeting.hero-anim-in,
.hero-name.hero-anim-in,
.hero-title.hero-anim-in,
.hero-tagline.hero-anim-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-buttons.hero-anim-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Radial glow pulse behind hero content ──────────────────── */
@keyframes bgPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.08); }
}

.hero-bg-pulse {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
  animation: bgPulse 6s ease-in-out infinite;
}

/* ── Floating gold particles ─────────────────────────────────── */
@keyframes floatUp {
  0%   { transform: translateY(0);     opacity: 0; }
  20%  { opacity: 0.6; }
  100% { transform: translateY(-80px); opacity: 0; }
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #C9A84C;
  border-radius: 50%;
  bottom: 15%;
  animation: floatUp linear infinite;
}

/* ── Scroll indicator ────────────────────────────────────────── */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0);   opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.4; }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 3;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-scroll-indicator.hero-anim-in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hero-scroll-indicator.hero-scroll-hide {
  opacity: 0 !important;
}

.hero-scroll-box {
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(201, 168, 76, 0.5);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.hero-scroll-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #C9A84C;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

.hero-scroll-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}


/* ============================================================
   7. ABOUT SECTION
============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(196, 169, 122, 0.30);
  border-radius: var(--border-radius-lg);
  transform: translate(12px, 12px);
  z-index: 0;
}

.image-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: visible;
  aspect-ratio: 4 / 5;
  background: radial-gradient(ellipse at center, #1a3a5c 0%, #0D1B2A 70%);
  box-shadow: 0 0 60px rgba(201, 168, 76, 0.25), 0 0 120px rgba(201, 168, 76, 0.1);
  z-index: 1;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--border-radius-lg);
  animation: pulseGlow 3s ease-in-out infinite;
}

.ring-inner {
  width: 110%;
  height: 110%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top: 2px solid #C9A84C;
  border-right: 2px solid rgba(201, 168, 76, 0.3);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateClockwise 8s linear infinite;
  z-index: 2;
  pointer-events: none;
}

.ring-outer {
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-left: 1px solid rgba(201, 168, 76, 0.15);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateCounterClockwise 14s linear infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes rotateClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 168, 76, 0.2); }
  50%       { box-shadow: 0 0 40px rgba(201, 168, 76, 0.5); }
}

.image-frame.no-photo::after {
  content: "Add your photo here\A(save it as \"your-photo.jpg\"\Ain this folder)";
  white-space: pre;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-blush);
  padding: var(--space-md);
}

/* Glass card wrapping the about text */
.about-card {
  background: rgba(13, 27, 51, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl) var(--space-xl) var(--space-xl);
  box-shadow: var(--shadow);
}

.about-text .section-label {
  margin-bottom: var(--space-xs);
}

.about-text .section-title {
  margin-bottom: var(--space-lg);
}

.about-text p {
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
  color: var(--color-mid);
  line-height: 1.85;
}

.about-text strong {
  color: var(--color-dark);
  font-weight: 600;
}

.about-what-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #C9A84C !important;
  margin-bottom: var(--space-sm) !important;
  display: flex;
  align-items: center;
}

.section-label-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: #C9A84C;
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.8;
  flex-shrink: 0;
}

.about-divider {
  border: none;
  border-top: 1px solid rgba(201, 168, 76, 0.35);
  margin: 28px 0;
  width: 100%;
}

.about-pull-quote {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #C9A84C;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 0 0 var(--space-xl);
  box-shadow: inset 0 0 30px rgba(201, 168, 76, 0.03);
}

.about-pull-quote p {
  margin-bottom: 0 !important;
}

.about-highlights {
  margin: 0 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.6;
}

.highlight-icon {
  color: var(--color-blush);
  font-size: var(--text-base);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}


/* ============================================================
   7b. ABOUT SECTION — Scroll-triggered entrance animations
============================================================ */

[data-about-anim] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about-divider[data-about-anim] {
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.btn[data-about-anim] {
  transform: scale(0.95);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-about-anim].about-anim-in {
  opacity: 1;
  transform: translateY(0);
}

.about-divider[data-about-anim].about-anim-in {
  opacity: 1;
  transform: scaleX(1);
}

.btn[data-about-anim].about-anim-in {
  opacity: 1;
  transform: scale(1);
}


/* ============================================================
   8. SERVICES SECTION
============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

.services-grid .service-card {
  grid-column: span 2;
}

/* Center the last 2 cards when there are 5 total (3 in row 1, 2 in row 2) */
.services-grid .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-card {
  background: var(--gradient-card);
  border-radius: var(--border-radius);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(196, 169, 122, 0.25);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-mid);
  line-height: 1.7;
}


/* ============================================================
   9. TOOLS SECTION
============================================================ */

.tools-showcase {
  position: relative;
  background: linear-gradient(145deg, #101f3c 0%, #0c1828 100%);
  border: 1px solid rgba(196, 169, 122, 0.30);
  border-radius: 24px;
  padding: var(--space-xl) var(--space-lg);
  box-shadow:
    0 0 0 1px rgba(196, 169, 122, 0.06),
    0 0 50px rgba(196, 169, 122, 0.07),
    0 8px 40px rgba(0, 0, 0, 0.45);
}

/* Gold glow ring behind border */
.tools-showcase::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  box-shadow:
    0 0 30px rgba(196, 169, 122, 0.14),
    0 0 70px rgba(196, 169, 122, 0.07);
  pointer-events: none;
}

.tools-inner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg) var(--space-sm);
}

.tool-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: var(--space-xs);
  cursor: default;
  transition: transform 0.25s ease;
}

.tool-cell:hover {
  transform: translateY(-5px) scale(1.07);
}

.tool-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

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

.tool-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-mid);
  text-align: center;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.tool-cell:hover .tool-label {
  color: var(--color-blush);
}

@media (max-width: 768px) {
  .tools-inner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tools-showcase {
    padding: var(--space-lg) var(--space-md);
  }
}

@media (max-width: 480px) {
  .tools-inner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tools-showcase {
    padding: var(--space-md);
  }
}


/* ============================================================
   10. PORTFOLIO SECTION
============================================================ */

/* --- Featured Mockup --------------------------------------- */
.pf-featured {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-xl);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pf-featured:hover {
  transform: scale(1.012);
  box-shadow: 0 16px 56px rgba(196, 169, 122, 0.18), 0 4px 24px rgba(0, 0, 0, 0.60);
  border-color: rgba(196, 169, 122, 0.38);
}

.pf-featured-thumb {
  position: relative;
  flex: 0 0 56%;
  overflow: hidden;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
}

.pf-featured-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(196, 169, 122, 0.055) 0px, rgba(196, 169, 122, 0.055) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(90deg, rgba(196, 169, 122, 0.055) 0px, rgba(196, 169, 122, 0.055) 1px, transparent 1px, transparent 26px),
    radial-gradient(ellipse at 28% 55%, rgba(25, 70, 160, 0.38) 0%, transparent 60%),
    radial-gradient(ellipse at 78% 28%, rgba(196, 169, 122, 0.12) 0%, transparent 52%);
  pointer-events: none;
}

.pf-featured-pattern::before {
  content: '';
  position: absolute;
  bottom: 32px;
  left: 36px;
  right: 36px;
  height: 5px;
  background: linear-gradient(90deg, rgba(196, 169, 122, 0.55) 0%, rgba(196, 169, 122, 0.18) 55%, transparent 100%);
  border-radius: 3px;
  box-shadow: 0 -20px 0 rgba(196, 169, 122, 0.22), 0 -40px 0 rgba(196, 169, 122, 0.12);
}

.pf-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.38) 100%);
  pointer-events: none;
}

.pf-featured-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--gradient-accent);
  color: #0D1428;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
  z-index: 2;
}

.pf-featured-body {
  flex: 1;
  padding: var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
}

.pf-cat-pill {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-blush);
  background: var(--color-blush-pale);
  border: 1px solid rgba(196, 169, 122, 0.20);
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
  width: fit-content;
}

.pf-featured-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.3;
}

.pf-featured-desc {
  font-size: var(--text-sm);
  color: var(--color-mid);
  line-height: 1.78;
}

.pf-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: auto;
}

.pf-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-blush);
  background: var(--color-blush-pale);
  border: 1px solid rgba(196, 169, 122, 0.18);
  padding: 0.22rem 0.7rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

/* --- Category Card ----------------------------------------- */
.pf-cc {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  margin-bottom: var(--space-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pf-cc:hover {
  transform: scale(1.012);
  box-shadow: 0 16px 56px rgba(196, 169, 122, 0.15), 0 4px 24px rgba(0, 0, 0, 0.55);
  border-color: rgba(196, 169, 122, 0.35);
}

.pf-cc-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.pf-cc-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blush-pale);
  border: 1px solid rgba(196, 169, 122, 0.20);
  border-radius: 12px;
}

.pf-cc-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.pf-cc-sub {
  font-size: var(--text-sm);
  color: var(--color-light);
  line-height: 1.5;
}

/* --- Vertical Grid Wrapper --------------------------------- */
.pf-grid-wrap {
  overflow-y: auto;
  max-height: 460px;
  padding-right: 4px;
}

/* Gold thin vertical scrollbar */
.pf-grid-wrap::-webkit-scrollbar {
  width: 4px;
}
.pf-grid-wrap::-webkit-scrollbar-track {
  background: rgba(196, 169, 122, 0.06);
  border-radius: 2px;
}
.pf-grid-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #C4A97A, #D9BF9A);
  border-radius: 2px;
}
.pf-grid-wrap::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #A88550, #C4A97A);
}
.pf-grid-wrap {
  scrollbar-width: thin;
  scrollbar-color: #C4A97A rgba(196, 169, 122, 0.08);
}

/* --- Two-Column Grid --------------------------------------- */
.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  padding: var(--space-xs) 2px var(--space-xs);
}

/* Dynamic grids (Operational Systems & Communication/Inbox)
   — tiles have no fixed thumb height, size adapts to content  */
.pf-grid--dynamic {
  align-items: start;
}

/* Single-column override — forces all tiles into one column */
.pf-grid--single-col {
  grid-template-columns: 1fr;
}

/* Full-image thumb — removes forced aspect ratio so image shows at natural height */
.pf-thumb--full {
  aspect-ratio: unset !important;
  height: auto !important;
}
.pf-thumb--full img {
  height: auto !important;
  object-fit: contain !important;
}

/* --- Grid Tile --------------------------------------------- */
.pf-tile {
  background: rgba(13, 27, 51, 0.70);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.pf-tile:hover {
  transform: translateY(-4px) scale(1.022);
  box-shadow: 0 10px 36px rgba(196, 169, 122, 0.18), 0 2px 12px rgba(0, 0, 0, 0.50);
  border-color: rgba(196, 169, 122, 0.45);
}

/* Vertically centre content within a grid cell */
.pf-tile--vcenter {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Dynamic tile — no forced height; fills to screenshot later */
.pf-tile--dynamic {
  display: flex;
  flex-direction: column;
}

/* --- Tile Thumbnail ---------------------------------------- */
.pf-thumb {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.pf-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Dynamic thumbnail — aspect ratio, not fixed height */
.pf-thumb--dynamic {
  height: auto;
  aspect-ratio: 4 / 3;
  flex: 1;
}

/* Subtle dark overlay on every thumbnail for visual consistency */
.pf-thumb-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.44) 100%);
  z-index: 2;
  pointer-events: none;
}

/* --- Tile Body --------------------------------------------- */
.pf-tile-body {
  padding: 0.65rem var(--space-sm) 0.75rem;
}

.pf-tile-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

/* --- Scroll Hint (vertical) -------------------------------- */
.pf-scroll-hint {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
}

.pf-hint-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196, 169, 122, 0.28), transparent);
  display: block;
}

.pf-hint-text {
  font-size: var(--text-xs);
  color: var(--color-light);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* --- Thumbnail Patterns: Strategy & Content Execution ------ */
.thumb-exec-a {
  background: linear-gradient(145deg, #071d42 0%, #0c2d65 100%);
}
.thumb-exec-a::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(196, 169, 122, 0.10) 0px, rgba(196, 169, 122, 0.10) 1px, transparent 1px, transparent 22px),
    repeating-linear-gradient(90deg, rgba(196, 169, 122, 0.10) 0px, rgba(196, 169, 122, 0.10) 1px, transparent 1px, transparent 22px);
}

.thumb-exec-b {
  background: linear-gradient(145deg, #0a1830 0%, #132242 100%);
}
.thumb-exec-b::before {
  background-image:
    repeating-linear-gradient(135deg, rgba(196, 169, 122, 0.09) 0px, rgba(196, 169, 122, 0.09) 1px, transparent 1px, transparent 16px);
}

.thumb-exec-c {
  background: linear-gradient(145deg, #081e3a 0%, #0d2850 100%);
}
.thumb-exec-c::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(196, 169, 122, 0.09) 0px, rgba(196, 169, 122, 0.09) 1px, transparent 1px, transparent 28px),
    linear-gradient(to right, rgba(196, 169, 122, 0.14) 0%, transparent 65%);
}

.thumb-exec-d {
  background: linear-gradient(145deg, #0c1a35 0%, #152a52 100%);
}
.thumb-exec-d::before {
  background-image:
    repeating-linear-gradient(90deg, rgba(196, 169, 122, 0.09) 0px, rgba(196, 169, 122, 0.09) 1px, transparent 1px, transparent 20px),
    linear-gradient(to bottom, rgba(196, 169, 122, 0.06) 0%, transparent 70%);
}

.thumb-exec-e {
  background: linear-gradient(145deg, #091a38 0%, #102546 100%);
}
.thumb-exec-e::before {
  background-image:
    repeating-linear-gradient(45deg, rgba(196, 169, 122, 0.08) 0px, rgba(196, 169, 122, 0.08) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(-45deg, rgba(196, 169, 122, 0.08) 0px, rgba(196, 169, 122, 0.08) 1px, transparent 1px, transparent 18px);
}

.thumb-exec-f {
  background: linear-gradient(145deg, #071830 0%, #0d2448 100%);
}
.thumb-exec-f::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(196, 169, 122, 0.09) 0px, rgba(196, 169, 122, 0.09) 2px, transparent 2px, transparent 26px);
}

/* --- Thumbnail Patterns: Content Outputs ------------------- */
.thumb-content-a {
  background: linear-gradient(145deg, #1a0e2e 0%, #250d40 100%);
}
.thumb-content-a::before {
  background-image:
    repeating-linear-gradient(135deg, rgba(196, 169, 122, 0.10) 0px, rgba(196, 169, 122, 0.10) 1px, transparent 1px, transparent 16px),
    radial-gradient(ellipse at 70% 30%, rgba(196, 169, 122, 0.14) 0%, transparent 50%);
}

.thumb-content-c {
  background: linear-gradient(145deg, #1c0e30 0%, #281040 100%);
}
.thumb-content-c::before {
  background-image:
    repeating-linear-gradient(-45deg, rgba(196, 169, 122, 0.09) 0px, rgba(196, 169, 122, 0.09) 1px, transparent 1px, transparent 14px);
}

.thumb-content-d {
  background: linear-gradient(145deg, #1a0e28 0%, #230d38 100%);
}
.thumb-content-d::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(196, 169, 122, 0.09) 0px, rgba(196, 169, 122, 0.09) 1px, transparent 1px, transparent 18px),
    linear-gradient(to right, rgba(196, 169, 122, 0.12) 0%, transparent 55%);
}

.thumb-content-e {
  background: linear-gradient(145deg, #1c1030 0%, #261244 100%);
}
.thumb-content-e::before {
  background-image:
    radial-gradient(circle at 32% 60%, rgba(196, 169, 122, 0.16) 0%, transparent 42%),
    repeating-linear-gradient(45deg, rgba(180, 100, 220, 0.07) 0px, rgba(180, 100, 220, 0.07) 1px, transparent 1px, transparent 18px);
}

/* --- Thumbnail Patterns: Platforms Managed ----------------- */
.thumb-platform-a {
  background: linear-gradient(145deg, #061528 0%, #091e3a 100%);
}
.thumb-platform-a::before {
  background-image:
    repeating-linear-gradient(90deg, rgba(80, 160, 240, 0.09) 0px, rgba(80, 160, 240, 0.09) 1px, transparent 1px, transparent 24px),
    linear-gradient(to top, rgba(80, 160, 240, 0.10) 0%, transparent 65%);
}

.thumb-platform-b {
  background: linear-gradient(145deg, #051420 0%, #081c30 100%);
}
.thumb-platform-b::before {
  background-image:
    repeating-linear-gradient(90deg, rgba(60, 140, 220, 0.09) 0px, rgba(60, 140, 220, 0.09) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(0deg, rgba(60, 140, 220, 0.05) 0px, rgba(60, 140, 220, 0.05) 1px, transparent 1px, transparent 20px);
}

.thumb-platform-c {
  background: linear-gradient(145deg, #061322 0%, #091b34 100%);
}
.thumb-platform-c::before {
  background-image:
    radial-gradient(circle at 25% 62%, rgba(80, 160, 240, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 75% 35%, rgba(196, 169, 122, 0.12) 0%, transparent 42%);
}

.thumb-platform-d {
  background: linear-gradient(145deg, #071828 0%, #0b2038 100%);
}
.thumb-platform-d::before {
  background-image:
    repeating-linear-gradient(90deg, rgba(196, 169, 122, 0.10) 0px, rgba(196, 169, 122, 0.10) 10px, rgba(196, 169, 122, 0.04) 10px, rgba(196, 169, 122, 0.04) 16px, transparent 16px, transparent 32px),
    linear-gradient(to top, rgba(196, 169, 122, 0.07) 0%, transparent 70%);
}

.thumb-platform-e {
  background: linear-gradient(145deg, #06141e 0%, #091c2e 100%);
}
.thumb-platform-e::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(80, 160, 240, 0.08) 0px, rgba(80, 160, 240, 0.08) 1px, transparent 1px, transparent 18px),
    linear-gradient(135deg, rgba(196, 169, 122, 0.08) 0%, transparent 55%);
}

.thumb-platform-f {
  background: linear-gradient(145deg, #071520 0%, #0a1e30 100%);
}
.thumb-platform-f::before {
  background-image:
    repeating-linear-gradient(45deg, rgba(80, 160, 240, 0.08) 0px, rgba(80, 160, 240, 0.08) 1px, transparent 1px, transparent 16px),
    repeating-linear-gradient(-45deg, rgba(196, 169, 122, 0.06) 0px, rgba(196, 169, 122, 0.06) 1px, transparent 1px, transparent 16px);
}

/* --- Thumbnail Patterns: Operational Systems --------------- */
/* Suggesting SOPs, checklists, Notion boards, spreadsheets   */
.thumb-ops-a {
  background: linear-gradient(145deg, #071618 0%, #0c2220 100%);
}
.thumb-ops-a::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(100, 200, 160, 0.10) 0px, rgba(100, 200, 160, 0.10) 1px, transparent 1px, transparent 20px),
    linear-gradient(to right, rgba(100, 200, 160, 0.08) 0%, transparent 60%);
}

.thumb-ops-b {
  background: linear-gradient(145deg, #061414 0%, #0a1e1c 100%);
}
.thumb-ops-b::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(80, 180, 150, 0.09) 0px, rgba(80, 180, 150, 0.09) 2px, transparent 2px, transparent 24px),
    repeating-linear-gradient(90deg, rgba(80, 180, 150, 0.05) 0px, rgba(80, 180, 150, 0.05) 1px, transparent 1px, transparent 40px);
}

.thumb-ops-c {
  background: linear-gradient(145deg, #081515 0%, #0c1e1c 100%);
}
.thumb-ops-c::before {
  background-image:
    repeating-linear-gradient(90deg, rgba(196, 169, 122, 0.12) 0px, rgba(196, 169, 122, 0.12) 1px, transparent 1px, transparent 36px),
    repeating-linear-gradient(0deg, rgba(100, 195, 155, 0.06) 0px, rgba(100, 195, 155, 0.06) 1px, transparent 1px, transparent 18px);
}

.thumb-ops-d {
  background: linear-gradient(145deg, #071414 0%, #0b1c1a 100%);
}
.thumb-ops-d::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(196, 169, 122, 0.09) 0px, rgba(196, 169, 122, 0.09) 1px, transparent 1px, transparent 22px),
    repeating-linear-gradient(90deg, rgba(80, 180, 150, 0.08) 0px, rgba(80, 180, 150, 0.08) 1px, transparent 1px, transparent 22px),
    linear-gradient(to bottom, rgba(196, 169, 122, 0.06) 0%, transparent 70%);
}

/* --- Thumbnail Patterns: Communication / Inbox ------------- */
/* Suggesting DM threads, inbox dashboards                    */
.thumb-comms-a {
  background: linear-gradient(145deg, #061c2c 0%, #092838 100%);
}
.thumb-comms-a::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(100, 200, 220, 0.09) 0px, rgba(100, 200, 220, 0.09) 1px, transparent 1px, transparent 20px),
    linear-gradient(to bottom, rgba(100, 200, 220, 0.06) 0%, transparent 80%);
}

.thumb-comms-b {
  background: linear-gradient(145deg, #071a28 0%, #0a2430 100%);
}
.thumb-comms-b::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(120, 200, 210, 0.08) 0px, rgba(120, 200, 210, 0.08) 2px, transparent 2px, transparent 24px);
}

.thumb-comms-c {
  background: linear-gradient(145deg, #051a26 0%, #08222e 100%);
}
.thumb-comms-c::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(80, 180, 200, 0.09) 0px, rgba(80, 180, 200, 0.09) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(90deg, rgba(80, 180, 200, 0.05) 0px, rgba(80, 180, 200, 0.05) 1px, transparent 1px, transparent 40px);
}

.thumb-comms-d {
  background: linear-gradient(145deg, #071e2c 0%, #0b2636 100%);
}
.thumb-comms-d::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(100, 210, 220, 0.08) 0px, rgba(100, 210, 220, 0.08) 1px, transparent 1px, transparent 22px),
    linear-gradient(135deg, rgba(196, 169, 122, 0.07) 0%, transparent 55%);
}

/* --- Portfolio Responsive ---------------------------------- */
@media (max-width: 900px) {
  .pf-featured {
    flex-direction: column;
  }
  .pf-featured-thumb {
    flex: none;
  }
}

@media (max-width: 640px) {
  .pf-featured-body {
    padding: var(--space-lg);
  }
  .pf-cc {
    padding: var(--space-md);
  }
  .pf-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
  }
}


/* ============================================================
   11. TESTIMONIALS SECTION — Single-card fade rotator
============================================================ */

/* --- Section header entrance animation --- */
.testimonials-header .section-label,
.testimonials-header .section-title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.testimonials-header.in-view .section-label {
  opacity: 1;
  transform: translateY(0);
}

.testimonials-header.in-view .section-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

/* --- Rotator wrapper: arrows flanking the stage --- */
.testimonials-rotator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}

/* --- Stage: holds all cards stacked at the same position --- */
.testimonial-stage {
  position: relative;
  width: 100%;
  max-width: 680px;
  flex: 1;
  /* min-height set by JS after measuring cards */
}

/* --- All cards: stacked, hidden by default --- */
.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: none;
}

/* --- Opening quote decoration --- */
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5rem;
  color: #C9A84C;
  opacity: 0.45;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-xs);
}

/* --- Active (visible) card --- */
.testimonial-card.tc-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* --- Exiting card (fades out upward) --- */
.testimonial-card.tc-exiting {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.4s ease-in, transform 0.4s ease-in;
}

.testimonial-stars {
  color: #C9A84C;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-card blockquote {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-mid);
  line-height: 1.8;
  font-style: normal;
  font-weight: 400;
  margin-bottom: var(--space-xl);
}

.testimonial-author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(196, 169, 122, 0.15);
  border: 1px solid rgba(196, 169, 122, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #C9A84C;
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author-info strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-dark);
}

.testimonial-author-info span {
  font-size: var(--text-xs);
  color: var(--color-light);
}

/* --- Progress bar (sits flush at bottom edge of card) --- */
.testimonial-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  overflow: hidden;
}

.testimonial-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #C9A84C, rgba(201, 168, 76, 0.3));
}

.testimonial-progress-bar.tc-progress-run {
  animation: tcProgressFill 5s linear forwards;
}

@keyframes tcProgressFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* --- Arrow buttons (desktop only) --- */
.testimonial-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: transparent;
  color: #C9A84C;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.testimonial-arrow:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: #C9A84C;
}

/* --- Navigation dots --- */
.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-dot {
  height: 6px;
  width: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  background: rgba(255, 255, 255, 0.15);
  transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
}

.testimonial-dot.tc-dot-active {
  background: #C9A84C;
  width: 28px;
  border-radius: 4px;
}


/* ============================================================
   12. CONTACT SECTION
============================================================ */

.contact-cta {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.contact-form-wrapper {
  width: 100%;
}

.form-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-top: var(--space-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-icon {
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-blush-pale);
  border: 1px solid rgba(196, 169, 122, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 3px;
}

.contact-item a,
.contact-item span {
  font-size: var(--text-base);
  color: var(--color-mid);
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--color-blush);
}

.contact-form {
  background: var(--gradient-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-dark);
  background-color: rgba(6, 16, 30, 0.60);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group select {
  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='%237E92AD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(196, 169, 122, 0.50);
  box-shadow: 0 0 0 3px rgba(196, 169, 122, 0.10);
}

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

.form-success {
  text-align: center;
  color: #6EBA8A;
  font-weight: 600;
  margin-top: var(--space-sm);
  font-size: var(--text-base);
}

/* Checkbox group for multi-select platforms field */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-mid);
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  background-color: rgba(6, 16, 30, 0.40);
  transition: border-color var(--transition), color var(--transition);
}

.checkbox-label:hover {
  border-color: rgba(196, 169, 122, 0.40);
  color: var(--color-dark);
}

.checkbox-label:hover input[type="checkbox"] {
  border-color: rgba(200, 215, 240, 0.70);
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  margin: 0;
  border: 2px solid rgba(200, 215, 240, 0.45);
  border-radius: 3px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  transition: background-color var(--transition), border-color var(--transition);
}

.checkbox-label input[type="checkbox"]:checked {
  background-color: var(--color-blush);
  border-color: var(--color-blush);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
  width: 0.28rem;
  height: 0.52rem;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
}

/* Thank-you block shown after successful submission */
.form-success-block {
  text-align: center;
  padding: var(--space-lg) var(--space-md) var(--space-md);
}

.form-success-sub {
  color: var(--color-mid);
  font-size: var(--text-base);
  margin-top: var(--space-xs);
}

/* Calendly inline widget container */
#calendlyWidget {
  width: 100%;
  min-height: 700px;
  border-radius: var(--border-radius-lg);
  margin-top: var(--space-md);
}

/* Let the Calendly iframe fill the container without internal scroll */
#calendlyWidget iframe {
  width: 100% !important;
  min-height: 700px !important;
  height: auto !important;
  overflow: visible !important;
}


/* ============================================================
   13. FOOTER
============================================================ */

.footer {
  background: linear-gradient(to bottom, #070F1D, #04090F);
  border-top: 1px solid var(--color-border);
  color: var(--color-charcoal);
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-dark);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-light);
  margin-bottom: var(--space-sm);
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-sm) 0;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-mid);
  transition: background-color var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}

.social-link:hover {
  background-color: var(--color-blush-pale);
  border-color: rgba(196, 169, 122, 0.40);
  color: var(--color-blush);
  transform: translateY(-3px);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-light);
  margin-top: var(--space-sm);
}


/* ============================================================
   14. RESPONSIVE STYLES — Mobile & Tablet
============================================================ */

/* --- Tablet (screens up to 900px wide) --- */
@media (max-width: 900px) {

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-image {
    max-width: 380px;
    margin: 0 auto;
  }

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

  .services-grid .service-card,
  .services-grid .service-card:nth-child(4) {
    grid-column: span 1;
  }

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


/* --- Mobile phone (screens up to 640px wide) --- */
@media (max-width: 640px) {

  .section {
    padding: var(--space-2xl) 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(6, 16, 30, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.50);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem var(--space-lg);
    font-size: var(--text-base);
  }

  .nav-cta {
    margin: var(--space-xs) var(--space-lg);
    border-radius: 50px !important;
  }

  .hero {
    padding-top: calc(var(--space-2xl) + 80px);
    padding-bottom: var(--space-2xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  /* Rotator: hide arrows, shrink to 90vw */
  .testimonial-arrow {
    display: none;
  }

  .testimonials-rotator {
    max-width: 90vw;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .services-grid .service-card,
  .services-grid .service-card:nth-child(4) {
    grid-column: span 1;
  }

  .contact-form {
    padding: var(--space-lg);
  }
}




/* ============================================================
   HOW I WORK — PROCESS SECTION
============================================================ */

.process {
  background-color: var(--color-cream);
}

/* ─── Steps Row ─────────────────────────────────────────── */
.process-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* ─── Individual Step Block ──────────────────────────────── */
.process-step {
  flex: 1;
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(196, 169, 122, 0.12);
  border-color: rgba(196, 169, 122, 0.30);
}

/* ─── Decorative Step Number ─────────────────────────────── */
.step-num {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(196, 169, 122, 0.07);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

/* ─── Step Icon ──────────────────────────────────────────── */
.step-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-blush-pale);
  border: 1px solid rgba(196, 169, 122, 0.18);
  color: var(--color-blush);
  margin-bottom: var(--space-md);
  transition: background var(--transition), border-color var(--transition);
}

.process-step:hover .step-icon-wrap {
  background: rgba(196, 169, 122, 0.16);
  border-color: rgba(196, 169, 122, 0.35);
}

/* ─── Step Title ─────────────────────────────────────────── */
.step-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  transition: color var(--transition);
}

.process-step:hover .step-title {
  color: var(--color-blush);
}

/* ─── Step Description ───────────────────────────────────── */
.step-desc {
  font-size: var(--text-sm);
  color: var(--color-mid);
  line-height: 1.75;
}

/* ─── Connector Between Steps ────────────────────────────── */
@keyframes dash-flow {
  from { background-position: 100% 0%; }
  to   { background-position: 0% 0%; }
}

.process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.5rem;
  overflow: hidden;
  padding-top: calc(var(--space-xl) + 22px + var(--space-md));
}

.connector-dash {
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #C9A84C 0px,
    #C9A84C 8px,
    transparent 8px,
    transparent 16px
  );
  background-size: 200% 100%;
  animation: dash-flow 1.5s linear infinite;
  box-shadow: 0 0 6px rgba(201, 168, 76, 0.5);
}

/* ─── Responsive: Mobile Stack ───────────────────────────── */
@media (max-width: 900px) {
  .process-steps {
    flex-direction: column;
    gap: 0;
  }

  .process-step {
    padding: var(--space-lg);
  }

  .step-num {
    font-size: 4.5rem;
  }

  .process-connector {
    justify-content: flex-start;
    flex: 0 0 2rem;
    padding-top: 0;
    padding-left: calc(var(--space-lg) + 22px);
  }

  .connector-dash {
    width: 40px;
  }
}
