/**
 * RealClean Brochure Site — Custom Styles
 * Extends Tailwind CSS. Matches dashboard visual language.
 */


/* ===== Fade-in on scroll ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== Staggered Entrance Animations ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-500 {
  animation-delay: 0.5s;
}


/* ===== Industry cards ===== */
.industry-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.industry-card:hover {
  box-shadow: 0 20px 40px -5px rgba(0, 155, 222, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
  border-color: rgba(0, 155, 222, 0.3);
}

.industry-card-bar {
  height: 3px;
  background: linear-gradient(90deg, #009bde, #093f89);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover .industry-card-bar {
  transform: scaleX(1);
}


/* ===== Form inputs ===== */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #009bde;
  box-shadow: 0 0 0 4px rgba(0, 155, 222, 0.1);
}


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


/* ===== Pull quote ===== */
blockquote {
  position: relative;
}

blockquote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 4rem;
  color: rgba(0, 155, 222, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}


/* ===== Selection colour ===== */
::selection {
  background: rgba(0, 155, 222, 0.2);
  color: #093f89;
}


/* ===== Premium Buttons ===== */
.btn-primary {
  background: linear-gradient(135deg, #009bde 0%, #0088c2 100%);
  box-shadow: 0 4px 6px -1px rgba(0, 155, 222, 0.2), 0 2px 4px -1px rgba(0, 155, 222, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 155, 222, 0.3), 0 4px 6px -2px rgba(0, 155, 222, 0.1);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after {
  opacity: 1;
}
