* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #000;
  background: #fff;
}

html {
  scroll-behavior: smooth;
}

/* Removed old fade-in animations, added new editorial styles */

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
}

/* Selection */
::selection {
  background-color: #ff4500;
  color: #000;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #fff;
}

::-webkit-scrollbar-thumb {
  background: #ff4500;
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: #000;
}

/* Mobile Menu */
#mobileMenu a {
  transition: all 0.3s ease;
}

#mobileMenu a:hover {
  padding-left: 0.5rem;
}

/* Cookie Consent */
#cookieConsent {
  transition: transform 0.5s ease-in-out;
}

/* Form Elements */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: none;
}

button:focus {
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

/* Flip Card Styles */
.flip-card {
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Service Avatar Animations */
.service-avatar {
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Team Card Hover Effects */
.team-card img {
  transition: transform 0.4s ease;
}

/* Case Card Effects */
.case-card {
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-8px);
}

.case-card img {
  transition: transform 0.5s ease;
}

/* Responsive Typography */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Mobile adjustments for flip cards */
  .flip-card {
    height: auto;
    min-height: 24rem;
  }
}

/* Additional editorial styles */
.text-balance {
  text-wrap: balance;
}

/* Bold border utilities */
.border-thick {
  border-width: 4px;
}

/* Animation delays for staggered effects */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}
