/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Lora:wght@400;600;700&display=swap');

/* CSS Variables for Color Palette */
:root {
  --charcoal: #2c2c2c;
  --deep-navy: #0b1e2e;
  --metallic-silver: #C0C0C0;
  --light-silver: #E8E8E8;
  --accent-blue: #4682B4;
  --dark-gray: #1e1e1e;
  --medium-gray: #36454F;
  --text-light: #ddd;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--charcoal);
  color: var(--text-light);
  line-height: 1.6;
  font-size: 16px;
}

/* Micro-narrative Bar */
.micro-narrative-bar {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--light-silver);
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 1px;
  border-top: 1px solid var(--medium-gray);
  padding-top: 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .hero-tagline {
  font-family: 'Lora', serif;
  font-weight: 700;
  color: var(--metallic-silver);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* Header Styles */
header {
  background-color: var(--deep-navy);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 60px;
  width: auto;
  transition: opacity 0.3s ease;
}

.company-name {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--metallic-silver);
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.logo a:hover img {
  opacity: 0.8;
}

.logo a:hover .company-name {
  color: var(--light-silver);
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--metallic-silver);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  color: var(--metallic-silver);
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  height: 30vh;
  min-height: 250px;
  max-height: 350px;
  background: url('../images/header-bg.svg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background-position 0.3s ease;
}

/* Hover effect for hero background */
.hero:hover {
  background-position: center calc(50% - 10px);
}

/* Show hover elements in SVG when hovering over hero */
.hero:hover .hover-group {
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

/* Hero variations for different pages */
.hero-about {
  background-image: url('../images/header-bg-about.svg');
}

.hero-services {
  background-image: url('../images/header-bg-services.svg');
}

.hero-articles {
  background-image: url('../images/header-bg-articles.svg');
}

/* Video Hero Styles */
.hero-video {
  background: none;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%) scale(1);
  z-index: -2;
  object-fit: cover;
}


.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 30, 46, 0.7);
  z-index: -1;
}

/* Pause video on last frame */
.hero-video-bg.ended {
  object-fit: cover;
}

