/* T3ch5 Theme - Clean, Professional, Polished */

:root {
  --color-navy: #1a2332;
  --color-navy-light: #243044;
  --color-charcoal: #2d3748;
  --color-slate: #4a5568;
  --color-teal: #4a9b9b;
  --color-teal-light: #5db3b3;
  --color-teal-glow: rgba(74, 155, 155, 0.15);
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f7fafc;
  --color-gray-200: #edf2f7;
  --color-gray-300: #e2e8f0;
  --color-gray-600: #718096;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 8px 32px rgba(74, 155, 155, 0.2);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--color-charcoal);
  line-height: 1.7;
  background: var(--color-white);
  overflow-x: hidden;
}

/* Typography - Improved Scale */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Accent underline for headings */
.section-header h2 {
  display: inline-block;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-teal-light));
  border-radius: 2px;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

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

a:hover {
  color: var(--color-teal-light);
}

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

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

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--color-teal);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav a {
  color: var(--color-gray-200);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width var(--transition-smooth);
}

nav a:hover {
  color: var(--color-teal-light);
}

nav a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section - Enhanced */
.hero {
  background: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a9b9b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 50%, var(--color-charcoal) 100%);
  padding: 8rem 0;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, var(--color-teal-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--color-white);
  font-size: 4rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  line-height: 1.1;
}

.hero .tagline {
  font-size: 1.35rem;
  color: var(--color-gray-300);
  max-width: 700px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Buttons - Enhanced */
.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-light));
  color: var(--color-white);
  box-shadow: var(--shadow-md), 0 4px 20px rgba(74, 155, 155, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 8px 30px rgba(74, 155, 155, 0.4);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Sections - Gradient Backgrounds */
section {
  padding: 6rem 0;
  position: relative;
}

section.alt-bg {
  background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-gray-100) 100%);
}

section.gradient-bg {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1.5rem;
}

.section-header p {
  color: var(--color-slate);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.15rem;
}

/* Cards Grid - Enhanced */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  border: 1px solid var(--color-gray-200);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-teal-light));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  color: var(--color-navy);
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.card p {
  color: var(--color-slate);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Icon styling */
.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-teal-glow), rgba(74, 155, 155, 0.08));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-teal);
  font-size: 1.75rem;
  border: 1px solid rgba(74, 155, 155, 0.2);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-teal);
  stroke-width: 1.5;
}

/* Problem cards - Enhanced */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.problem-card {
  padding: 2.5rem;
  border-left: 4px solid var(--color-teal);
  background: var(--color-white);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.problem-card h4 {
  color: var(--color-navy);
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.problem-card p {
  color: var(--color-slate);
  margin-bottom: 0;
}

/* Industry Cards - Enhanced */
.industry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.industry-card {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  padding: 3rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.industry-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--color-teal-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

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

.industry-card:hover::before {
  opacity: 1;
}

.industry-card h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  position: relative;
}

.industry-card ul {
  list-style: none;
  margin-bottom: 2rem;
  position: relative;
}

.industry-card li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--color-gray-200);
  font-size: 1.05rem;
}

.industry-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-teal-light);
  font-weight: 600;
}

.industry-card .btn {
  position: relative;
  margin-top: 1rem;
}

/* Page Content */
.page-header {
  background: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a9b9b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-charcoal) 100%);
  padding: 5rem 0;
  color: var(--color-white);
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 3rem;
}

.page-header p {
  color: var(--color-gray-300);
  max-width: 700px;
  font-size: 1.25rem;
}

.page-content {
  padding: 5rem 0;
}

.page-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-gray-200);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-teal);
}

.page-content ul, .page-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* Tables - Enhanced */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th, td {
  padding: 1.25rem 1.5rem;
  text-align: left;
}

th {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  font-weight: 600;
  color: var(--color-white);
}

td {
  border-bottom: 1px solid var(--color-gray-200);
  background: var(--color-white);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--color-gray-50);
}

