/* ==========================================================================
   NELSON PHARMACEUTICALS - CSS DESIGN SYSTEM & STYLES
   ========================================================================== */

/* 1. VARIABLES & TOKENS */
:root {
  /* Colors */
  --primary-blue: #0B5FA5;
  --primary-navy: #083B6E;
  --accent-teal: #1FA7A1;
  --accent-teal-hover: #178b86;
  --light-blue: #EAF4FB;
  --white: #FFFFFF;
  --soft-grey: #F7F9FB;
  --text-dark: #2D3748;
  --text-medium: #4A5568;
  --text-light: #718096;
  --border-color: #E2E8F0;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-navy) 100%);
  --grad-teal-blue: linear-gradient(135deg, var(--accent-teal) 0%, var(--primary-blue) 100%);
  --grad-light-blue: linear-gradient(180deg, var(--light-blue) 0%, var(--white) 100%);
  --grad-white-grey: linear-gradient(180deg, var(--white) 0%, var(--soft-grey) 100%);
  
  /* Typography */
  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(8, 59, 110, 0.08), 0 10px 10px -5px rgba(8, 59, 110, 0.03);
  --shadow-glass: 0 8px 32px 0 rgba(8, 59, 110, 0.07);
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. BASE RESET & GENERAL */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

canvas#molecular-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

/* Section Header Styles */
.section-header-center {
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-teal);
  display: block;
  margin-bottom: 12px;
}

.section-subtitle.light {
  color: var(--accent-teal);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

.text-white-70 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.section-divider-center {
  width: 60px;
  height: 4px;
  background-color: var(--accent-teal);
  border-radius: 2px;
  margin: 0 auto 20px auto;
}

.section-divider {
  width: 50px;
  height: 4px;
  background-color: var(--accent-teal);
  border-radius: 2px;
  margin-bottom: 24px;
}

.section-divider.bg-teal {
  background-color: var(--accent-teal);
}

.section-description-center {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* 3. BUTTONS & UI ELEMENTS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(11, 95, 165, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 59, 110, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-navy);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--light-blue);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-teal {
  background-color: var(--accent-teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(31, 167, 161, 0.3);
}

.btn-teal:hover {
  background-color: var(--accent-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 167, 161, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

/* 4. HEADER & NAVIGATION */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  box-shadow: none;
  z-index: 1000;
  transition: var(--transition-fast);
}

.main-header.scrolled, .main-header.menu-open {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-svg {
  height: 44px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-medium);
  position: relative;
  padding: 8px 0;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--primary-navy);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.mobile-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background-color: var(--primary-navy);
  transition: var(--transition-fast);
}

/* 5. HERO BANNER */
.hero-section {
  padding-top: calc(var(--header-height) + 120px);
  padding-bottom: 100px;
  min-height: 95vh;
  display: flex;
  align-items: center;
  background: var(--grad-light-blue);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  background-color: rgba(11, 95, 165, 0.08);
  padding: 6px 16px;
  border-radius: 30px;
  border-left: 3px solid var(--accent-teal);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtext {
  font-size: 1.05rem;
  color: var(--text-medium);
  margin-bottom: 30px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-indicators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.indicator-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(31, 167, 161, 0.15);
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 0.85rem;
}

.indicator-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
}

/* Right Side Image & Floating Cards */
.hero-visual-wrapper {
  position: relative;
  z-index: 1;
}

.hero-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: visible; /* To allow floating cards to overflow nicely */
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  border: 4px solid var(--white);
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(8, 59, 110, 0.15), rgba(31, 167, 161, 0.15));
  border-radius: var(--border-radius-lg);
  pointer-events: none;
}

/* Floating Card Animations and Layout */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  width: 250px;
  transition: var(--transition-medium);
  animation: float 6s ease-in-out infinite;
}

.floating-card:hover {
  transform: translateY(-5px) scale(1.03) !important;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 25px 50px -12px rgba(8, 59, 110, 0.2);
}