/* Loop video hidden by default */
.hero-video-loop {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-video-loop.active {
  opacity: 1;
}

.hero-video-main {
  transition: opacity 1s ease-in-out;
}

.hero-video-main.fade-out {
  opacity: 0;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  padding: 0 2rem;
}

.hero-logo {
  width: 150px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero-tagline {
  font-size: 2.5rem;
  background: linear-gradient(45deg, var(--metallic-silver), var(--light-silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* Main Content */
main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

/* Article Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
  place-items: center;
}

/* Featured articles grid for index page - exactly 3 columns */
.featured-articles .articles-grid {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0.75rem;
  row-gap: 2.25rem; /* 3x the original 0.75rem */
  margin: 1.5rem auto 0;
  width: 90%;
  max-width: none;
  place-items: center;
}

.article-item {
  background: var(--dark-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  aspect-ratio: 2 / 3;
  min-height: 400px;
  height: auto;
}

.article-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.article-item:hover .article-image {
  opacity: 0.5;  /* 50% image visibility to match 50% overlay */
}

.article-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 44, 44, 0.5);  /* Semi-transparent grey overlay - 50% opacity */
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-item:hover .article-overlay {
  opacity: 1;
}

.article-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 2rem 1.5rem 1.5rem;
  color: white;
}

.article-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--metallic-silver);
  line-height: 1.3;
}

/* Removed title from overlay - title shows through from original card */

.article-excerpt {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  position: absolute;
  top: 33.33%;  /* 1/3 of space above */
  left: 1.5rem;
  right: 1.5rem;
  transform: translateY(-50%);
}

.article-excerpt p {
  margin: 0;
}

/* Filter Menu */
.filter-menu {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: var(--medium-gray);
  color: var(--metallic-silver);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover {
  background: var(--accent-blue);
  color: white;
}

.filter-btn.active {
  background: var(--accent-blue);
  color: white;
}

/* Services Section */
.section-wrapper.section-dark {
  background-color: rgba(11, 30, 46, 0.95);
  padding: 4rem 2rem;
  margin-bottom: 4rem;
}

.services-section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.services-section-intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--metallic-silver);
}

.services-section-intro p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.service {
  background: var(--dark-gray);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
  overflow: hidden;
  position: relative;
}

/* Special styling for cards with background images */
.service-strategy,
.service-training,
.service-automation {
  padding: 0;
  position: relative;
  background: none;
  display: flex;
  flex-direction: column;
  min-height: 520px; /* Increased height for more space */
}

.service-image-section {
  position: absolute;
  top: -40px; /* Start image higher */
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

/* Specific positioning for training card */
.service-training .service-image-section {
  top: 0px; /* No offset - image is pre-cropped */
}

/* Specific positioning for automation card */
.service-automation .service-image-section {
  top: 0px; /* No offset - image is pre-cropped */
}

.service-bg-image {
  width: 100%;
  height: calc(100% + 40px); /* Make image taller to compensate */
  object-fit: cover;
  object-position: center top; /* Position image starting from top */
}

/* Specific height for training card */
.service-training .service-bg-image {
  height: 100%; /* No extra height needed since no offset */
}

/* Specific height for automation card */
.service-automation .service-bg-image {
  height: 100%; /* No extra height needed since no offset */
}

/* Dark overlay over entire card */
.service-strategy::after,
.service-training::after,
.service-automation::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-radius: 12px;
}

/* Gradient overlay for strategy card */
.service-strategy::after {
  background: linear-gradient(to bottom, 
    transparent 0%, 
    transparent 25%, 
    rgba(30, 30, 30, 0.6) 35%, 
    rgba(30, 30, 30, 0.6) 100%); /* Clear top 25%, gradient 25-35%, 60% overlay 35-100% */
}

/* Stronger overlay for training card - gradient from clear to dark */
.service-training::after {
  background: linear-gradient(to bottom, 
    transparent 0%, 
    transparent 25%, 
    rgba(30, 30, 30, 0.8) 35%, 
    rgba(30, 30, 30, 0.8) 100%); /* Clear top 25%, gradient 25-35%, full overlay 35-100% */
}

/* Gradient overlay for automation card */
.service-automation::after {
  background: linear-gradient(to bottom, 
    transparent 0%, 
    transparent 25%, 
    rgba(30, 30, 30, 0.7) 35%, 
    rgba(30, 30, 30, 0.7) 100%); /* Clear top 25%, gradient 25-35%, 70% overlay 35-100% */
}

.service-strategy .service-content,
.service-training .service-content,
.service-automation .service-content {
  padding: 2rem;
  position: absolute;
  bottom: 0; /* Position from bottom */
  left: 0;
  right: 0;
  z-index: 2;
  background: none;
  text-align: center;
}

.service:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: block;
}

.service-title {
  color: var(--metallic-silver);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Epistemology Banner */
.epistemology-banner {
  padding: 0;
  position: relative;
  background: none;
  border-radius: 8px;
  margin-top: 3rem;
  overflow: hidden;
  color: var(--light-silver);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

/* Image positioning for epistemology banner */
.epistemology-banner .service-image-section {
  position: absolute;
  top: 0px; /* No offset - image is pre-cropped */
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.epistemology-banner .service-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Gradient overlay for epistemology banner */
.epistemology-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    transparent 25%, 
    rgba(30, 30, 30, 0.8) 60%, 
    rgba(30, 30, 30, 0.8) 100%);
  z-index: 1;
  border-radius: 8px;
}

.epistemology-content {
  padding: 2rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: none;
  text-align: center;
}

.epistemology-banner h3 {
  font-size: 1.5rem;
  color: var(--metallic-silver);
  margin-bottom: 1rem;
}

.epistemology-banner p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--dark-gray);
  padding: 2rem;
  border-radius: 12px;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: block;
  min-height: 1.2rem;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #ff6b6b;
}

.success-message {
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--metallic-silver);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--medium-gray);
  border-radius: 6px;
  background: var(--charcoal);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--charcoal);
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

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

.btn {
  background: var(--accent-blue);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #3a6fa5;
}

