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

:root {
  --primary-color: #2563eb;
  --secondary-color: #7c3aed;
  --accent-color: #10b981;
  --dark-bg: #0f172a;
  --darker-bg: #020617;
  --light-bg: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #f8fafc;
  --border-color: #e2e8f0;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: #fff;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Navigation */
.navbar {
  background: rgba(4, 7, 20, 0.85);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo:hover {
  color: var(--text-light);
}

.profile-pic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.logo:hover .profile-pic {
  transform: scale(1.05);
  border-color: var(--accent-color);
}

.profile-initials {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-profile-wrap {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

.hero-profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-profile-initials {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 auto;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.logo-text {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-2);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 120px 0 80px;
  margin-top: 60px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.hero-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #cbd5e1;
  line-height: 1.8;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(226, 232, 240, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.hero-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
  margin-bottom: 3rem;
}

.hero-highlight {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.3);
}

.hero-highlight .label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2rem;
  color: var(--accent-color);
  margin-bottom: 0.6rem;
}

.hero-highlight h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.hero-highlight p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

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

.stat {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-top: 0.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page hero (for inner pages) */
.page-hero {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 120px 0 60px;
  margin-top: 60px;
  text-align: center;
}

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

.page-hero p {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact page hero enhancements */
.contact-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f172a 70%, #162033 100%);
  position: relative;
  overflow: hidden;
  padding: 130px 0 70px;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.05); }
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.contact-hero > .container > p {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.hero-actions .btn {
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.hero-actions .btn:hover {
  box-shadow: 0 6px 30px rgba(37, 99, 235, 0.5);
}

.hero-quick-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.hero-link:hover {
  color: #fff;
}

.hero-link svg {
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.hero-link:hover svg {
  opacity: 1;
}

/* Buttons */
.btn {
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-2);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

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

.btn-primary-large,
.btn-secondary-large {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
}

.btn-primary-large {
  background: var(--gradient-2);
  color: white;
}

.btn-secondary-large {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-2);
  border-radius: 2px;
}

/* About Section */
.about-section {
  background: var(--light-bg);
}

.about-text {
  max-width: 900px;
  margin: 0 auto;
}

.lead {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.expertise-areas {
  margin-top: 3rem;
}

.expertise-areas h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.expertise-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.expertise-item h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.expertise-item ul {
  list-style: none;
}

.expertise-item li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.expertise-item li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Achievements Section */
.achievements-section {
  background: white;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.achievement-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.achievement-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Education Section */
.education-section {
  background: var(--light-bg);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.education-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.education-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}

.education-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.university {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.degree {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.year {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.details {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 1rem;
}

/* CTA Section */
.cta-section {
  background: var(--dark-bg);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
}

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

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--darker-bg);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

/* Timeline Styles */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--gradient-2);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background: white;
  border: 4px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
  right: auto;
}

.timeline-content {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.timeline-content .company {
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.timeline-content .duration {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.timeline-content ul {
  list-style: none;
}

.timeline-content li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.timeline-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

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

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-header {
  background: var(--gradient-2);
  padding: 2rem;
  color: white;
}

.project-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.project-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-content {
  padding: 2rem;
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-metrics {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.metric {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 8px;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

/* Featured project */
.featured-project {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
  border: 2px solid var(--border-color);
}

.featured-project .project-header {
  padding: 2.5rem;
}

.featured-project .project-content {
  padding: 2.5rem;
}

.featured-project .project-content ul {
  list-style: none;
  margin-top: 1rem;
}

.featured-project .project-content li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.featured-project .project-content li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.featured-project .project-content .platform-layers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem 2rem;
  margin-top: 0.5rem;
}

/* Service Cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.service-card-featured {
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
  position: relative;
}

.service-card-featured::before {
  content: 'Most Requested';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  background: var(--gradient-2);
  color: white;
  text-align: center;
  padding: 0.35rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
  letter-spacing: 0.03em;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Process/How It Works Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.process-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Industries page */
.industry-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.industry-list li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.industry-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}
.industry-tags {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 500;
}
.playbooks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.playbook-block {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.playbook-block h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.playbook-block ul {
  list-style: none;
  padding: 0;
}
.playbook-block li {
  padding: 0.4rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
}
.playbook-block li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}
.testimonial-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}
.testimonial-quote {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-author,
.testimonial-focus {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Clients page – testimonial cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}
.testimonial-card-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}
.testimonial-card-header .client-logo {
  display: none;
}
.testimonial-card-header h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
}
.client-role {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}
.testimonial-card-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0 0 1rem;
  font-style: italic;
}
.testimonial-card-focus {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}
.client-logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.client-badge {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.client-badge:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.project-card .project-content ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.project-card .project-content li {
  padding: 0.4rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
}
.project-card .project-content li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Certifications - aligned with reference (prabhatranjan.github.io/experience.html) */
.certifications-section {
  background: var(--light-bg);
}

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

.cert-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
  border-color: var(--primary-color);
}

.cert-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  height: 60px;
  min-height: 60px;
}

.cert-logo img {
  max-height: 60px;
  max-width: 150px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cert-logo .cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gradient-2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover .cert-logo img {
  transform: scale(1.05);
}

.cert-card:hover .cert-logo .cert-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.cert-card h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.cert-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Contact Form */
.contact-section {
  background: var(--light-bg);
  padding: 4rem 0;
}

#schedule-consultation {
  background: #fff;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

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

.contact-form {
  background: var(--light-bg);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.submit-btn {
  background: var(--gradient-2);
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
  font-family: inherit;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: #1e293b;
}

/* Email icon - dark color */
.contact-item:first-child .contact-icon svg {
  color: #1e293b;
}

/* LinkedIn icon - primary color */
.contact-item:last-child .contact-icon svg {
  color: var(--primary-color);
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
}

.form-message.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
}

/* Open to / FAQ */
.open-to-section {
  background: white;
}

.open-to-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.open-to-card {
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 12px;
}

.open-to-card h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.open-to-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Ideal Client Profile Section - Modern Styling */
.ideal-client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ideal-client-card {
  padding: 2.5rem;
  background: white;
  border-radius: 16px;
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ideal-client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.ideal-client-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.15);
  border-color: var(--primary-color);
}

.ideal-client-card:hover::before {
  transform: scaleX(1);
}

.ideal-client-card h4 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  padding-left: 1rem;
}

.ideal-client-card h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 4px;
  height: calc(100% - 0.6em);
  background: var(--gradient-2);
  border-radius: 2px;
}

.ideal-client-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.will-animate {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background-color: var(--dark-bg);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .profile-pic,
  .profile-initials {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .hero-profile-pic,
  .hero-profile-initials {
    width: 96px;
    height: 96px;
    font-size: 2rem;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .contact-hero {
    padding: 100px 0 50px;
  }

  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .contact-hero > .container > p {
    font-size: 1.05rem;
    max-width: 90%;
  }

  .hero-actions .btn-primary-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }

  .hero-quick-links {
    gap: 1.25rem;
  }

  .hero-link span {
    font-size: 0.9rem;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 21px;
    right: auto;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .ideal-client-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ideal-client-card {
    padding: 2rem;
  }

  .ideal-client-card h4 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.8rem 1.5rem;
  }

  .page-hero {
    padding: 100px 0 40px;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .contact-hero {
    padding: 90px 0 35px;
  }

  .contact-hero h1 {
    font-size: 1.8rem;
  }

  .contact-hero > .container > p {
    font-size: 0.95rem;
    max-width: 100%;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 1.5rem;
    gap: 1.25rem;
  }

  .hero-actions .btn-primary-large {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hero-quick-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-link {
    font-size: 0.85rem;
  }

  .ideal-client-card {
    padding: 1.5rem;
  }

  .ideal-client-card h4 {
    font-size: 1.1rem;
  }
}

/* Calendly Widget Styling */
.calendly-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.calendly-inline-widget {
  width: 100%;
  min-width: 280px;
  height: 900px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin: 0;
  padding: 0;
}

/* Ensure Calendly iframe is properly styled */
.calendly-inline-widget iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  border-radius: 8px;
  margin: 0 !important;
  padding: 0 !important;
}

/* Minimize Calendly widget internal spacing */
.calendly-inline-widget .calendly-badge-widget,
.calendly-inline-widget .calendly-popup-content {
  margin: 0 !important;
  padding: 0 !important;
}

/* Target Calendly's internal wrapper elements */
.calendly-inline-widget > * {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove any spacing from container class in this section */
#schedule-consultation .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* Ensure no extra spacing in Calendly container */
#schedule-consultation {
  padding-top: 1rem !important;
  padding-bottom: 0 !important;
}

#schedule-consultation .contact-content {
  padding-top: 0;
  padding-bottom: 0;
}

#schedule-consultation .section-title {
  margin-bottom: 1rem;
}

#schedule-consultation .lead {
  margin-bottom: 1rem !important;
}

#schedule-consultation .calendly-container {
  margin-top: 0;
  margin-bottom: 0;
}

/* Calendly - tablet landscape / small desktop */
@media (max-width: 1024px) {
  .calendly-container {
    max-width: 95%;
  }
}

/* Calendly - tablet portrait */
@media (max-width: 768px) {
  .calendly-container {
    max-width: 100%;
    padding: 0;
    margin: 0 0.75rem;
    border-radius: 10px;
  }

  .calendly-inline-widget {
    height: 850px;
  }

  #schedule-consultation {
    padding-top: 1.5rem !important;
    padding-bottom: 0.5rem !important;
  }
}

/* Calendly - mobile */
@media (max-width: 480px) {
  .calendly-container {
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  }

  .calendly-inline-widget {
    height: 880px;
    min-width: 100%;
  }

  #schedule-consultation {
    padding-top: 1rem !important;
    padding-bottom: 0.5rem !important;
  }

  #schedule-consultation .section-title {
    margin-bottom: 0.75rem;
  }

  #schedule-consultation .lead {
    margin-bottom: 0.75rem !important;
  }
}

