html, body {
  height: 100%;
}

body {
  box-sizing: border-box;
  font-family: 'Source Sans 3', sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #FAFAF7;
  overflow-x: hidden;
}

:root {
  /* New Color Palette */
  --turquoise: #29B3FF;
  --cyan: #81EAFF;
  --mimosa: #FBCO0E;
  --yellow: #FFD774;
  --charcoal: #1E1E1E;
  --charcoal-light: #2F2F2F;
  --off-white: #FAFAF7;
  --warm-gray: #8B8B83;
  --text-gray: #5A5A52;
  --white: #FFFFFF;
  --light-gray: #E5E5E5;
}

* { font-family: 'Source Sans 3', sans-serif; }

.font-display {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-light {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.btn-primary {
  background-color: var(--charcoal);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 0 2px 8px rgba(30, 30, 30, 0.12);
}

.btn-primary:hover {
  background-color: var(--charcoal-light);
  box-shadow: 0 8px 24px rgba(30, 30, 30, 0.2);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--turquoise);
  transition: width 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.nav-link:hover {
  color: var(--turquoise);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  width: 100vw !important;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-logo {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.mobile-menu.open .mobile-menu-logo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.mobile-menu a {
  font-size: 2rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open a:nth-child(2) {
  transition-delay: 0.25s;
}

.mobile-menu.open a:nth-child(3) {
  transition-delay: 0.35s;
}

.mobile-menu.open a:nth-child(4) {
  transition-delay: 0.45s;
}

.mobile-menu.open a:nth-child(5) {
  transition-delay: 0.55s;
}

.mobile-menu.open a:nth-child(6) {
  transition-delay: 0.65s;
}

.mobile-menu button {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.mobile-menu.open button {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}

.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.card {
  background: var(--white);
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(30, 30, 30, 0.08);
}

.card:hover {
  box-shadow: 0 12px 24px rgba(30, 30, 30, 0.12);
  transform: translateY(-4px);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.accordion-content.open {
  max-height: 200px;
  padding-top: 16px;
}

.accordion-icon {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.progress-bar {
  transition: width 1.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(30, 30, 30, 0.12);
  border-radius: 9999px;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-content {
  animation: scroll-left 20s linear infinite;
  will-change: transform;
}

.carousel:hover .carousel-content {
  animation-play-state: paused;
}

/* Solutions accordion styles */
.solution-item .solution-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
}

.solution-item.active .solution-content {
  max-height: 1000px;
  opacity: 1;
  padding-top: 0 !important;
  padding-bottom: 1rem !important;
  transition: max-height 0.3s ease-in, opacity 0.3s ease-in, padding 0.3s ease-in;
}

.solution-item .toggle-icon {
  transition: transform 0.3s ease;
}

.solution-item.active .toggle-icon {
  transform: rotate(45deg);
}

.solution-header:hover {
  color: var(--turquoise) !important;
}

/* Navbar scroll styles */
nav {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
  background: white !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav:not(.scrolled) {
  background: var(--yellow) !important;
  border-bottom: none !important;
  box-shadow: none;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

.fade-in-up-delay-1 { animation-delay: 0.1s; }
.fade-in-up-delay-2 { animation-delay: 0.2s; }
.fade-in-up-delay-3 { animation-delay: 0.3s; }
.fade-in-up-delay-4 { animation-delay: 0.4s; }

.image-placeholder {
  background: linear-gradient(135deg, rgba(41, 179, 255, 0.15) 0%, rgba(129, 234, 255, 0.15) 100%);
  border: 2px dashed var(--turquoise);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--turquoise);
  aspect-ratio: 1;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--turquoise), transparent);
}

.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  padding: 12px 16px 20px;
  z-index: 40;
  display: none;
  box-shadow: 0 -4px 12px rgba(30, 30, 30, 0.08);
}

.sticky-bottom-bar.show {
  display: block;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 88px;
  }
}

.stat-box {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-top: 8px;
  font-weight: 500;
}

.hero-gradient {
  background: var(--yellow);
  position: relative;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('pictures/citybackdrop.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.hero-gradient > * {
  position: relative;
  z-index: 1;
}

.section-lavender {
  background-color: rgba(129, 234, 255, 0.1);
}

.section-sage {
  background-color: rgba(255, 215, 116, 0.1);
}

.divider-gold {
  border-color: var(--turquoise);
}

.bg-gradient-turquoise-cyan {
  background: linear-gradient(135deg, var(--turquoise) 0%, var(--cyan) 100%);
}

.bg-gradient-mimosa-yellow {
  background: linear-gradient(135deg, var(--mimosa) 0%, var(--yellow) 100%);
}

@media (max-width: 768px) {
  .font-display {
    font-size: 2rem;
  }
}