/* Footer */
footer {
  background: var(--deep-navy);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(192, 192, 192, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  color: var(--text-light);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-info {
  text-align: left;
}

.footer-info p {
  margin: 0.5rem 0;
  color: var(--metallic-silver);
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-social {
  text-align: right;
}

.social-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--metallic-silver);
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.footer-social .social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(192, 192, 192, 0.1);
  transition: all 0.3s ease;
}

.footer-social .social-links img {
  width: 16px;
  height: 16px;
  filter: brightness(0.7);
  transition: filter 0.3s ease;
}

.footer-social .social-links a:hover {
  background: rgba(192, 192, 192, 0.2);
  transform: translateY(-2px);
}

.footer-social .social-links a:hover img {
  filter: brightness(1);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: 3rem;
}

.mb-lg {
  margin-bottom: 3rem;
}

/* Reveal Animation Classes */
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* High-resolution laptop optimization */
@media (min-width: 1200px) and (min-height: 800px) {
  .hero {
    height: 25vh;
    max-height: 300px;
  }

  .hero-tagline {
    font-size: 2.8rem;
  }

  .hero-logo {
    width: 170px;
  }

  .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
  }

  .article-item {
    height: 300px;
  }
}

/* Large desktop optimization */
@media (min-width: 1440px) and (min-height: 900px) {
  .hero {
    height: 20vh;
    max-height: 250px;
  }

  .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
  }

  .article-item {
    height: 320px;
  }
}

/* Medium screens (tablets) */
@media (max-width: 1024px) and (min-width: 769px) {
  .featured-articles .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0.75rem;
    row-gap: 2.25rem;
    width: 85%;
    max-width: none;
    place-items: center;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--deep-navy);
    flex-direction: column;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

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

  .menu-toggle {
    display: block;
  }

  .footer-main {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-info {
    text-align: center;
  }

  .footer-social {
    text-align: center;
  }

  .footer-social .social-links {
    justify-content: center;
  }

  .company-name {
    font-size: 1.4rem;
  }

  .hero {
    height: 35vh;
    min-height: 200px;
    max-height: 300px;
  }

  .hero-tagline {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-logo {
    width: 120px;
    margin-bottom: 1rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .featured-articles .articles-grid {
    grid-template-columns: 1fr;
    column-gap: 0.75rem;
    row-gap: 2.25rem;
    width: 80%;
    max-width: none;
    place-items: center;
  }

  .article-item {
    aspect-ratio: 2 / 3;
    min-height: 350px;
    height: auto;
  }

  .article-title {
    font-size: 1.1rem;
  }

  .article-excerpt {
    font-size: 0.85rem;
  }

  .article-overlay {
    padding: 1rem;
  }

  .article-title-overlay {
    padding: 1.5rem 1rem 1rem;
  }

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

  .filter-menu {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 200px;
  }

  main {
    padding: 2rem 0.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 0 1rem;
  }

  .company-name {
    font-size: 1.2rem;
  }


  .hero {
    height: 30vh;
    min-height: 180px;
    max-height: 250px;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-tagline {
    font-size: 1.4rem;
  }

  .hero-logo {
    width: 100px;
    margin-bottom: 0.8rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .featured-articles .articles-grid {
    grid-template-columns: 1fr;
    column-gap: 0.75rem;
    row-gap: 2.25rem;
    width: 75%;
    max-width: none;
    place-items: center;
  }

  .article-item {
    aspect-ratio: 2 / 3;
    min-height: 300px;
    height: auto;
  }

  .article-title {
    font-size: 1rem;
  }

  .article-excerpt {
    font-size: 0.8rem;
  }

  .article-overlay {
    padding: 0.8rem;
  }

  .article-title-overlay {
    padding: 1rem 0.8rem 0.8rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .service {
    padding: 1.5rem;
  }
}

/* Article Page Styles */
.article-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 2px solid var(--medium-gray);
}

.article-meta {
  color: #888;
  font-style: italic;
  margin-bottom: 1rem;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.article-body h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--metallic-silver);
}

.article-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--metallic-silver);
}

.article-body p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.article-body ul, .article-body ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid var(--accent-blue);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--metallic-silver);
}

/* About Page Styles - Redesigned */

/* Founders Section */
.founders-section {
  padding: 60px 0;
  margin: 0;
  background: none;
  min-height: 600px;
}