/* Very small phones (360px and below - Galaxy S, iPhone SE) */
@media (max-width: 360px) {
  .calendly-inline-widget {
    height: 900px;
  }

  .contact-hero {
    padding: 85px 0 30px;
  }

  .contact-hero h1 {
    font-size: 1.6rem;
  }

  .contact-hero > .container > p {
    font-size: 0.9rem;
  }

  .hero-actions .btn-primary-large {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-link {
    font-size: 0.8rem;
  }

  .hero-link svg {
    width: 16px;
    height: 16px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-title::after {
    width: 60px;
    height: 3px;
  }

  .open-to-card {
    padding: 1rem;
  }

  .open-to-icon {
    width: 36px;
    height: 36px;
  }

  .open-to-icon svg {
    width: 18px;
    height: 18px;
  }

  .faq-item h3 {
    font-size: 0.95rem;
    padding: 0.9rem;
  }

  .cta-section h2 {
    font-size: 1.4rem;
  }

  .cta-section p {
    font-size: 0.9rem;
  }

  .cta-buttons .btn-primary-large,
  .cta-buttons .btn-secondary-large {
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
  }

  .submit-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Open to section icons */
.open-to-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}

.open-to-icon svg {
  color: white;
  stroke: white;
}

/* FAQ Section Styling - Accordion */
.faq-section {
  padding: 80px 0;
  background: var(--light-bg);
}

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

.faq-item {
  margin-bottom: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary-color);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item h3 {
  font-size: 1.15rem;
  margin: 0;
  padding: 1.25rem 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

.faq-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.faq-item a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }

  .faq-item h3 {
    font-size: 1.05rem;
    padding: 1rem 1.25rem;
  }

  .faq-answer {
    padding: 0 1.25rem;
  }

  .faq-item.open .faq-answer {
    padding: 0 1.25rem 1rem;
  }

  .open-to-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .open-to-card {
    padding: 1.25rem;
  }

  .open-to-icon {
    width: 40px;
    height: 40px;
  }

  .open-to-icon svg {
    width: 22px;
    height: 22px;
  }

  .cta-section {
    padding: 60px 0;
  }

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

  .cta-section p {
    font-size: 1.05rem;
  }

  .cta-buttons .btn-primary-large,
  .cta-buttons .btn-secondary-large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 40px 0;
  }

  .faq-item {
    border-left-width: 3px;
  }

  .faq-item h3 {
    font-size: 1rem;
    padding: 1rem;
  }


  .open-to-section {
    padding: 50px 0;
  }

  .open-to-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .open-to-card h4 {
    font-size: 1rem;
  }

  .open-to-card p {
    font-size: 0.9rem;
  }

  .cta-section {
    padding: 50px 0;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }

  .cta-section p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .cta-buttons .btn-primary-large,
  .cta-buttons .btn-secondary-large {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .contact-section {
    padding: 2.5rem 0;
  }
}

/* Blog Post Styling */
article {
  line-height: 1.8;
}

article h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--text-primary);
}

