/* ========================================
   PEOPLE & CULTURE AT WORK
   Master Stylesheet
   ======================================== */

/* ---------- CSS RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --color-orange: #F7941D;
  --color-orange-dark: #F15A29;
  --color-teal: #00A5B5;
  --color-teal-dark: #007A87;
  --color-teal-light: #E6F7F9;
  
  /* Neutrals */
  --color-dark: #1A2B3C;
  --color-gray-900: #2D3748;
  --color-gray-700: #4A5568;
  --color-gray-500: #718096;
  --color-gray-300: #CBD5E0;
  --color-gray-100: #F7FAFC;
  --color-white: #FFFFFF;
  
  /* Gradients */
  --gradient-orange: linear-gradient(135deg, #F7941D 0%, #F15A29 100%);
  --gradient-teal: linear-gradient(135deg, #00A5B5 0%, #007A87 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0,165,181,0.95) 0%, rgba(0,122,135,0.95) 100%);
  
  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --container-max: 1280px;
  --section-padding: 6rem 0;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-gray-900);
  line-height: 1.6;
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-orange);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--color-gray-700); }

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--color-gray-100);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--color-orange);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  margin-top: 1rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-orange);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(247,148,29,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247,148,29,0.5);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0,165,181,0.3);
}

.btn-secondary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}

.btn-outline:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-teal);
}

.btn-white:hover {
  background: var(--color-gray-100);
  transform: translateY(-2px);
}

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-gray-100);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 55px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  color: var(--color-gray-900);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-orange);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-orange);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-dark);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- HERO ---------- */
.hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, #FFF9F0 0%, #E6F7F9 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--gradient-orange);
  border-radius: 50%;
  opacity: 0.08;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: var(--gradient-teal);
  border-radius: 50%;
  opacity: 0.08;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content .section-tag {
  background: rgba(247,148,29,0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.hero-title {
  margin: 1.5rem 0;
  line-height: 1.15;
}

.hero-title .highlight {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--color-gray-700);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-top: 0.35rem;
}

.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--gradient-teal);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder {
  color: white;
  text-align: center;
  padding: 2rem;
}

.hero-image-placeholder svg {
  width: 120px;
  height: 120px;
  opacity: 0.9;
}

.hero-badge {
  position: absolute;
  background: white;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge-1 {
  top: 2rem;
  left: -1.5rem;
  animation: float 3s ease-in-out infinite;
}

.hero-badge-2 {
  bottom: 3rem;
  right: -1.5rem;
  animation: float 3s ease-in-out infinite 1.5s;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.hero-badge-1 .hero-badge-icon { background: var(--gradient-orange); }
.hero-badge-2 .hero-badge-icon { background: var(--gradient-teal); }

.hero-badge-text .title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-dark);
}

.hero-badge-text .subtitle {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.trust-title {
  text-align: center;
  color: var(--color-gray-500);
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-gray-500);
  font-size: 1.1rem;
  opacity: 0.7;
  transition: var(--transition);
}

.trust-logo:hover {
  opacity: 1;
  color: var(--color-teal);
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-gray-100);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--color-teal-light);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-orange);
  color: white;
  transform: rotate(-5deg) scale(1.1);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.service-card p {
  color: var(--color-gray-500);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-link {
  color: var(--color-teal);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-link:hover {
  color: var(--color-orange);
  gap: 0.5rem;
}

/* ---------- ABOUT PREVIEW ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image-block {
  background: var(--gradient-teal);
  aspect-ratio: 1;
  border-radius: 20px;
  padding: 3rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-block::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.about-image-block h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

.about-image-block p {
  color: rgba(255,255,255,0.9);
  position: relative;
}

.about-content .section-tag {
  color: var(--color-teal);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-features {
  list-style: none;
  margin: 2rem 0;
}

.about-features li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  color: var(--color-gray-700);
}

.about-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 22px;
  height: 22px;
  background: var(--gradient-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---------- HOW IT WORKS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.process-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(247,148,29,0.3);
}

.process-step h4 {
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.process-step p {
  font-size: 0.95rem;
  color: var(--color-gray-500);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 2rem;
  font-size: 5rem;
  color: var(--color-orange);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-text {
  color: var(--color-gray-700);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.author-name {
  font-weight: 700;
  color: var(--color-dark);
}

.author-title {
  font-size: 0.85rem;
  color: var(--color-gray-500);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: var(--gradient-teal);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 1.5rem;
  background: white;
  padding: 8px 12px;
  border-radius: 8px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-orange);
  color: white;
  transform: translateY(-3px);
}

.footer h5 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-orange);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.footer-contact-item svg {
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: var(--color-orange);
}

/* ---------- PAGE HEADER (for internal pages) ---------- */
.page-header {
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, #FFF9F0 0%, #E6F7F9 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--gradient-orange);
  border-radius: 50%;
  opacity: 0.08;
}

.page-header h1 {
  margin-bottom: 1rem;
  position: relative;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--color-gray-700);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-gray-500);
  position: relative;
}

.breadcrumb a {
  color: var(--color-teal);
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-loaded .fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.js-loaded .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: If JS fails, ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .js-loaded .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-container,
  .about-preview {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
    max-height: calc(100vh - 85px);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-cta .btn:not(.mobile-visible) {
    display: none;
  }
  
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .hero-badge-1, .hero-badge-2 {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-buttons, .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
}
/* ---------- FAQ ACCORDION ---------- */
.faq-item {
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md) !important;
}

.faq-item > div:not(.faq-question) {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
  margin-top: 0 !important;
}

.faq-item.active > div:not(.faq-question) {
  max-height: 500px;
  margin-top: 1rem !important;
}

.faq-item .faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}