/* CTA Section - Enhanced */
.cta-section {
  background: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a9b9b' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-charcoal) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 300%;
  background: radial-gradient(ellipse, var(--color-teal-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  font-size: 2rem;
}

.cta-section p {
  color: var(--color-gray-300);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
}

/* Contact Form - Enhanced */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--color-gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
  background: var(--color-white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px var(--color-teal-glow);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info .contact-method {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--color-gray-50);
  border-radius: 12px;
  border-left: 4px solid var(--color-teal);
}

/* Footer - Enhanced */
footer {
  background: var(--color-navy);
  color: var(--color-gray-300);
  padding: 3rem 0;
  border-top: 1px solid var(--color-navy-light);
}

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

footer a {
  color: var(--color-gray-300);
  transition: color var(--transition-fast);
}

footer a:hover {
  color: var(--color-teal-light);
}

/* Trust signals - Enhanced */
.trust-signals {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 3rem 0;
}

.trust-signal {
  text-align: center;
  color: var(--color-slate);
  padding: 1.5rem 2rem;
  background: var(--color-gray-50);
  border-radius: 12px;
  transition: all var(--transition-smooth);
}

.trust-signal:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trust-signal strong {
  display: block;
  font-size: 2.5rem;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* Quote/Highlight boxes - Enhanced */
.highlight-box {
  background: linear-gradient(135deg, var(--color-gray-50), var(--color-white));
  border-left: 4px solid var(--color-teal);
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-charcoal);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-sm);
  font-size: 1.1rem;
}

/* Service list styling */
.service-list {
  margin: 2rem 0;
}

.service-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.service-item:last-child {
  border-bottom: none;
}

.service-item h4 {
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  .hero { padding: 5rem 0; }
  .hero h1 { font-size: 2.5rem; }
  .hero .tagline { font-size: 1.15rem; }
  
  section { padding: 4rem 0; }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav li {
    padding: 0.75rem 1rem;
  }
  
  nav a::after {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .trust-signals {
    gap: 1.5rem;
  }
  
  .trust-signal {
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 140px;
  }
}

/* Link hover underline animation */
.page-content a:not(.btn) {
  position: relative;
  text-decoration: none;
}

.page-content a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width var(--transition-smooth);
}

.page-content a:not(.btn):hover::after {
  width: 100%;
}

/* Selection color */
::selection {
  background: var(--color-teal);
  color: var(--color-white);
}

::-moz-selection {
  background: var(--color-teal);
  color: var(--color-white);
}

/* Hero with Background Image */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: blur(2px);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(45, 55, 72, 0.9) 100%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Industry Cards with Images */
.industry-cards-visual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
}

.industry-card-visual {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-smooth);
}

.industry-card-visual:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.industry-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.industry-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(26, 35, 50, 0.8), transparent);
}

.industry-content {
  padding: 2rem 2.5rem 2.5rem;
}

.industry-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--color-navy);
}

.industry-content ul {
  list-style: none;
  margin-bottom: 2rem;
}

.industry-content li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--color-slate);
  font-size: 1rem;
}

.industry-content li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 600;
}

/* About Preview Section */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-teal-glow), transparent);
  border-radius: 20px;
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.about-content .origin-story {
  font-size: 1.2rem;
  color: var(--color-navy);
  background: var(--color-gray-50);
  padding: 1.5rem;
  border-left: 4px solid var(--color-teal);
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.5rem;
}

.about-content .btn-secondary {
  background: var(--color-navy);
  color: var(--color-white);
  border: none;
}

.about-content .btn-secondary:hover {
  background: var(--color-charcoal);
  transform: translateY(-2px);
}

/* Responsive adjustments for new sections */
@media (max-width: 968px) {
  .industry-cards-visual {
    grid-template-columns: 1fr;
  }
  
  .about-preview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    height: 280px;
  }
}

@media (max-width: 500px) {
  .industry-cards-visual {
    grid-template-columns: 1fr;
  }
  
  .industry-image {
    height: 180px;
  }
}

/* Timeline styling */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--color-teal);
  margin: 2rem 0;
}

.timeline p {
  position: relative;
  padding: 1rem 0 1rem 1.5rem;
  margin-bottom: 0;
}

.timeline p::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 1.4rem;
  width: 12px;
  height: 12px;
  background: var(--color-teal);
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-teal-glow);
}

.timeline strong {
  color: var(--color-teal);
  font-size: 1.1rem;
}

/* Timeline with embedded Photos */
.timeline-with-photos {
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--color-teal);
  margin: 2rem 0;
}

.timeline-with-photos p {
  position: relative;
  padding: 1rem 0 1rem 1.5rem;
  margin-bottom: 0;
}

.timeline-with-photos p::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 1.4rem;
  width: 12px;
  height: 12px;
  background: var(--color-teal);
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-teal-glow);
}

.timeline-with-photos strong {
  color: var(--color-teal);
  font-size: 1.1rem;
}

.timeline-photo-marker {
  position: relative;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.timeline-photo-marker img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--color-teal);
  position: relative;
  left: -3.6rem;
  transition: transform var(--transition-smooth);
}

.timeline-photo-marker:hover img {
  transform: scale(1.08);
}

.timeline-photo-marker span {
  position: absolute;
  left: calc(-3.6rem + 110px);
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1.1rem;
  background: var(--color-gray-50);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

@media (max-width: 500px) {
  .timeline-photo-marker img {
    width: 80px;
    height: 80px;
    left: -3.2rem;
  }
  
  .timeline-photo-marker span {
    left: calc(-3.2rem + 90px);
  }
}

/* Hero with Photo */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-text {
  flex: 1;
  position: relative;
  z-index: 2;
}

.hero-photo {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hero-photo img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(74, 155, 155, 0.3);
  transition: transform 0.1s ease-out;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 2px dashed rgba(74, 155, 155, 0.3);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-photo {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .hero-photo img {
    width: 180px;
    height: 180px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

/* Open Source Logo Grid */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition-smooth);
}

.logo-item:hover {
  transform: translateY(-4px);
}

.logo-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: 0.8;
  transition: all var(--transition-smooth);
}

.logo-item:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.logo-item span {
  font-size: 0.8rem;
  color: var(--color-slate);
  font-weight: 500;
}