.floating-card h4 {
  font-size: 0.95rem;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.floating-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.fc-icon {
  background-color: var(--light-blue);
  color: var(--primary-blue);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fc-1 {
  top: 10%;
  left: -40px;
  animation-delay: 0s;
}

.fc-2 {
  bottom: 20%;
  right: -30px;
  animation-delay: 2s;
}

.fc-3 {
  bottom: -20px;
  left: 20px;
  animation-delay: 4s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* 6. WHO WE ARE */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
}

.about-image {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--light-blue);
  border-radius: var(--border-radius-lg);
  z-index: 1;
  pointer-events: none;
}

.about-content {
  z-index: 2;
}

.about-paragraph {
  font-size: 1.05rem;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.about-paragraph.highlight {
  font-weight: 500;
  color: var(--primary-navy);
  border-left: 4px solid var(--accent-teal);
  padding-left: 20px;
  margin: 30px 0;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--accent-teal);
  margin-top: 10px;
  font-size: 1.05rem;
}

.learn-more-link:hover {
  color: var(--primary-navy);
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.learn-more-link:hover .arrow-icon {
  transform: translateX(6px);
}

/* 7. OUR CORE VALUES */
.values-section {
  padding: 100px 0;
  background-color: var(--soft-grey);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--white);
  padding: 36px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 167, 161, 0.4);
}

.value-icon-container {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background-color: var(--light-blue);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.value-card:hover .value-icon-container {
  background-color: var(--accent-teal);
  color: var(--white);
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary-navy);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
  flex-grow: 1;
}

/* 8. WHAT WE DELIVER */
.deliver-section {
  padding: 100px 0;
  background-color: var(--white);
}

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

.deliver-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(8, 59, 110, 0.05);
  overflow: hidden;
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
  position: relative;
}

.deliver-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-blue);
  transition: var(--transition-fast);
  transform: scaleX(0);
  transform-origin: left;
}

.deliver-card:hover::after {
  transform: scaleX(1);
}

.deliver-card:nth-child(2)::after {
  background-color: var(--accent-teal);
}

.deliver-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.deliver-card-header {
  padding: 36px 36px 20px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--soft-grey);
}

.deliver-icon {
  color: var(--primary-blue);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.deliver-card:hover .deliver-icon {
  transform: scale(1.1);
}

.deliver-card:nth-child(2) .deliver-icon {
  color: var(--accent-teal);
}

.deliver-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.deliver-card-body {
  padding: 30px 36px 36px 36px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.deliver-card-body p {
  color: var(--text-medium);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.deliver-list {
  margin-top: auto;
}

.deliver-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.deliver-list li:last-child {
  margin-bottom: 0;
}

.deliver-list .bullet {
  color: var(--accent-teal);
  font-size: 0.8rem;
}

/* 9. OUR COMMITMENT */
.commitment-section {
  padding: 100px 0;
  background: var(--grad-primary);
  color: var(--white);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.commitment-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.75;
  pointer-events: none;
}

.commitment-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.commitment-label {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 20px;
}

.commitment-title {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.commitment-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.75;
}

/* 10. PARTNERSHIP PROCESS */
.process-section {
  padding: 100px 0;
  background-color: var(--white);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0 auto;
  padding-left: 50px;
}

.timeline-line {
  position: absolute;
  left: 17px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background-color: var(--light-blue);
  border-radius: 2px;
}

.timeline-line-progress {
  width: 100%;
  height: 25%; /* Controlled dynamically by JS */
  background-color: var(--accent-teal);
  border-radius: 2px;
  transition: height 0.5s ease;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-item {
  position: relative;
  opacity: 0.7;
  transition: var(--transition-medium);
}

.timeline-item.active {
  opacity: 1;
}

.timeline-marker {
  position: absolute;
  left: -50px;
  top: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--white);
  border: 4px solid var(--light-blue);
  color: var(--primary-navy);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition-fast);
}

.timeline-item.active .timeline-marker {
  border-color: var(--accent-teal);
  background-color: var(--accent-teal);
  color: var(--white);
  box-shadow: 0 0 0 6px rgba(31, 167, 161, 0.15);
}

.timeline-content {
  background-color: var(--soft-grey);
  border: 1px solid var(--border-color);
  padding: 24px 30px;
  border-radius: var(--border-radius-md);
  transition: var(--transition-fast);
}

.timeline-item.active .timeline-content {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 167, 161, 0.25);
  transform: translateX(5px);
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary-navy);
}

.timeline-content p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* 11. TRUST & COMPLIANCE */
.compliance-section {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  overflow: hidden;
}

.compliance-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 59, 110, 0.95) 0%, rgba(11, 95, 165, 0.85) 100%);
  z-index: 1;
}

.compliance-container {
  position: relative;
  z-index: 2;
}

.compliance-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.compliance-text-content {
  z-index: 2;
}

.compliance-desc {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.compliance-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.compliance-badge-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: var(--border-radius-md);
  transition: var(--transition-medium);
}

.compliance-badge-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(31, 167, 161, 0.4);
  transform: translateY(-4px);
}

.badge-icon {
  color: var(--accent-teal);
  margin-bottom: 16px;
}

