/* ==========================================================================
   GLERC — Company Profile SPA
   Slide-by-slide full-screen presentation module
   ========================================================================== */

/* ---------- Profile Variables ---------- */
:root {
  --profile-slide-accent: 4px;
  --profile-dot-size: 12px;
  --profile-toolbar-gap: 8px;
  --profile-watermark-opacity: 0.04;
}

/* ---------- Base Layout ---------- */
.profile-app {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

/* ---------- Progress Bar ---------- */
.profile-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1000;
  transition: width 0.15s ease-out;
  border-radius: 0 2px 2px 0;
}

/* ---------- Fixed Toolbar ---------- */
.profile-toolbar {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  gap: var(--profile-toolbar-gap);
  z-index: 900;
  align-items: center;
}

.profile-toolbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.profile-toolbar-btn:hover {
  background: rgba(0, 200, 83, 0.1);
  border-color: var(--border);
  color: var(--primary);
}

.profile-toolbar-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Theme toggle icon visibility */
.profile-toolbar-btn .fa-sun {
  display: none;
}

[data-theme="light"] .profile-toolbar-btn .fa-sun {
  display: block;
}

[data-theme="light"] .profile-toolbar-btn .fa-moon {
  display: none;
}

/* Back to site link */
.profile-back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
  padding: 8px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.profile-back-link:hover {
  color: var(--primary);
  border-color: var(--border);
}

.profile-back-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ---------- Slide Dot Navigation ---------- */
.profile-dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
  padding: 16px 8px;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.profile-dot {
  width: var(--profile-dot-size);
  height: var(--profile-dot-size);
  border-radius: 50%;
  background: var(--border-light);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
  position: relative;
}

.profile-dot::before {
  content: attr(aria-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--glass-bg);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.profile-dot:hover::before {
  opacity: 1;
}

.profile-dot:hover {
  background: rgba(0, 200, 83, 0.3);
  transform: scale(1.2);
}

.profile-dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.profile-dot.active {
  background: var(--primary);
  border-color: var(--primary-light);
  box-shadow: 0 0 8px rgba(0, 200, 83, 0.4);
  transform: scale(1.25);
}

/* ---------- Slide Counter ---------- */
.profile-counter {
  position: fixed;
  bottom: 32px;
  right: 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  z-index: 900;
  letter-spacing: 0.1em;
}

.profile-counter .current {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ---------- Individual Slides ---------- */
.profile-slide {
  width: 100%;
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 64px 80px;
  overflow: hidden;
}

.profile-slide:first-child {
  border-top: none;
}

/* Subtle divider between slides (not on the first slide) */
.profile-slide + .profile-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  pointer-events: none;
}

.profile-slide--alt {
  background: var(--bg-secondary);
}

/* Watermark logo */
.profile-slide::after {
  content: '';
  position: absolute;
  bottom: 32px;
  left: 32px;
  width: 80px;
  height: 80px;
  background: url('../images/logo/logo.png') no-repeat center / contain;
  opacity: var(--profile-watermark-opacity);
  pointer-events: none;
}

/* slide inner container */
.profile-slide__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Slide: Cover ---------- */
.slide-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: none;
  padding: 0;
}

.slide-cover__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 13, 0.4) 0%, rgba(10, 15, 13, 0.88) 65%, var(--bg) 100%);
  z-index: 1;
}

[data-theme="light"] .slide-cover__overlay {
  background: linear-gradient(180deg, rgba(244, 247, 245, 0.3) 0%, rgba(244, 247, 245, 0.85) 60%, var(--bg) 100%);
}

.slide-cover__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 64px;
  text-align: center;
}

.slide-cover__logo {
  width: 160px;
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 4px 24px rgba(0, 200, 83, 0.15));
}

.slide-cover__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.slide-cover__tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.5vw + 0.3rem, 1.35rem);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.slide-cover__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(0, 200, 83, 0.08);
  border: 1px solid rgba(0, 200, 83, 0.2);
  border-radius: 9999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Shared Section Tag ---------- */
.profile-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 200, 83, 0.06);
  border: 1px solid rgba(0, 200, 83, 0.15);
  border-radius: 9999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.profile-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.profile-heading .highlight {
  color: var(--primary);
}

.profile-heading .highlight-accent {
  color: var(--accent);
}

.profile-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
}

/* ---------- Slide: Split Layout ---------- */
.slide-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.slide-split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  max-height: 480px;
}

