/* Ghost Theme */

:root {
  --background: 0 0% 100%;
  --foreground: 220 13% 13%;
  --card: 0 0% 98%;
  --card-foreground: 220 13% 13%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 13% 13%;
  --primary: 237 100% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 14% 96%;
  --secondary-foreground: 220 13% 13%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 9% 46%;
  --accent: 237 100% 50%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 237 100% 50%;
  --radius: 0.75rem;
  --hero-bg: 0 0% 100%;
  --section-bg: 220 14% 98%;
  --navy: 237 66% 8%;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  background-attachment: fixed;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-image:
    radial-gradient(at 0% 0%, hsl(220, 20%, 98%) 0px, transparent 50%),
    radial-gradient(at 100% 0%, hsl(237, 20%, 98%) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsl(220, 15%, 96%) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsl(237, 15%, 96%) 0px, transparent 50%);
}

/* Utility Classes */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

@media (min-width: 768px) {
  .section-container {
    padding: 6rem 1.5rem;
  }
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 20px hsl(var(--primary) / 0.2);
}

/* Ghost Theme Specific Styles */
.ghost-glow {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 20px hsl(var(--primary) / 0.3);
  filter: drop-shadow(0 0 8px hsl(var(--primary) / 0.4));
}

.ghost-glow-text {
  filter: drop-shadow(0 0 8px hsl(var(--primary) / 0.5));
}

.ghost-glow-text-lg {
  filter: drop-shadow(0 0 12px hsl(var(--primary) / 0.6));
}

.ghost-glow-text-sm {
  filter: drop-shadow(0 0 4px hsl(var(--primary) / 0.5));
}

.ghost-border {
  border: 1px solid hsl(var(--border) / 0.5);
  backdrop-filter: blur(8px);
}

.ghost-card {
  background: hsl(var(--card));
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
}

.ghost-section {
  background: hsl(var(--section-bg));
  backdrop-filter: blur(8px);
}

.ghost-section-alt {
  background: hsl(var(--background) / 0.5);
  backdrop-filter: blur(8px);
}