.compliance-badge-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.compliance-badge-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* 12. CONTACT CTA & DYNAMIC FORM */
.contact-cta-section {
  padding: 100px 0;
  background-color: var(--white);
}

.contact-cta-card {
  position: relative;
  background-color: var(--primary-navy);
  border-radius: var(--border-radius-lg);
  padding: 60px 80px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-cta-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31, 167, 161, 0.15) 0%, rgba(11, 95, 165, 0) 100%);
  pointer-events: none;
}

.contact-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.contact-label {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-teal);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.contact-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.contact-enquiry-box {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.enquiry-label {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.enquiry-email {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 36px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-medium);
}

.enquiry-email:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-teal);
  box-shadow: 0 12px 25px rgba(31, 167, 161, 0.25);
  transform: translateY(-3px);
  color: var(--accent-teal);
}

.enquiry-icon {
  color: var(--accent-teal);
  transition: var(--transition-fast);
}

.enquiry-email:hover .enquiry-icon {
  color: var(--white);
  transform: scale(1.1);
}

/* 13. FOOTER */
.main-footer {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 80px 0 0 0;
  border-top: 4px solid var(--accent-teal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-teal);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logo-svg-footer {
  height: 44px;
  width: auto;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-teal);
  transform: translateX(4px);
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.contact-details-list a {
  color: rgba(255, 255, 255, 0.7);
}

.contact-details-list a:hover {
  color: var(--accent-teal);
}

.contact-icon {
  color: var(--accent-teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.regulatory-note {
  max-width: 600px;
  text-align: right;
  line-height: 1.5;
}

/* 14. ANIMATIONS & INTERACTIVE STATES (Scroll-Triggered) */
.scroll-trigger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-trigger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Static CSS Keyframe Classes for Hero section */
.animate-fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 15. RESPONSIVE BREAKPOINTS (Mobile-First) */
@media (max-width: 1024px) {
  /* Hide floating cards to prevent tablet and mobile horizontal overflow */
  .floating-card {
    display: none !important;
  }

  /* Values grid (from 5 cols to 3 then 1) */
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  /* Deliver grid */
  .deliver-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .deliver-card:last-child {
    grid-column: span 2;
  }
  
  /* Hero section grid */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-image-container {
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* About section grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-image-wrapper {
    max-width: 550px;
    margin: 0 auto;
  }
  
  /* Compliance section grid */
  .compliance-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Layout Padding adjustments */
  .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  /* Hide second section visual on Home and About pages to avoid double images on mobile */
  #about .about-visual,
  #who-we-are .about-visual {
    display: none;
  }
  
  /* Typography */
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .commitment-title {
    font-size: 2rem;
  }
  
  /* Navigation mobile menu styles */
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    transition: var(--transition-medium);
    z-index: 999;
    flex-direction: column;
    padding: 40px 24px;
    align-items: flex-start;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 24px;
  }
  
  .nav-link {
    font-size: 1.15rem;
    display: block;
    width: 100%;
  }
  
  .header-actions .nav-cta {
    display: none; /* Hide on mobile to save space */
  }
  
  /* Hero adjustments */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-indicators {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .floating-card {
    display: none; /* Hide floating cards on mobile to reduce clutter */
  }
  
  .hero-image {
    height: 350px;
  }
  
  /* Values adjustments */
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  /* Deliver adjustments */
  .deliver-grid {
    grid-template-columns: 1fr;
  }
  
  .deliver-card:last-child {
    grid-column: span 1;
  }
  
  /* Process / Timeline adjustments */
  .timeline-container {
    padding-left: 35px;
  }
  
  .timeline-line {
    left: 10px;
  }
  
  .timeline-marker {
    left: -35px;
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    top: 6px;
  }
  
  .timeline-content {
    padding: 16px 20px;
  }
  
  /* Compliance Badge adjustments */
  .compliance-badges-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact adjustments */
  .contact-cta-card {
    padding: 40px 24px;
  }
  
  .contact-title {
    font-size: 1.85rem;
  }
  
  .enquiry-email {
    font-size: 1.15rem;
    padding: 12px 20px;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }
  
  /* Footer adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
  }
  
  .regulatory-note {
    text-align: center;
  }
}

/* 16. ABOUT US PAGE UNIQUE COMPONENTS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  background-color: var(--soft-grey);
  padding: 24px 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.stat-item:hover {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent-teal);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.glass-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-glass);
  border-radius: var(--border-radius-lg);
  padding: 45px;
  transition: var(--transition-medium);
}

.glass-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 167, 161, 0.3);
}

.glass-card h3 {
  font-size: 1.5rem;
  color: var(--primary-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.glass-card p {
  color: var(--text-medium);
  font-size: 1.05rem;
  line-height: 1.7;
}

.company-quote-section {
  padding: 100px 0;
  background-color: var(--soft-grey);
  text-align: center;
}

.quote-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 24px;
}

.quote-icon {
  color: rgba(31, 167, 161, 0.2);
  margin-bottom: 16px;
  display: block;
}

.quote-text {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--primary-navy);
  margin-bottom: 24px;
  font-weight: 600;
  position: relative;
}

.quote-author {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* About Page Mobile Responsiveness Override */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .glass-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .glass-card {
    padding: 30px;
  }
  
  .quote-text {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   NELSON PHARMACEUTICALS - SERVICES PAGE CUSTOM STYLES
   ========================================================================== */

/* 1. Custom Services Hero Floating Indicators */
.fc-services-indicator {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-medium);
  animation: float-service 6s ease-in-out infinite;
}

.fc-services-indicator:hover {
  transform: translateY(-5px) scale(1.03) !important;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 20px 40px rgba(8, 59, 110, 0.15);
}

.fc-services-indicator .indicator-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-teal);
  flex-shrink: 0;
}

.fc-services-indicator span {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.fc-services-1 { top: 12%; left: -30px; animation-delay: 0s; }
.fc-services-2 { top: 38%; right: -40px; animation-delay: 1.5s; }
.fc-services-2 .indicator-dot { background-color: var(--primary-blue); box-shadow: 0 0 8px var(--primary-blue); }
.fc-services-3 { bottom: 30%; left: -40px; animation-delay: 3s; }
.fc-services-4 { bottom: 8%; right: 10px; animation-delay: 4.5s; }
.fc-services-4 .indicator-dot { background-color: var(--primary-blue); box-shadow: 0 0 8px var(--primary-blue); }

@keyframes float-service {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* 2. Section 2 - Services Overview (6 premium cards) */
.services-overview-section {
  padding: 100px 0;
  background: var(--grad-white-grey);
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-overview-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-teal-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-fast);
}

.service-overview-card:hover::before {
  transform: scaleX(1);
}

.service-overview-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 167, 161, 0.3);
}

.service-overview-card .card-icon {
  width: 60px;
  height: 60px;
  background: var(--light-blue);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.service-overview-card:hover .card-icon {
  background: var(--accent-teal);
  color: var(--white);
  transform: scale(1.05);
}

.service-overview-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--primary-navy);
}