.slide-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Cards (Glassmorphism) ---------- */
.profile-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.profile-card:hover {
  background: var(--card-hover);
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.profile-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 200, 83, 0.08);
  border: 1px solid rgba(0, 200, 83, 0.15);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 16px;
  transition: all var(--transition-base);
}

.profile-card:hover .profile-card__icon {
  background: rgba(0, 200, 83, 0.15);
  box-shadow: 0 0 12px rgba(0, 200, 83, 0.2);
}

.profile-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
}

.profile-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ---------- Grid Layouts ---------- */
.profile-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

/* ---------- Stat Cards ---------- */
.profile-stat {
  text-align: center;
  padding: 32px 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.profile-stat:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.profile-stat__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.profile-stat__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ---------- Industry Icon Cards ---------- */
.profile-industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.profile-industry:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.profile-industry__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 200, 83, 0.08);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 1.2rem;
}

.profile-industry h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

/* ---------- Client Cards ---------- */
.profile-client {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 72px;
  padding: 16px 32px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.profile-client:hover {
  background: rgba(0, 200, 83, 0.06);
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
}

.profile-client span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition-base);
}

.profile-client:hover span {
  color: var(--primary);
}

/* ---------- Certification Images ---------- */
.profile-cert {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.profile-cert:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.profile-cert img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .profile-cert img {
  background: rgba(0, 0, 0, 0.02);
}

.profile-cert__label {
  padding: 12px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: 0.03em;
  border-top: 1px solid var(--border-light);
}

/* ---------- Leadership Card ---------- */
.profile-leader {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.profile-leader:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
}

.profile-leader__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 0 16px rgba(0, 200, 83, 0.15);
}

.profile-leader__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 4px;
}

.profile-leader__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
}

.profile-leader__quote {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.profile-leader__contacts {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.profile-leader__contacts a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-base);
}

.profile-leader__contacts a:hover {
  color: var(--primary);
}

/* ---------- Contact Info ---------- */
.profile-contact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.profile-contact:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
}

.profile-contact__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 200, 83, 0.08);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.profile-contact h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}

.profile-contact p,
.profile-contact a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-decoration: none;
  transition: color var(--transition-base);
}

.profile-contact a:hover {
  color: var(--primary);
}

/* Slide section header wrapper */
.profile-slide__header {
  margin-bottom: 40px;
}

/* Centered header variant */
.profile-slide__header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Service Cards (compact for profile) ---------- */
.profile-service {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.profile-service:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.profile-service__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 200, 83, 0.08);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.profile-service h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}

.profile-service p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ---------- Fleet Grid (image + info) ---------- */
.profile-fleet {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: all var(--transition-base);
}

.profile-fleet:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.profile-fleet img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.profile-fleet__info {
  padding: 16px;
}

.profile-fleet__info h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}

.profile-fleet__info span {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Clients flex wrap ---------- */
.profile-clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

/* ---------- Contact CTA ---------- */
.profile-cta {
  text-align: center;
  padding: 48px;
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  margin-top: 40px;
}

.profile-cta__website {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-full);
  color: #0a0f0d;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(0, 200, 83, 0.25);
}

.profile-cta__website:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 200, 83, 0.35);
}

.profile-cta__website:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ---------- Animations (profile-specific) ---------- */
@keyframes profileFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes profileFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.profile-slide.in-view .profile-animate {
  animation: profileFadeUp 0.6s ease forwards;
}

.profile-slide.in-view .profile-animate-delay-1 {
  animation-delay: 0.1s;
}

.profile-slide.in-view .profile-animate-delay-2 {
  animation-delay: 0.2s;
}

.profile-slide.in-view .profile-animate-delay-3 {
  animation-delay: 0.3s;
}

/* Initial hidden state */
.profile-animate {
  opacity: 0;
}

/* ---------- Team Member Cards ---------- */
.profile-team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.profile-team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.profile-team-member:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.profile-team-member__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 0 12px rgba(0, 200, 83, 0.12);
  margin-bottom: 12px;
}

.profile-team-member__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 4px;
}

.profile-team-member__role {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.02em;
}

/* ---------- Background Image Slide ---------- */
.slide-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-bg-image__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 13, 0.82);
  z-index: 1;
}

[data-theme="light"] .slide-bg-image__overlay {
  background: rgba(244, 247, 245, 0.88);
}

.slide-bg-image .profile-slide__inner {
  position: relative;
  z-index: 2;
}

/* ---------- Testimonial Cards ---------- */
.profile-testimonial {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.profile-testimonial:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
}

.profile-testimonial__quote {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.profile-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-testimonial__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--primary);
  flex-shrink: 0;
}

.profile-testimonial__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
}