/* Header */
.ghost-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 0 10px hsl(var(--primary) / 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

@media (max-width: 767px) {
  .header-container {
    padding: 0.875rem 1rem;
    gap: 1rem;
  }

  .ghost-header {
    background: hsl(var(--background) / 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .header-brand {
    flex: 0 0 auto;
  }
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  height: 100%;
}

.brand-logo-link:hover {
  filter: drop-shadow(0 0 8px hsl(var(--primary) / 0.5));
}

.brand-logo-image {
  height: 2.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Responsive logo sizing for different screen sizes */
@media (max-width: 480px) {
  .brand-logo-image {
    height: 2rem;
    max-width: 120px;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .brand-logo-image {
    height: 2.25rem;
    max-width: 140px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .brand-logo-image {
    height: 3rem;
    max-width: 200px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .brand-logo-image {
    height: 3.75rem;
    max-width: 300px;
  }
}

@media (min-width: 1280px) {
  .brand-logo-image {
    height: 4rem;
    max-width: 400px;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.header-nav+.header-actions {
  margin-left: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}


.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: hsl(var(--primary));
  filter: drop-shadow(0 0 4px hsl(var(--primary) / 0.5));
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: hsl(var(--primary));
  border: 2px solid hsl(var(--primary));
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  padding: 0.75rem;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 10px hsl(var(--primary) / 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: hsl(var(--primary) / 0.9);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 15px hsl(var(--primary) / 0.4);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.menu-icon {
  width: 28px;
  height: 3px;
  background: hsl(var(--primary-foreground));
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

/* Hamburger animation when menu is active */
.mobile-menu-toggle.active .menu-icon:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .menu-icon:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .menu-icon:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  display: none;
  background: hsl(var(--background) / 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid hsl(var(--border) / 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.25rem;
}

.mobile-nav .nav-link {
  text-align: left;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 4px);
  background: hsl(var(--background) / 0.5);
  transition: all 0.3s ease;
  font-weight: 500;
}

.mobile-nav .nav-link:hover {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  transform: translateX(4px);
}

/* Hero Section */
.hero-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-highlight {
  color: hsl(var(--primary));
}

.hero-description {
  font-size: 1.125rem;
  color: hsl(var(--foreground) / 0.8);
}

.hero-subtext {
  font-size: 1rem;
  color: hsl(var(--foreground) / 0.7);
}

.hero-image-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.hero-image-container {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 20px hsl(var(--primary) / 0.2);
  border: 1px solid hsl(var(--border) / 0.3);
  backdrop-filter: blur(8px);
  width: 100%;
  display: flex;
  align-items: stretch;
  min-height: 400px;
}

@media (min-width: 768px) {
  .hero-image-container {
    min-height: 500px;
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
  padding: 0.625rem 1.5rem;
}

.btn-cta {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 20px hsl(var(--primary) / 0.4);
  border: 1px solid hsl(var(--primary) / 0.2);
  backdrop-filter: blur(8px);
}

.btn-cta:hover {
  background: hsl(var(--primary) / 0.9);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 0 30px hsl(var(--primary) / 0.4);
  transform: translateY(-2px);
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.btn-cta:hover .btn-icon {
  transform: translateX(4px);
}

/* Section Styles */
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
  position: relative;
  padding-bottom: 1rem;
}

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

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }

  .section-title::after {
    width: 150px;
  }
}

.section-description {
  text-align: center;
  color: hsl(var(--foreground) / 0.7);
  max-width: 48rem;
  margin: 0 auto 4rem;
}

/* About Section */
.about-section {
  padding: 3.75rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .about-section {
    padding: 4rem 2rem;
  }
}

@media (min-width: 1024px) {
  .about-section {
    padding: 4rem 3rem;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 2.5rem 1rem;
  }
}

.about-section .section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: hsl(var(--foreground));
  position: relative;
  padding-bottom: 1rem;
}

.about-section .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: hsl(var(--primary));
  border-radius: 2px;
}

@media (min-width: 768px) {
  .about-section .section-title {
    font-size: 2.25rem;
  }

  .about-section .section-title::after {
    width: 150px;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    gap: 4rem;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .about-grid {
    gap: 1.5rem;
    align-items: start;
  }
}

.about-image-wrapper {
  width: 100%;
  max-width: 530px;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

@media (max-width: 1024px) {
  .about-image-wrapper {
    max-width: 100%;
  }
}

.about-image {
  width: 100%;
  max-width: 530px;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media (max-width: 1024px) {
  .about-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-image {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .about-image {
    max-width: 100%;
  }
}

.about-content {
  text-align: left;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.about-text {
  font-size: 1.125rem;
  color: hsl(var(--foreground) / 0.8);
  margin-bottom: 0;
  line-height: 1.8;
}

.about-text+.about-text {
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .about-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-text {
    font-size: 0.9375rem;
  }
}

.btn-contact {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.875rem 2rem;
  background-color: #3b4cca;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  font-style: normal;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  align-self: center;
}

.btn-contact:hover {
  background-color: #2d3aa0;
  transform: translateY(-2px);
}

.about-subheading {
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: lowercase;
  color: hsl(var(--foreground) / 0.7);
  margin: 0;
  letter-spacing: 0.1em;
}

.about-heading-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.about-heading {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  color: #000000;
  display: flex;
  align-items: baseline;
}

.about-heading-h {
  display: inline-block;
}

.about-heading-ello {
  display: inline-block;
  position: relative;
}

.about-heading-ello::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: hsl(var(--primary));
  z-index: -1;
  opacity: 0.9;
}

.about-wavy-lines {
  width: 80px;
  height: 40px;
  color: #d1d5db;
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}


/* Services Section */
.services-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.service-card {
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: hsl(var(--primary));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 0 20px hsl(var(--primary) / 0.2);
  transform: translateY(-4px);
}

/* Gradient overlay */
.service-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover .service-card-gradient {
  opacity: 1;
}

/* Card content wrapper */
.service-card-content {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 2;
}

@media (min-width: 768px) {
  .service-card-content {
    padding: 2rem;
  }
}

/* Icon container with background */
.service-icon-container {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-container {
  background: hsl(var(--primary) / 0.15);
  transform: scale(1.1);
}

.service-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--primary));
  stroke-width: 2;
  transition: all 0.3s ease;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .service-title {
    font-size: 1.5rem;
  }
}

.service-card:hover .service-title {
  color: hsl(var(--primary));
}

.service-description {
  color: hsl(var(--foreground) / 0.7);
  line-height: 1.75;
  font-size: 1rem;
}

/* Responsive service icons */
@media (max-width: 767px) {
  .service-icon-container {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
  }

  .service-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

@media (max-width: 480px) {
  .service-icon-container {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
  }

  .service-icon {
    width: 1.375rem;
    height: 1.375rem;
  }

  .service-card-content {
    padding: 1.5rem;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.testimonials-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F9FAFB;
  filter: blur(2px);
  z-index: 1;
}

.testimonials-overlay {
  position: relative;
  z-index: 2;
  background: #F9FAFB;
  backdrop-filter: blur(10px);
  padding: 4rem 1.5rem;
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials-container .section-title {
  margin-bottom: 3rem;
  position: relative;
  z-index: 3;
}

.testimonials-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .testimonials-content {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 4rem;
  }
}

/* Left Info Panel */
.testimonials-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: hsl(var(--foreground));
}

.testimonials-quote-icon-large {
  width: 80px;
  height: 80px;
  background: hsl(var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  flex-shrink: 0;
  box-shadow: 0 0 20px hsl(var(--primary) / 0.4);
}

.testimonials-quote-icon-large svg {
  width: 40px;
  height: 40px;
}

.testimonials-info-heading {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
  margin: 0;
}

@media (min-width: 768px) {
  .testimonials-info-heading {
    font-size: 2.5rem;
  }
}

.testimonials-info-text {
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(var(--foreground) / 0.9);
  margin: 0;
}

@media (min-width: 768px) {
  .testimonials-info-text {
    font-size: 1.125rem;
  }
}

.testimonials-connect-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.testimonials-connect-link:hover {
  color: hsl(var(--primary));
  transform: translateX(4px);
}

.testimonials-connect-icon {
  width: 32px;
  height: 32px;
  background: hsl(var(--destructive));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--destructive-foreground));
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.testimonials-connect-link:hover .testimonials-connect-icon {
  background: hsl(var(--destructive) / 0.9);
  transform: scale(1.1);
}

.testimonials-connect-icon svg {
  width: 18px;
  height: 18px;
}

/* Right Cards Panel */
.testimonials-cards-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  width: 100%;
}

@media (min-width: 768px) {
  .testimonials-slider {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .testimonials-slider {
    gap: 1.5rem;
  }
}

.testimonial-slide {
  min-width: 100%;
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .testimonial-slide {
    min-width: calc(50% - 1rem);
    width: calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    min-width: calc(33.333% - 1.33rem);
    width: calc(33.333% - 1.33rem);
  }
}

.testimonial-card-new {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card-new:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05), 0 0 20px hsl(var(--primary) / 0.2);
  transform: translateY(-2px);
  border-color: hsl(var(--primary) / 0.3);
}

.testimonial-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (min-width: 768px) {
  .testimonial-image-wrapper {
    height: 220px;
  }
}

@media (min-width: 1024px) {
  .testimonial-image-wrapper {
    height: 250px;
  }
}

.testimonial-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.testimonial-card-new:hover .testimonial-image-placeholder {
  transform: scale(1.05);
}

/* Image fallback colors if images fail to load */
.testimonial-image-1 {
  background: hsl(var(--primary));
}

.testimonial-image-2 {
  background: #f97316;
}

.testimonial-image-3 {
  background: #a855f7;
}

.testimonial-image-4 {
  background: hsl(var(--primary));
}

.testimonial-image-5 {
  background: #f97316;
}

.testimonial-image-6 {
  background: #a855f7;
}

.testimonial-image-7 {
  background: hsl(var(--primary));
}

.testimonial-image-8 {
  background: #f97316;
}

.testimonial-image-9 {
  background: #a855f7;
}

.testimonial-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.testimonial-quote-icon {
  width: 32px;
  height: 32px;
  background: hsl(var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  flex-shrink: 0;
}

.testimonial-quote-icon svg {
  width: 18px;
  height: 18px;
}

.testimonial-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--card-foreground) / 0.8);
  margin: 0;
  flex-grow: 1;
}

.testimonial-author-info {
  margin-top: auto;
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--card-foreground));
  margin-bottom: 0.25rem;
}

.testimonial-company {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Navigation Controls */
.testimonials-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonials-nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonials-nav-buttons .slider-btn {
  width: 40px;
  height: 40px;
  background: hsl(var(--primary));
  border: none;
  border-radius: 50%;
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 0 10px hsl(var(--primary) / 0.3);
}

.testimonials-nav-buttons .slider-btn:hover:not(:disabled) {
  background: hsl(var(--primary) / 0.9);
  transform: scale(1.1);
  box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.15), 0 0 15px hsl(var(--primary) / 0.4);
}

.testimonials-nav-buttons .slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.testimonials-nav-buttons .slider-btn svg {
  width: 20px;
  height: 20px;
}



.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.slider-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--foreground) / 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot:hover {
  background: hsl(var(--foreground) / 0.6);
  transform: scale(1.2);
}

.slider-dot.active {
  background: hsl(var(--foreground));
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  box-shadow: 0 0 8px hsl(var(--primary) / 0.5);
}

/* Mobile responsive styles for testimonials */
@media (max-width: 767px) {
  .testimonials-overlay {
    padding: 3rem 1rem;
  }

  .testimonials-info-heading {
    font-size: 1.75rem;
  }

  .testimonials-quote-icon-large {
    width: 60px;
    height: 60px;
  }

  .testimonials-quote-icon-large svg {
    width: 30px;
    height: 30px;
  }

  .testimonial-image-wrapper {
    height: 180px;
  }

  .testimonials-nav-buttons .slider-btn {
    width: 36px;
    height: 36px;
  }

  .testimonials-nav-buttons .slider-btn svg {
    width: 18px;
    height: 18px;
  }

  .testimonial-content {
    padding: 1.25rem;
  }

  .testimonial-text {
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .testimonial-image-wrapper {
    height: 160px;
  }

  .testimonials-overlay {
    padding: 2rem 1rem;
  }

  .testimonials-container .section-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
  }
}

/* Insights Section */
.insights-section {
  padding: 5rem 0;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.insight-card {
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.insight-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.insight-image-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

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

.insight-link:hover .insight-image {
  transform: scale(1.05);
}

.insight-content {
  padding: 1.5rem;
  background: #ffffff;
}

.insight-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #dc2626;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.insight-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: #000000;
}

.insight-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-read-more {
  color: #2563eb;
  font-size: 0.875rem;
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.insight-read-more:hover {
  color: #1d4ed8;
}

.insight-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #9ca3af;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  flex-wrap: wrap;
}

.insight-author,
.insight-date,
.insight-reading-time {
  color: #9ca3af;
}

.insight-separator {
  color: #d1d5db;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
}

.contact-form-wrapper {
  max-width: 42rem;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: calc(var(--radius) + 4px);
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.9);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--background) / 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border) / 0.5);
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.5);
}

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

/* Footer */
.ghost-footer {
  background: hsl(var(--navy));
  color: hsl(var(--foreground));
  padding: 4rem 0 0 0;
  backdrop-filter: blur(12px);
  border-top: 1px solid hsl(var(--border) / 0.5);
  color: #FFFFFF;
}

.ghost-footer p,
.ghost-footer span,
.ghost-footer div {
  color: #FFFFFF;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  background: hsl(var(--navy));
  border: 2px solid #FFFFFF;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

@media (max-width: 767px) {
  .footer-nav {
    justify-content: flex-start;
  }
}

.footer-link {
  font-size: 0.9375rem;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-link:hover {
  color: hsl(var(--primary));
  filter: drop-shadow(0 0 4px hsl(var(--primary) / 0.5));
}

.social-links {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .social-links {
    justify-content: flex-start;
  }
}

.social-link {
  color: #FFFFFF;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.1);
}

.social-link:hover {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.2);
  filter: drop-shadow(0 0 8px hsl(var(--primary) / 0.5));
  transform: translateY(-2px);
}

.social-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  margin-top: 0;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.2);
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.6);
  margin-bottom: 0;
}