.service-overview-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* 3. Section 3 - Featured Service Showcase (Alternating editorial blocks) */
.featured-showcase-section {
  padding: 100px 0;
  background: var(--white);
}

.showcase-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.showcase-block:last-child {
  margin-bottom: 0;
}

.showcase-content {
  padding: 20px 0;
}

.showcase-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--primary-navy);
}

.showcase-content p {
  font-size: 1.05rem;
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.7;
}

.showcase-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  z-index: 1;
}

.showcase-image {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: 4px solid var(--white);
}

.showcase-image-wrapper::after {
  content: '';
  position: absolute;
  top: 15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--light-blue);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.showcase-block:nth-child(even) .showcase-image-wrapper::after {
  left: auto;
  right: -15px;
}

/* 4. Section 4 - Industries We Support */
.industries-support-section {
  padding: 100px 0;
  background-color: var(--light-blue);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 167, 161, 0.3);
}

.industry-card .industry-icon-container {
  width: 50px;
  height: 50px;
  background: rgba(11, 95, 165, 0.08);
  color: var(--primary-blue);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.industry-card:hover .industry-icon-container {
  background: var(--accent-teal);
  color: var(--white);
}

.industry-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary-navy);
}

.industry-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 16px;
  line-height: 1.5;
}

.industry-expanded-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.88rem;
  color: var(--text-light);
  border-top: 1px solid transparent;
  padding-top: 0;
  margin-top: 0;
}

.industry-card.expanded .industry-expanded-content {
  max-height: 150px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: 16px;
}

.industry-expand-btn {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-teal);
  background: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.industry-expand-btn:hover {
  color: var(--primary-navy);
}

/* 5. Section 5 - Service Delivery Model */
.delivery-model-section {
  padding: 100px 0;
  background: var(--white);
}

.delivery-flow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  flex-wrap: wrap;
  gap: 20px;
}

.flow-step {
  background: var(--soft-grey);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px 20px;
  text-align: center;
  width: calc(16.6% - 17px);
  position: relative;
  transition: var(--transition-medium);
  box-shadow: var(--shadow-sm);
}

