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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #FFE2C3;
  color: oklch(14.7% 0.004 49.25);
  overflow-x: hidden;
}

/* Scroll animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Navbar backdrop blur */
.navbar-blur {
  backdrop-filter: blur(10px);
  background-color: #FFE2C3;
  border-color: rgba(40, 95, 244, 0.1);
}

/* Navigation menu hover effect - desktop only */
@media (min-width: 768px) {
  nav .nav-menu a[href^="#"] {
    position: relative;
    display: inline-block;
  }

  nav .nav-menu a[href^="#"]::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #285FF4;
    transition: width 0.3s ease;
  }

  nav .nav-menu a[href^="#"]:hover::after {
    width: 100%;
  }
}

/* Button styles */
.btn-primary {
  background-color: #285FF4;
  color: #FFE2C3;
  transition: all 0.3s ease;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #4d7ff6;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: oklch(14.7% 0.004 49.25);
  border: 1px solid rgba(40, 95, 244, 0.3);
  transition: all 0.3s ease;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  display: inline-block;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: #285FF4;
  background-color: rgba(40, 95, 244, 0.05);
}

/* Service card styles */
.service-card {
  background: #FFE2C3;
  border: 1px solid rgba(40, 95, 244, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  background-color: oklch(95.4% 0.038 75.164);
  border-color: rgba(40, 95, 244, 0.3);
  box-shadow: 0 4px 12px rgba(40, 95, 244, 0.1);
  transform: translateY(-4px);
}

.outcome-box {
  background: rgba(40, 95, 244, 0.05);
  border-left: 3px solid #285FF4;
  padding: 1.25rem;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
}

/* Team card styles */
.team-card {
  background: #FFE2C3;
  border: 1px solid rgba(40, 95, 244, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: rgba(40, 95, 244, 0.3);
  box-shadow: 0 4px 12px rgba(40, 95, 244, 0.1);
}

/* Team avatar */
.team-card .team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50% !important;
  object-fit: cover;
  margin-bottom: 1rem;
  display: block;
}

/* Form styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(40, 95, 244, 0.2);
  border-radius: 0.5rem;
  background: #FFE2C3;
  color: oklch(14.7% 0.004 49.25);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #285FF4;
  box-shadow: 0 0 0 3px rgba(40, 95, 244, 0.1);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: oklch(14.7% 0.004 49.25);
}

/* LinkedIn button */
.btn-linkedin {
  background-color: #285FF4;
  color: #FFE2C3;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-linkedin:hover {
  background-color: #4d7ff6;
  transform: translateY(-2px);
}

/* Color variables for text */
.text-primary {
  color: oklch(14.7% 0.004 49.25);
}

.text-secondary {
  color: oklch(14.7% 0.004 49.25 / 0.7);
}

.text-tertiary {
  color: oklch(14.7% 0.004 49.25 / 0.5);
}

.border-color {
  border-color: rgba(40, 95, 244, 0.1);
}

/* Heading styles - Instrument Serif */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Instrument Serif', serif;
  color: #285FF4 !important;
  font-weight: bold !important;
}

/* Section backgrounds */
#principles {
  background-color: oklch(95.4% 0.038 75.164);
}
#about {
  background-color: oklch(95.4% 0.038 75.164);
}
#contact {
  background-color: oklch(95.4% 0.038 75.164);
}

/* Testimonial quote styling */
.testimonial-quote {
  font-family: 'Instrument Serif', serif;
  position: relative;
  padding: 0 2rem;
}

.testimonial-quote::before {
  content: '"';
  font-family: 'Instrument Serif', serif;
  font-size: 4rem;
  line-height: 1;
  color: #285FF4;
  position: absolute;
  left: -0.5rem;
  top: -0.5rem;
  opacity: 0.3;
}

.testimonial-quote::after {
  content: '"';
  font-family: 'Instrument Serif', serif;
  font-size: 4rem;
  line-height: 1;
  color: #285FF4;
  position: absolute;
  right: -0.5rem;
  bottom: -2rem;
  opacity: 0.3;
}

/* Philosophy elements grid */
.philosophy-element {
  background: #FFE2C3;
  padding: 1.5rem;
  border: 1px solid rgba(40, 95, 244, 0.1);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.philosophy-element:hover {
  border-color: rgba(40, 95, 244, 0.3);
  background: rgba(40, 95, 244, 0.02);
}

/* Hide on mobile and tablet */
@media (max-width: 1024px) {
  .hide-tablet {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}