.footer-bottom p {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand,
.brand-name {
  color: #FFFFFF;
}

/* Post Template */
.post-template {
  max-width: 80rem;
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
}

.post-header {
  margin-bottom: 3rem;
}

.post-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.post-meta {
  display: flex;
  gap: 1rem;
  color: hsl(var(--foreground) / 0.7);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.post-feature-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.75;
  color: hsl(var(--foreground) / 0.9);
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-tag {
  padding: 0.25rem 0.75rem;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-tag:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Recent Posts Section */
.recent-posts-section {
  padding: 5rem 0;
  background: #F9FAFB;
  width: 100%;
}

.recent-posts-section .section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.recent-posts-section .section-title {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: hsl(var(--foreground));
  position: relative;
}

.recent-posts-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: hsl(var(--primary));
  border-radius: 2px;
}

.recent-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .recent-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .recent-posts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.recent-post-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.recent-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 0 20px hsl(var(--primary) / 0.2);
  border-color: hsl(var(--primary) / 0.3);
}

.recent-post-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.recent-post-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: hsl(var(--primary) / 0.1);
}

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

.recent-post-card:hover .recent-post-image {
  transform: scale(1.05);
}

.recent-post-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recent-post-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: hsl(var(--primary));
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.recent-post-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  transition: color 0.3s ease;
}