.flow-step:hover {
  background: var(--white);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.flow-step .step-number {
  width: 30px;
  height: 30px;
  background: var(--primary-blue);
  color: var(--white);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.flow-step:hover .step-number {
  background: var(--accent-teal);
}

.flow-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.4;
}

.flow-arrow {
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-arrow svg {
  width: 24px;
  height: 24px;
}

/* 6. Section 6 - Expertise Highlights */
.expertise-section {
  padding: 100px 0;
  background: var(--grad-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.expertise-section .section-title {
  color: var(--white);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.expertise-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-medium);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.expertise-block:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(31, 167, 161, 0.5);
  transform: translateY(-6px);
}

.counter-number {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-teal);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.expertise-block h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.expertise-block p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* 7. Section 7 - Interactive Solutions Grid (Bento Box Layout) */
.solutions-grid-section {
  padding: 100px 0;
  background: var(--soft-grey);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 24px;
  margin-top: 50px;
}

.bento-tile {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-medium);
}

.bento-tile-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.bento-tile:hover .bento-tile-bg {
  transform: scale(1.08);
}

.bento-tile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8, 59, 110, 0.92) 20%, rgba(8, 59, 110, 0.3) 100%);
  z-index: 1;
  transition: var(--transition-medium);
}

.bento-tile:hover .bento-tile-overlay {
  background: linear-gradient(to top, rgba(31, 167, 161, 0.95) 15%, rgba(8, 59, 110, 0.8) 100%);
}

.bento-tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  color: var(--white);
  transition: var(--transition-medium);
}

.bento-tile h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 8px;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.bento-tile-reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.bento-tile:hover .bento-tile-reveal {
  max-height: 100px;
  opacity: 1;
  margin-top: 10px;
}

.bento-w2 {
  grid-column: span 2;
}

.bento-h2 {
  grid-row: span 2;
}

/* 8. Section 8 - Why Clients Work With Us */
.why-clients-section {
  padding: 100px 0;
  background: var(--white);
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.trust-pillar-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  display: flex;
  gap: 20px;
  height: 100%;
}

.trust-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 167, 161, 0.3);
}

.trust-pillar-card .pillar-icon {
  color: var(--accent-teal);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.trust-pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

.trust-pillar-card p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* 9. Section 9 - FAQ Section */
.faq-section {
  padding: 100px 0;
  background: var(--soft-grey);
}

.faq-container {
  max-width: 800px;
  margin: 50px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(31, 167, 161, 0.4);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 30px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-trigger h3 {
  font-size: 1.1rem;
  color: var(--primary-navy);
  font-weight: 600;
}

.faq-icon-wrapper {
  color: var(--accent-teal);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-wrapper {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  padding: 0 30px 24px 30px;
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* 10. Section 10 - High-End CTA Section */
.services-cta-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #031529 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.services-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(31, 167, 161, 0.1) 0%, transparent 60%);
  animation: pulse-glow 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9) translate(-5%, -5%); opacity: 0.7; }
  100% { transform: scale(1.1) translate(5%, 5%); opacity: 1; }
}

.services-cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.services-cta-content h2 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.services-cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.services-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 11. Services Page Responsive Design Overrides */
@media (max-width: 1024px) {
  /* Hide services floating indicators on tablets to prevent horizontal overflow */
  .fc-services-indicator {
    display: none !important;
  }

  .services-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .showcase-block {
    gap: 40px;
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  
  .delivery-flow-container {
    justify-content: center;
  }
  
  .flow-step {
    width: calc(33.3% - 15px);
  }
  
  .flow-arrow {
    display: none; /* Hide horizontal arrows on wrap */
  }
}

@media (max-width: 768px) {
  /* Hide decorative pseudo-element borders that shift outside viewport */
  .about-image-wrapper::after,
  .showcase-image-wrapper::after {
    display: none !important;
  }

  .services-overview-grid {
    grid-template-columns: 1fr;
  }
  
  .showcase-block {
    grid-template-columns: 1fr !important;
    text-align: center;
    margin-bottom: 60px;
  }
  
  .showcase-block:nth-child(even) .showcase-content {
    order: -1;
  }
  
  .showcase-image {
    height: 300px;
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  
  .bento-w2 {
    grid-column: span 1;
  }
  
  .bento-h2 {
    grid-row: span 1;
  }
  
  .delivery-flow-container {
    flex-direction: column;
    gap: 15px;
  }

  .flow-step {
    width: 100%;
  }
  
  .services-cta-content h2 {
    font-size: 2rem;
  }
}