.founders-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Section title for founders */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-family: 'Lora', serif;
  background: linear-gradient(135deg, var(--metallic-silver), var(--light-silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Founder profiles - clean professional layout */
.founder-profile {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding: 0;
}

.founder-portrait {
  flex-shrink: 0;
  width: 200px;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
  background-color: var(--dark-gray);
}

.founder-profile:hover .founder-portrait img {
  filter: grayscale(0%);
}

/* Specific positioning for each founder's portrait */
.founder-profile:first-child .founder-portrait img {
  object-position: center 15%; /* Paul - CEO */
}

.founder-profile:last-child .founder-portrait img {
  object-position: center 25%; /* Mary - President */
}

.founder-details {
  flex: 1;
  padding-top: 1rem;
}

.founder-details h3 {
  background: linear-gradient(135deg, var(--metallic-silver), var(--light-silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  font-family: 'Lora', serif;
}

.founder-title {
  color: var(--accent-blue);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.founder-bio {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.05rem;
}

.advisors-note {
  text-align: center;
  font-style: italic;
  color: var(--metallic-silver);
  margin: 0;
}

/* Content Container */
.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* About Intro */
.about-intro {
  padding: 80px 0;
  background: none;
  position: relative;
}

.about-intro::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--metallic-silver), transparent);
  opacity: 0.3;
}

.intro-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-light);
  text-align: center;
  position: relative;
  padding: 0 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.intro-text::before,
.intro-text::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0.1;
}

.intro-text::before {
  top: -20px;
  left: 0;
  border-left: 2px solid var(--metallic-silver);
  border-top: 2px solid var(--metallic-silver);
}

.intro-text::after {
  bottom: -20px;
  right: 0;
  border-right: 2px solid var(--metallic-silver);
  border-bottom: 2px solid var(--metallic-silver);
}

.intro-text strong {
  color: var(--metallic-silver);
  font-weight: 600;
}

/* About Sections */
.about-section {
  padding: 60px 0;
  margin: 0;
}

.section-odd {
  background: none;
  position: relative;
}

.section-even {
  background: none;
  position: relative;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--metallic-silver);
}

.section-icon {
  flex-shrink: 0;
  color: var(--accent-blue);
}