.recent-post-card:hover .recent-post-title {
  color: hsl(var(--primary));
}

.recent-post-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--foreground) / 0.7);
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.recent-post-date {
  font-size: 0.75rem;
  color: hsl(var(--foreground) / 0.6);
}

/* Page Template */
.page-template {
  max-width: 48rem;
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
}

.page-header {
  margin-bottom: 3rem;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: hsl(var(--foreground));
}

.page-feature-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.page-content {
  font-size: 1.125rem;
  line-height: 1.75;
  color: hsl(var(--foreground) / 0.9);
}

.page-content p {
  margin-bottom: 1.5rem;
}

/* Ghost Card Styles - Required - Must be visible and styled */
.kg-width-wide {
  grid-column: wide-start / wide-end;
}

.kg-width-full {
  grid-column: full-start / full-end;
}

.kg-width-full img {
  width: 100%;
  height: auto;
  display: block;
}

/* Ensure these classes are visible in post and page content */
.post-content .kg-width-wide,
.page-content .kg-width-wide {
  grid-column: wide-start / wide-end;
  width: 85vw;
  max-width: 85vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  transform: translateX(calc(50vw - 50%));
}

.post-content .kg-width-full,
.page-content .kg-width-full {
  grid-column: full-start / full-end;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  transform: translateX(calc(50vw - 50%));
}