article h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  border-top: 2px solid var(--border-color);
  padding-top: 2rem;
}

article h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

article h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

article p {
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

article ul {
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

article ul li {
  margin-bottom: 0.75rem;
}

article strong {
  color: var(--text-primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  article h1 {
    font-size: 2rem;
  }
  
  article h2 {
    font-size: 1.75rem;
  }
  
  article h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  article h1 {
    font-size: 1.75rem;
  }
  
  article h2 {
    font-size: 1.5rem;
  }
  
  article h3 {
    font-size: 1.15rem;
  }
}

/* Blog Listing Page Styling */
.blog-section {
  padding: 4rem 0;
  background: var(--light-bg);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

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

.filter-btn.active {
  border: none;
  background: var(--primary-color);
  color: white;
  border-radius: 20px;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-post-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.blog-post-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.blog-date {
  color: var(--text-secondary);
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-category {
  background: var(--light-bg);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

.blog-post-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-post-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-post-title a:hover {
  color: var(--primary-color);
}

.blog-post-excerpt {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.blog-read-more:hover {
  gap: 0.75rem;
}

.blog-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.blog-empty-state p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

/* Shared utility: section lead paragraph */
.section-lead {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Page hero sub-paragraph and CTA */
.page-hero-sub {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #cbd5e1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-cta {
  margin-top: 2rem;
}

/* Project subheading */
.project-subheading {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 12px;
  text-align: center;
  position: relative;
}

.pricing-featured {
  border: 2px solid var(--primary-color);
}

.pricing-badge {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 1rem 0;
}

.pricing-period {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pricing-outcome {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features {
  text-align: left;
  list-style: none;
  padding: 0;
}

.pricing-features li {
  padding: 0.5rem 0;
}

.pricing-cta {
  margin-top: 1.5rem;
  display: inline-block;
}

/* ROI stats grid */
.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.roi-stat {
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 12px;
  text-align: center;
}

.roi-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.roi-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-post-card {
    padding: 1.5rem;
  }

  .blog-filters {
    gap: 0.75rem;
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .client-logos-row {
    gap: 0.75rem;
  }

  .client-badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

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

  .roi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roi-value {
    font-size: 2rem;
  }

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

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

  .page-hero-sub {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .blog-section {
    padding: 2rem 0;
  }

  .blog-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .blog-post-title {
    font-size: 1.3rem;
  }

  .testimonial-card-quote {
    font-size: 0.95rem;
  }

  .client-badge {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

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

  .roi-value {
    font-size: 1.75rem;
  }

  .pricing-badge {
    margin: -1.5rem -1.5rem 0.75rem -1.5rem;
  }

  .page-hero-sub {
    font-size: 0.95rem;
  }

  .project-metrics {
    flex-direction: column;
  }
}