.about-section p {
  line-height: 1.5em;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.about-section ul {
  margin: 1rem 0 1.5rem 0;
  padding-left: 1.5rem;
  color: var(--text-light);
}

.about-section li {
  margin-bottom: 0.8rem;
  line-height: 1.5em;
}

/* Differentiators Section - Using same layout as Founders */
.differentiators-section {
  background: none;
  padding: 60px 0;
}

.differentiators-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Differentiator profiles - same style as founder profiles */
.differentiator-profile {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.differentiator-icon-box {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.differentiator-profile.active .differentiator-icon-box,
.differentiator-profile:hover .differentiator-icon-box {
  box-shadow: 0 6px 30px rgba(70, 130, 180, 0.3);
}

.differentiator-icon {
  color: var(--accent-blue);
  transition: transform 0.3s ease;
}

.differentiator-profile:hover .differentiator-icon {
  transform: scale(1.1);
}

.differentiator-details {
  flex: 1;
  padding-top: 1rem;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.differentiator-profile.active .differentiator-details {
  opacity: 1;
}

.differentiator-details h3 {
  background: linear-gradient(135deg, var(--metallic-silver), var(--light-silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  font-family: 'Lora', serif;
}

.differentiator-description {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* New Interactive Differentiators Layout */
.differentiators-interactive {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-top: 3rem;
}

.differentiators-menu {
  padding-right: 2rem;
  border-right: 1px solid rgba(192, 192, 192, 0.2);
}

.diff-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.diff-menu-item {
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.diff-menu-item:hover {
  background: rgba(192, 192, 192, 0.05);
  color: var(--metallic-silver);
  transform: translateX(5px);
}

.diff-menu-item.active {
  background: rgba(70, 130, 180, 0.1);
  color: var(--accent-blue);
}

.diff-menu-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--accent-blue);
  border-radius: 2px;
}

.differentiators-content {
  padding-left: 2rem;
  position: relative;
  min-height: 200px;
}

.diff-content-item {
  display: none;
  animation: fadeIn 0.3s ease;
}

.diff-content-item.active {
  display: block;
}

.diff-content-item p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0;
}

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


/* Pull Quote */
.pull-quote-section {
  background: none;
  padding: 40px 0;
}

.pull-quote {
  font-size: 1.4em;
  font-style: italic;
  text-align: center;
  color: var(--metallic-silver);
  margin: 0;
  position: relative;
  padding-left: 3rem;
}

.quote-mark {
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--accent-blue);
  opacity: 0.5;
}

/* CTA Section */
.about-cta {
  background: none;
  padding: 60px 0;
  text-align: center;
}

.about-cta p {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-blue);
  color: white;
  padding: 15px 30px;
  width: 200px;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #5a9fd4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero {
    height: 300px;
  }
  
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .about-hero-tagline {
    font-size: 1rem;
  }
  
  .founders-grid {
    grid-template-columns: 1fr;
  }
  
  .founder-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  
  .founder-portrait {
    width: 180px;
    height: 240px;
  }
  
  .founder-details {
    padding-top: 0;
  }
  
  .differentiators-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .differentiators-grid {
    grid-template-columns: 1fr;
  }
  
  .differentiator-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  
  .differentiator-icon-box {
    width: 150px;
    height: 150px;
  }
  
  .differentiator-details {
    padding-top: 0;
    opacity: 1;
  }
  
  /* Interactive differentiators mobile layout */
  .differentiators-interactive {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .differentiators-menu {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
    padding-bottom: 1rem;
  }
  
  .diff-menu-item {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .differentiators-content {
    padding-left: 0;
    padding-top: 1rem;
  }
  
  
  .section-heading {
    flex-direction: column;
    text-align: center;
  }
  
  .section-icon {
    margin-bottom: 0.5rem;
  }
  
  .about-section,
  .founders-section,
  .differentiators-section,
  .about-cta {
    padding: 40px 0;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .differentiators-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Page Transitions */
.page-content {
  animation: fadeIn 0.5s ease-in;
}

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

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #3a6fa5;
  transform: translateY(-2px);
}

/* Enhanced scroll animations with fly-in effects */
.hidden {
  opacity: 0;
  transform: translateY(80px);
}

.hidden.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Directional fly-in animations */
.hidden.slide-left {
  transform: translateX(-100px);
}

.hidden.slide-right {
  transform: translateX(100px);
}

.hidden.slide-up {
  transform: translateY(100px);
}

.hidden.scale-in {
  transform: scale(0.8);
}

.hidden.slide-left.show,
.hidden.slide-right.show,
.hidden.slide-up.show {
  transform: translateX(0) translateY(0);
}

.hidden.scale-in.show {
  transform: scale(1);
}

/* Staggered animations for child elements */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
}

.show .stagger-children > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show .stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.show .stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.show .stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.show .stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.show .stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.show .stagger-children > *:nth-child(6) { transition-delay: 0.6s; }

/* Clean content sections without cards */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  font-family: 'Lora', serif;
  background: linear-gradient(135deg, var(--metallic-silver), var(--light-silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

/* Remove section backgrounds and cards */
.about-section.section-odd,
.about-section.section-even {
  background: none;
  border: none;
  box-shadow: none;
}

.about-section {
  padding: 4rem 0;
}

.about-section .content-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Interactive differentiators section */
.differentiators-interactive {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.differentiators-menu {
  flex: 0 0 40%;
}

.differentiator-item {
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.differentiator-item:hover,
.differentiator-item.active {
  border-left-color: var(--accent-blue);
  padding-left: 2rem;
}

.differentiator-item h3 {
  font-size: 1.2rem;
  color: var(--metallic-silver);
  margin: 0;
  transition: color 0.3s ease;
}

.differentiator-item.active h3 {
  color: var(--light-silver);
}

.differentiator-details {
  flex: 1;
  position: relative;
  height: 400px;
}

.detail-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.detail-card.active {
  opacity: 1;
  visibility: visible;
}

.detail-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--charcoal);
}

.detail-content {
  padding: 2rem;
}

.detail-content h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light-silver);
}

.detail-content p {
  color: var(--text-light);
  line-height: 1.7;
}