/* Brand Story page-specific styles extracted from inline blocks. */

.brand-story-main {
  padding: 110px 20px 80px;
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.12), transparent 60%),
    radial-gradient(circle at bottom, rgba(16, 185, 129, 0.12), transparent 60%);
}

.brand-header {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.brand-subtitle {
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0284c7;
}

.brand-title {
  margin-top: 10px;
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
}

.brand-highlight {
  background: linear-gradient(90deg, #3b82f6, #10b981, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
  background-size: 200%;
  animation: gradientMove 6s linear infinite;
}

.brand-desc {
  margin-top: 12px;
  font-size: 16px;
  color: #475569;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.brand-grid {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.story-card {
  position: relative;
  border-radius: 22px;
  padding: 30px;
  text-align: center;
  color: white;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  transition: 0.35s;
}

.story-card:hover {
  transform: translateY(-12px) scale(1.05);
}

.blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}
.green {
  background: linear-gradient(135deg, #10b981, #34d399);
}
.purple {
  background: linear-gradient(135deg, #6366f1, #a855f7);
}
.orange {
  background: linear-gradient(135deg, #fb923c, #f97316);
}
.rainbow {
  background: linear-gradient(120deg, #3b82f6, #10b981, #a855f7, #fb923c);
  background-size: 300%;
  animation: gradientMove 8s linear infinite;
}

.story-icon {
  font-size: 32px;
  margin-bottom: 10px;
  animation: floatIcon 3s ease-in-out infinite;
}

.story-card h3 {
  font-size: 20px;
  font-weight: 600;
}

.story-card p {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.95;
  line-height: 1.6;
}

.motion-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  top: -30px;
  right: -30px;
  animation: spin 12s linear infinite;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .brand-title {
    font-size: 30px;
  }

  .story-card {
    padding: 24px;
  }
}

/* Explore CTA pulse */
.explore-btn {
  animation: ctaPulse 4s infinite;
  display: inline-block;
}

@keyframes ctaPulse {
  0% {
    transform: scale(1) rotate(0deg);
  }
  10% {
    transform: scale(1.1) rotate(-2deg);
  }
  20% {
    transform: scale(1.2) rotate(2deg);
  }
  30% {
    transform: scale(1.4) rotate(-3deg);
  }
  40% {
    transform: scale(2) rotate(3deg);
  }
  50% {
    transform: scale(1.4) rotate(-2deg);
  }
  60% {
    transform: scale(1.2) rotate(2deg);
  }
  70% {
    transform: scale(1.1) rotate(-1deg);
  }
  80% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

/* Science section */
.scienceSection {
  padding: 110px 20px;
  background: linear-gradient(180deg, #ffffff, #f4faff);
  text-align: center;
}

.scienceTitle {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

.scienceTitle span {
  color: #2563eb;
}

.scienceIntro {
  max-width: 650px;
  margin: auto;
  color: #64748b;
  margin-bottom: 60px;
}

.scienceGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: auto;
}

.scienceCard {
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
}

.scienceCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.scienceAnimation {
  height: 140px;
  border-radius: 14px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.greaseAnim {
  background: #1e293b;
}

.greaseAnim::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #facc15;
  border-radius: 50%;
  top: 50%;
  left: -20px;
  animation: cleanMove 4s infinite linear;
}

.dirtAnim {
  background: #64748b;
}

.dirtAnim::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #38bdf8;
  border-radius: 50%;
  top: 60%;
  left: -20px;
  animation: cleanMove 5s infinite linear;
}

.germAnim {
  background: #7f1d1d;
}

.germAnim::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #22c55e;
  border-radius: 50%;
  top: 40%;
  left: -20px;
  animation: cleanMove 3.5s infinite linear;
}

@keyframes cleanMove {
  0% {
    left: -20px;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    left: 110%;
    opacity: 0;
  }
}

.scienceCard h4 {
  font-weight: 600;
  margin-bottom: 6px;
}

.scienceCard p {
  font-size: 14px;
  color: #64748b;
}

