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

/* Icon Styles */
i[data-lucide] {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge-icon {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) saturate(100%) invert(20%) sepia(81%) saturate(1081%) hue-rotate(198deg) brightness(90%) contrast(97%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #fafafa;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
}

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

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

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

.logo {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #1a365d;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: #1a1a1a;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #1a1a1a;
  transition: 0.3s;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-open {
  display: block !important;
}

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

.mobile-cta {
  margin-top: 1rem;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  gap: 0.5rem;
}

.btn-primary {
  background: #1a365d;
  color: white;
}

.btn-primary:hover {
  background: #2a4a6b;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.btn-cta {
  background: white;
  color: #1a365d;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
}

.btn-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  font-size: 1.2em;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a365d 0%, #2a4a6b 50%, #3182ce 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 54, 93, 0.2), transparent);
}

.geometric-patterns {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.pattern {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pattern-1 {
  top: 5rem;
  left: 5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 0.5rem;
  transform: rotate(45deg);
  animation: pulse 3s infinite;
}

.pattern-2 {
  top: 10rem;
  right: 8rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  animation: bounce 2s infinite;
}

.pattern-3 {
  bottom: 8rem;
  left: 8rem;
  width: 10rem;
  height: 10rem;
  border-radius: 0.5rem;
  transform: rotate(12deg);
  animation: pulse 4s infinite;
}

.pattern-4 {
  bottom: 5rem;
  right: 5rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.3; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 2rem;
}

.hero-inner {
  max-width: 4xl;
  margin: 0 auto;
  text-align: center;
}

.tagline {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  gap: 0.5rem;
}

.tagline-icon {
  font-size: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 3xl;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-bottom: 4rem;
}

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

.diff-item {
  text-align: center;
}

.diff-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.diff-icon-img {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);
}

.diff-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.diff-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: #fafafa;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(26, 54, 93, 0.1);
  color: #1a365d;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.badge-icon {
  font-size: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.highlight {
  color: #1a365d;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #666;
  max-width: 3xl;
  margin: 0 auto;
}

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

.service-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  padding: 2rem;
  transition: all 0.2s;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: rgba(26, 54, 93, 0.1);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  transition: background 0.2s;
}

.service-icon-img {
  width: 2rem;
  height: 2rem;
  filter: brightness(0) saturate(100%) invert(20%) sepia(81%) saturate(1081%) hue-rotate(198deg) brightness(90%) contrast(97%);
}

.service-card:hover .service-icon {
  background: rgba(26, 54, 93, 0.2);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.service-desc {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.service-features li {
  color: #666;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.service-features li::before {
  content: '•';
  color: #1a365d;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: white;
}

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

.about-description {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-image {
  text-align: center;
}

.founder-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.founder-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.founder-linkedin-icon {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.founder-linkedin-icon:hover {
  opacity: 0.7;
}

.founder-linkedin-icon img {
  width: 1em;
  height: 1em;
}

.founder-info p {
  color: #666;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: #f8f9fa;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-description {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: white;
  border: 2px solid #1a365d;
  border-radius: 0.5rem;
  color: #1a365d;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-btn:hover {
  background: #1a365d;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-btn i[data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-btn-linkedin {
  border-color: #0077B5;
  color: #0077B5;
}

.contact-btn-linkedin:hover {
  background: #0077B5;
  color: white;
}

.contact-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-btn-linkedin:hover .contact-icon {
  filter: brightness(0) invert(1);
}

.contact-item {
  color: #666;
}

.contact-item a {
  color: #1a365d;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-label {
  font-weight: 500;
  color: #1a1a1a;
}

.form-input,
.form-textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1a365d;
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

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

/* Footer */
.footer {
  padding: 2rem 0;
  background: #1a1a1a;
}

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

.footer-text p {
  color: #999;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

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

  .hero-inner {
    padding: 2rem 0;
  }

  /* Increase font sizes on mobile for better readability */
  .section-badge {
    font-size: 1rem;
    padding: 0.625rem 1.25rem;
  }

  .btn-cta {
    font-size: 1.125rem;
    padding: 1.125rem 2.25rem;
  }

  .diff-title {
    font-size: 1.375rem;
  }

  .diff-desc {
    font-size: 1rem;
    line-height: 1.6;
  }

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

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

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section-container {
    padding: 0 1rem;
  }

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

@media (max-width: 480px) {
  .hero-subtitle {
    white-space: normal;
  }

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

  .service-card {
    min-width: unset;
  }
}

/* Smooth transitions for interactivity */
* {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hero responsive scaling */
.hero {
  --hero-spacing: clamp(2rem, 5vw, 4rem);
}

.hero .tagline {
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  margin-bottom: var(--hero-spacing);
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: clamp(1.1, 1.2, 1.2);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hero .hero-subtitle {
  font-size: clamp(1.125rem, 3.5vw, 1.5rem);
  margin-bottom: var(--hero-spacing);
  white-space: nowrap;
}

/* Allow subhead wrapping only on very narrow screens */
@media (max-width: 360px) {
  .hero .hero-subtitle {
    white-space: normal;
  }
}

/* Prevent awkward wrapping on wider screens */
@media (min-width: 480px) {
  .hero .hero-subtitle {
    white-space: nowrap;
  }
}

/* Transformation Page Styles */
.transformation-page {
  padding-top: 5rem;
  min-height: 100vh;
}

.transformation-header {
  padding: 3rem 0 2rem 0;
}

.transformation-header h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
}

.transformation-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  max-width: 800px;
  margin: 0;
}

.transformation-capabilities {
  padding: 2rem 0;
}

.transformation-capabilities h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
}

.capabilities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.capabilities-list li {
  padding: 0.5rem 1rem;
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #555;
}

.transformation-cases {
  padding: 2rem 0 3rem 0;
}

.filters-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill:hover {
  background: #fafafa;
  border-color: #d4d4d4;
}

.pill.active {
  background: #1a365d;
  color: #fff;
  border-color: #1a365d;
}

.search-input {
  padding: 0.5rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  min-width: 200px;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: #1a365d;
}

.cases-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
  min-height: 400px;
}

.cases-grid article {
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  padding: 1.25rem;
  background: #fff;
  transition: all 0.3s ease;
}

.cases-grid article:hover {
  border-color: #b8b8b8;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cases-grid article h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1a365d;
}

.cases-grid article > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0.875rem;
}

.cases-grid article > div:first-child > div:first-child {
  flex: 1;
  min-width: 200px;
}

.cases-grid article > div:first-child p {
  color: #777;
  font-size: 0.8125rem;
  margin: 0;
}

.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.tag {
  font-size: 0.6875rem;
  padding: 0.3125rem 0.75rem;
  background: #f3f3f3;
  border: 1px solid #ddd;
  border-radius: 9999px;
  color: #666;
  font-weight: 500;
  white-space: nowrap;
}

.cases-grid article > p {
  margin: 0 0 0.625rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #333;
}

.case-content {
  transition: opacity 0.15s ease-in-out;
}

.toggle-details-btn {
  margin-top: 0.75rem;
  background: #1a365d;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  min-width: 120px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.toggle-details-btn:hover {
  background: #2a4a6b;
  transform: translateY(-1px);
}

.toggle-details-btn:focus-visible {
  outline: 3px solid #94b0d9;
  outline-offset: 2px;
}

/* Better touch targets on mobile */
@media (max-width: 768px) {
  .toggle-details-btn {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
    min-height: 48px;
  }
}


.transformation-footer {
  padding: 2rem 0 3rem 0;
  border-top: 1px solid #e5e5e5;
}

.transformation-footer p {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .transformation-header h1 {
    font-size: 1.5rem;
  }

  .transformation-subtitle {
    font-size: 0.9375rem;
  }

  .capabilities-list li {
    font-size: 0.75rem;
    padding: 0.4375rem 0.875rem;
  }

  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input {
    width: 100%;
  }

  .cases-grid {
    gap: 2rem;
  }
}