:root {
  --primary-color: #1259B2;
  --secondary-color: #8DD1EC;
  --accent-color: #0D78FF;
  --accent-purple: #7712B3;
  --accent-purple-light: #A50DFF;
  --accent-gold: #FFD700;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --border-color: #e1e8ed;
  --success-color: #27ae60;
  --gradient-primary: linear-gradient(135deg, #1259B2 0%, #0D78FF 100%);
  --gradient-secondary: linear-gradient(135deg, #8DD1EC 0%, #1259B2 100%);
  --shadow-sm: 0 2px 8px rgba(18, 89, 178, 0.08);
  --shadow-md: 0 4px 16px rgba(18, 89, 178, 0.12);
  --shadow-lg: 0 8px 32px rgba(18, 89, 178, 0.16);
  --shadow-xl: 0 16px 48px rgba(18, 89, 178, 0.20);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

strong {
  font-weight: 700;
}

.site-header {
  background: white;
  box-shadow: 0 2px 20px rgba(18, 89, 178, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              var(--gradient-primary) border-box;
  transition: all 0.3s ease;
}

.site-header:hover {
  box-shadow: 0 4px 30px rgba(18, 89, 178, 0.15);
}

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

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

.site-logo {
  height: 65px;
  width: auto;
}

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

.nav-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-bottom: 3px solid transparent;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -3px;
  left: 50%;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

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

.hero-section {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 3rem;
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid white;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.05);
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  animation: fadeInUp 0.6s ease;
}

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

.tagline {
  font-size: 1.3rem;
  opacity: 1;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease;
}

.contact-info {
  font-size: 1rem;
}

.contact-info a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

.contact-info a:hover {
  border-bottom-color: white;
}

.intro {
  max-width: 900px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  text-align: center;
  padding: 0 1rem;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.highlight-item strong {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
  animation: countUp 1s ease;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.highlight-item span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.expertise {
  background: var(--bg-light);
  padding: 3rem 1rem;
  margin: 3rem 0;
}

.expertise h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.expertise-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding-top: 5.5rem;
  margin-top: 2rem;
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, transparent, var(--secondary-color)) border-box;
}

.expertise-item::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  background-image: url('/assets/icons/Liova Iconography-01.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.expertise-item:nth-child(2)::before {
  background-image: url('/assets/icons/Liova Iconography-02.png');
}

.expertise-item:nth-child(3)::before {
  background-image: url('/assets/icons/Liova Iconography-03.png');
}

.expertise-item:nth-child(4)::before {
  background-image: url('/assets/icons/Liova Iconography-04.png');
}

.expertise-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(white, white) padding-box,
              var(--gradient-primary) border-box;
}

.expertise-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.recent-work {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.recent-work h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.project {
  background: white;
  border-left: 5px solid transparent;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  background: linear-gradient(white, white) padding-box,
              var(--gradient-secondary) border-box;
  transition: all 0.3s ease;
}

.project:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(white, white) padding-box,
              var(--gradient-primary) border-box;
}

.project h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.project-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project ul {
  margin: 0;
  padding-left: 1.5rem;
}

.project li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.services {
  background: var(--bg-light);
  padding: 3rem 1rem;
  margin: 3rem 0;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  text-align: center;
  padding: 2rem;
}

.service-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.industries {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 3rem 1rem;
}

.industries h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.industry-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border-top: 4px solid transparent;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(white, white) padding-box,
              var(--gradient-secondary) border-box;
  position: relative;
  overflow: hidden;
}

.industry-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
}

.industry-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.industry-item:hover::before {
  left: 0;
}

.industry-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.methodologies {
  background: var(--bg-light);
  padding: 3rem 1rem;
  margin: 3rem 0;
}

.methodologies h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.methodology-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 2px solid transparent;
}

.methodology-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--secondary-color);
}

.methodology-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.cta-section {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  margin: 3rem 0;
}

.cta-section h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  margin-top: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(18, 89, 178, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.4);
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

footer {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--primary-color);
  color: white;
  margin-top: 0;
}

.footer-links {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.page-header {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  border-left: 3px solid var(--secondary-color);
  padding-left: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--secondary-color);
}

.timeline-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto;
}

.stack-category h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.stack-category ul {
  list-style: none;
  padding: 0;
}

.stack-category li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.approach-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
}

.approach-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.education-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.education-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.experience-timeline {
  max-width: 1000px;
  margin: 0 auto;
}

.experience-item {
  background: white;
  border-left: 4px solid var(--secondary-color);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border-radius: 8px;
  transition: all 0.3s ease;
}

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

.experience-item.current {
  border-left-color: var(--success-color);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.experience-header h3 {
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.company {
  color: var(--text-light);
  font-weight: 600;
}

.dates {
  color: var(--text-light);
  font-size: 0.9rem;
  white-space: nowrap;
}

.impact-metric {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 4px;
}

.end-users {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0;
}

.tech-tag {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.tech-tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-md);
}

.cert-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.certifications-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.cert-category {
  margin-bottom: 3rem;
}

.cert-category h2 {
  color: var(--primary-color);
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.cert-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.cert-item {
  background: white;
  padding: 1.5rem;
  border-left: 5px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.cert-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--gradient-primary);
  transition: height 0.3s ease;
}

.cert-item.recent {
  border-left-color: var(--success-color);
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.05) 0%, transparent 100%);
}

.cert-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.cert-item:hover::before {
  height: 100%;
}

.cert-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.cert-date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.verify-link {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.verify-link:hover {
  background: var(--primary-color);
}

.learning-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.learning-item {
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.learning-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

@media (max-width: 1200px) {
  .expertise-grid,
  .services-grid,
  .industries-grid,
  .methodology-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .experience-header {
    flex-direction: column;
  }

  .dates {
    margin-top: 0.5rem;
  }

  .footer-links a {
    display: block;
    margin: 0.5rem 0;
  }

  .expertise-grid,
  .services-grid,
  .industries-grid,
  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links {
    margin-top: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-logo {
    height: 40px;
  }
}