.profile-testimonial__position {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ---------- Why Choose Us Feature List ---------- */
.profile-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.profile-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.profile-feature:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
}

.profile-feature__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 200, 83, 0.08);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.profile-feature span {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .profile-slide {
    padding: 48px 40px;
  }

  .slide-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .slide-split__image {
    max-height: 320px;
  }

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

  .profile-leader {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .profile-leader__quote {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid var(--primary);
    padding-top: 12px;
  }

  .profile-leader__contacts {
    justify-content: center;
  }

  .profile-dots {
    right: 12px;
    gap: 8px;
    padding: 10px 6px;
  }

  .profile-dot {
    width: 10px;
    height: 10px;
  }

  .profile-dot::before {
    display: none;
  }

  .profile-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 767px) {
  .profile-slide {
    padding: 40px 24px;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .profile-grid-2,
  .profile-grid-3 {
    grid-template-columns: 1fr;
  }

  .profile-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .slide-cover__content {
    padding: 40px 24px;
  }

  .slide-cover__logo {
    width: 100px;
  }

  .profile-toolbar {
    top: 16px;
    right: 16px;
    gap: 6px;
  }

  .profile-toolbar-btn {
    width: 36px;
    height: 36px;
    font-size: 0.88rem;
  }

  .profile-back-link {
    padding: 6px 12px;
    font-size: 0.72rem;
  }

  .profile-counter {
    bottom: 16px;
    right: 16px;
    font-size: 0.75rem;
  }

  .profile-dots {
    right: 8px;
    gap: 6px;
    padding: 8px 4px;
  }

  .profile-dot {
    width: 8px;
    height: 8px;
  }

  .profile-slide::after {
    width: 48px;
    height: 48px;
    bottom: 16px;
    left: 16px;
  }

  .profile-leader__photo {
    width: 80px;
    height: 80px;
  }

  .profile-fleet img {
    height: 120px;
  }

  .profile-cert img {
    height: 180px;
  }

  .profile-cta {
    padding: 32px 24px;
  }

  .profile-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .profile-team-member {
    padding: 16px 12px;
  }

  .profile-team-member__photo {
    width: 56px;
    height: 56px;
  }

  .profile-features {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .profile-app {
    scroll-behavior: auto;
  }

  .profile-animate {
    opacity: 1;
    animation: none !important;
  }

  .profile-progress {
    transition: none;
  }

  .profile-card,
  .profile-stat,
  .profile-industry,
  .profile-client,
  .profile-cert,
  .profile-leader,
  .profile-service,
  .profile-fleet,
  .profile-contact {
    transition: none;
    transform: none !important;
  }
}

/* ==========================================================================
   PRINT STYLES — A4 Landscape, EXACT on-screen appearance preserved
   Forces all backgrounds, images, colors, and typography to print as-is.
   ========================================================================== */
@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }

  /* Force browsers to print background colors and images */
  *,
  *::before,
  *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  /* Root: preserve the active theme exactly */
  html, body {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
  }

  /* Reset scroll snap but allow pagination */
  .profile-app {
    overflow: visible;
    scroll-snap-type: none;
    background: var(--bg) !important;
    color: var(--text) !important;
    width: 100%;
    height: auto;
  }

  /* Hide navigation UI elements only */
  .profile-progress,
  .profile-toolbar,
  .profile-dots,
  .profile-counter,
  .profile-back-link {
    display: none !important;
  }

  /* Each slide = exactly one A4 landscape page */
  .profile-slide {
    width: 297mm !important;
    height: 210mm !important;
    min-height: 210mm !important;
    max-height: 210mm !important;
    page-break-after: always;
    page-break-inside: avoid;
    padding: 40px 56px;
    background: var(--bg) !important;
    color: var(--text) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    position: relative;
  }

  .profile-slide:last-child {
    page-break-after: auto;
  }

  /* Keep alternating slide backgrounds */
  .profile-slide--alt {
    background: var(--bg-secondary) !important;
  }

  /* Hide the subtle divider in print */
  .profile-slide + .profile-slide::before {
    display: none;
  }

  /* Keep watermark logo visible */
  .profile-slide::after {
    opacity: var(--profile-watermark-opacity);
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* ---- COVER SLIDE: Keep background image ---- */
  .slide-cover {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .slide-cover__overlay {
    background: linear-gradient(180deg, rgba(10, 15, 13, 0.4) 0%, rgba(10, 15, 13, 0.88) 65%, var(--bg) 100%) !important;
  }

  [data-theme="light"] .slide-cover__overlay {
    background: linear-gradient(180deg, rgba(244, 247, 245, 0.3) 0%, rgba(244, 247, 245, 0.85) 60%, var(--bg) 100%) !important;
  }

  .slide-cover__logo {
    filter: drop-shadow(0 4px 24px rgba(0, 200, 83, 0.15));
  }

  /* Gradient text must print correctly */
  .slide-cover__title span {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
  }

  /* ---- BACKGROUND IMAGE SLIDES: Keep images ---- */
  .slide-bg-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .slide-bg-image__overlay {
    background: rgba(10, 15, 13, 0.82) !important;
  }

  [data-theme="light"] .slide-bg-image__overlay {
    background: rgba(244, 247, 245, 0.88) !important;
  }

  /* ---- PRESERVE ALL TEXT COLORS ---- */
  .profile-heading {
    color: var(--text) !important;
  }

  .profile-heading .highlight {
    color: var(--primary) !important;
  }

  .profile-heading .highlight-accent {
    color: var(--accent) !important;
  }

  .profile-desc,
  .profile-card p,
  .profile-service p,
  .profile-contact p,
  .profile-contact a {
    color: var(--text-secondary) !important;
  }

  .slide-cover__tagline {
    color: var(--text-secondary) !important;
  }

  .slide-cover__title {
    color: var(--text) !important;
  }

  .profile-tag {
    color: var(--primary) !important;
    background: rgba(0, 200, 83, 0.06) !important;
    border: 1px solid rgba(0, 200, 83, 0.15) !important;
  }

  .slide-cover__badge {
    color: var(--primary) !important;
    background: rgba(0, 200, 83, 0.08) !important;
    border: 1px solid rgba(0, 200, 83, 0.2) !important;
  }

  .profile-stat__number {
    color: var(--primary) !important;
  }

  .profile-stat__label {
    color: var(--text-secondary) !important;
  }

  .profile-leader__title,
  .profile-fleet__info span,
  .profile-team-member__role {
    color: var(--primary) !important;
  }

  .profile-leader__name,
  .profile-card h3,
  .profile-contact h4,
  .profile-service h4,
  .profile-fleet__info h4,
  .profile-industry h4,
  .profile-team-member__name,
  .profile-feature span,
  .profile-testimonial__name {
    color: var(--text) !important;
  }

  .profile-leader__quote,
  .profile-testimonial__quote {
    color: var(--text-secondary) !important;
    border-left-color: var(--primary) !important;
  }

  .profile-client span {
    color: var(--text-secondary) !important;
  }

  .profile-cert__label,
  .profile-testimonial__position {
    color: var(--text-muted) !important;
  }

  /* ---- PRESERVE ALL CARD BACKGROUNDS ---- */
  .profile-card,
  .profile-stat,
  .profile-industry,
  .profile-client,
  .profile-cert,
  .profile-leader,
  .profile-contact,
  .profile-service,
  .profile-fleet,
  .profile-team-member,
  .profile-testimonial,
  .profile-feature {
    background: var(--card) !important;
    border: 1px solid var(--card-border) !important;
    box-shadow: none !important;
    transform: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Card icon backgrounds */
  .profile-card__icon,
  .profile-service__icon,
  .profile-contact__icon,
  .profile-industry__icon,
  .profile-feature__icon,
  .profile-testimonial__avatar {
    background: rgba(0, 200, 83, 0.08) !important;
    color: var(--primary) !important;
  }

  /* Keep split image visible */
  .slide-split__image {
    border: 1px solid var(--card-border) !important;
  }

  /* Team member photos */
  .profile-team-member__photo,
  .profile-leader__photo {
    border-color: var(--primary) !important;
  }

  /* Team grid */
  .profile-team-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  /* CTA button */
  .profile-cta {
    background: var(--gradient-card) !important;
    border: 1px solid var(--card-border) !important;
  }

  .profile-cta__website {
    background: var(--gradient-primary) !important;
    color: #0a0f0d !important;
    box-shadow: none !important;
  }

  /* Certification images */
  .profile-cert img {
    background: rgba(255, 255, 255, 0.02) !important;
  }

  [data-theme="light"] .profile-cert img {
    background: rgba(0, 0, 0, 0.02) !important;
  }

  /* ALL images must print */
  img {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    max-width: 100% !important;
  }

  /* Animations off but content visible */
  .profile-animate {
    opacity: 1 !important;
    animation: none !important;
  }

  /* Features grid for print */
  .profile-features {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Clients grid */
  .profile-clients-grid {
    justify-content: center;
  }
}