/* Ghost Card Base Styles */
.kg-card {
  margin: 2rem 0;
}

.kg-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.kg-embed-card {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.kg-embed-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Ghost Gallery Styles */
.kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}

.kg-gallery-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Ghost Bookmark Card */
.kg-bookmark-card {
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  background: hsl(var(--card));
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  margin: 2rem 0;
}

.kg-bookmark-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kg-bookmark-content {
  flex: 1;
}

.kg-bookmark-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.kg-bookmark-description {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.7);
  margin-bottom: 0.5rem;
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.6);
}

.kg-bookmark-icon {
  width: 1rem;
  height: 1rem;
}

.kg-bookmark-thumbnail {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
}

/* Ghost Toggle Card */
.kg-toggle-card {
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  background: hsl(var(--card));
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  margin: 2rem 0;
}

.kg-toggle-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kg-toggle-content {
  color: hsl(var(--foreground) / 0.8);
  line-height: 1.75;
}

/* Ghost Callout Card */
.kg-callout-card {
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  background: hsl(var(--card));
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid hsl(var(--primary));
}

.kg-callout-emoji {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

.kg-callout-text {
  color: hsl(var(--foreground) / 0.9);
  line-height: 1.75;
}

/* Ghost Product Card */
.kg-product-card {
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  background: hsl(var(--card));
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  margin: 2rem 0;
}

/* Ghost Button Card */
.kg-button-card {
  margin: 2rem 0;
  text-align: center;
}

.kg-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: calc(var(--radius) - 2px);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid hsl(var(--primary) / 0.2);
  backdrop-filter: blur(8px);
}

.kg-btn:hover {
  background: hsl(var(--primary) / 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 20px hsl(var(--primary) / 0.3);
}

/* Ghost Header Card */
.kg-header-card {
  text-align: center;
  padding: 4rem 2rem;
  margin: 2rem 0;
}

.kg-header-card h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

/* Ghost Code Block */
.kg-code-block {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}

.kg-code-block code {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  line-height: 1.75;
}

/* Ghost Blockquote */
blockquote {
  border-left: 4px solid hsl(var(--primary));
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: hsl(var(--foreground) / 0.8);
}

/* Ghost Video Card */
.kg-video-card {
  margin: 2rem 0;
}

.kg-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.kg-video-container video,
.kg-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Blog Listing Page Styles */
.blog-section {
  padding: 5rem 0;
  background: hsl(var(--background));
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .blog-page-title {
    font-size: 3rem;
  }
}

.blog-page-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--foreground) / 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-card-image-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: hsl(var(--primary) / 0.1);
}

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

.blog-card-link:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary) / 0.5);
}

.blog-card-content {
  padding: 1.5rem;
  background: #ffffff;
}

.blog-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #dc2626;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: #000000;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-read-more {
  color: #2563eb;
  font-size: 0.875rem;
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.blog-card-read-more:hover {
  color: #1d4ed8;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #9ca3af;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  flex-wrap: wrap;
}

.blog-card-author,
.blog-card-date,
.blog-card-reading-time {
  color: #9ca3af;
}

.blog-card-separator {
  color: #d1d5db;
}

.blog-no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: hsl(var(--foreground) / 0.6);
  font-size: 1.125rem;
}

/* Responsive adjustments for blog page */
@media (max-width: 480px) {
  .blog-section {
    padding: 3rem 0;
  }

  .blog-header {
    margin-bottom: 2rem;
  }

  .blog-page-title {
    font-size: 2rem;
  }

  .blog-page-subtitle {
    font-size: 1rem;
  }

  .blog-card-content {
    padding: 1.25rem;
  }
}