@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700&family=Playfair+Display:ital@0;1&display=swap");

:root {
  --brand: #bb2d29;
  --brand-hover: #9a2422;
  --brand-light: #fef2f2;
  --dark: #0f172a;
  --gray: #4b5563;
  --light-gray: #f3f4f6;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.9);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl:
    0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --gradient-overlay: linear-gradient(
    135deg,
    rgba(187, 45, 41, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Outfit",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* DECORATIVE BACKGROUNDS */
.bg-detail-pattern {
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 20px 20px;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* UTILITIES */
.text-brand {
  color: var(--brand);
}
.bg-brand {
  background-color: var(--brand);
}
.font-light {
  font-weight: 300;
}
.tracking-widest {
  letter-spacing: 0.15em;
}
.uppercase {
  text-transform: uppercase;
}
.serif-italic {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--brand);
}

/* HERO */
.hero-section {
  position: relative;
  padding: 200px 0 140px;
  background:
    linear-gradient(
      to right,
      #fff 45%,
      rgba(255, 255, 255, 0.85) 60%,
      rgba(255, 255, 255, 0.4)
    ),
    url("https://riyoadvertising.com/images/images/mediabanner.webp");
  background-size: cover;
  background-position: center right;
  min-height: 90vh; /* Taller hero */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.programmatic-hero-bg {
  background:
    linear-gradient(
      to right,
      #fff 45%,
      rgba(255, 255, 255, 0.9) 60%,
      rgba(255, 255, 255, 0.4)
    ),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2015&q=80");
  background-size: cover;
  background-position: center right;
}

.digital-hero-bg {
  background:
    linear-gradient(
      to right,
      #fff 45%,
      rgba(255, 255, 255, 0.9) 60%,
      rgba(255, 255, 255, 0.4)
    ),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center right;
}

/* Animated decorative shape for hero */
.hero-shape {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(187, 45, 41, 0.08) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  animation: float 10s infinite ease-in-out;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, 30px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  position: relative;
  z-index: 1;
}

.hero-content h1 span::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 0.3em;
  background: rgba(187, 45, 41, 0.1);
  z-index: -1;
  transform: skewX(-10deg);
}

.hero-content p {
  font-size: 1.35rem;
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 650px;
  font-weight: 300;
}

.btn-primary {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  background: var(--brand);
  color: white;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--brand);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
  z-index: -1;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(187, 45, 41, 0.2);
}

.btn-outline {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* SERVICES GRID */
.services-section {
  padding: 120px 0;
  background: #fff;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.section-title h2 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand);
  margin: 1.5rem auto;
}

.section-title p {
  color: var(--gray);
  font-size: 1.25rem;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-card {
  background: #fff;
  padding: 0; /* Removed padding for flush images/compact design */
  border-radius: 1rem; /* Adjusted radius */
  border: 1px solid #eee;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Subtler gradient background relative to generic border */
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(187, 45, 41, 0.03),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* Default visible bar at top */
  background: #eee;
  transition: all 0.5s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  background: var(--brand);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(187, 45, 41, 0.05); /* Very light red bg */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--brand);
  transition: all 0.5s ease;
}

.service-card:hover .service-icon {
  background: var(--brand);
  color: white;
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 10px 20px rgba(187, 45, 41, 0.2);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.service-card p {
  color: var(--gray);
  font-weight: 300;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  flex-grow: 1;
}

.learn-more {
  margin-top: auto;
  color: var(--brand);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0;
  transition: gap 0.3s ease;
}

.service-card:hover .learn-more {
  gap: 0.8rem;
  color: var(--brand-hover);
}

/* CORE SERVICES (ZIG ZAG) */
.core-section {
  padding: 0;
  position: relative;
}

.core-row {
  display: flex;
  flex-wrap: wrap;
  min-height: 700px;
  position: relative;
}

.core-content {
  flex: 1;
  padding: 8rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 500px;
  background: #fff;
  position: relative;
  z-index: 1;
}

.core-visual {
  flex: 1;
  min-width: 500px;
  position: relative;
  overflow: hidden;
}

.core-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  filter: brightness(0.95);
}

.core-row:hover .core-visual img {
  transform: scale(1.08);
  filter: brightness(1);
}

.core-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-radius: 50px;
  align-self: flex-start;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.core-content h2 {
  font-size: 3.5rem;
  font-weight: 200; /* Thinner sophisticated look */
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--dark);
}

.core-content h2 strong {
  font-weight: 600;
}

.core-content .intro {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--gray);
  margin-bottom: 3rem;
  border-left: 3px solid var(--brand);
  padding-left: 20px;
}

.feature-list {
  list-style: none;
  margin-bottom: 3.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  font-size: 1.15rem;
  font-weight: 400;
  color: #333;
}

.feature-list svg {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 5px;
  background: var(--brand-light);
  border-radius: 50%;
  padding: 2px;
}

.bg-gray {
  background-color: #f9fafb;
}

.order-flip {
  flex-direction: row-reverse;
}

/* SPECIAL SERVICES (Re-styled as Featured) */
.special-section {
  padding: 140px 0;
  background: #0f172a; /* Dark theme */
  color: #fff;
  position: relative;
}

.special-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e293b' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.special-section .section-title h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.special-section .section-title p {
  color: #94a3b8;
}
.special-section .service-card {
  background: rgba(30, 41, 59, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.1);
}
.special-section .service-card h3 {
  color: #fff;
}
.special-section .service-card p {
  color: #cbd5e1;
}
.special-section .service-card:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--brand);
}

/* PROCESS STRIP */
.process-section {
  padding: 140px 0;
  background: #fff;
  position: relative;
}

/* PROCESS TIMELINE NEW */
.timeline {
  position: relative;
  max-width: 1300px;
  margin: 80px auto 0;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
}

/* Animated dash line */
.timeline::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 60px;
  right: 60px;
  height: 2px;
  background-image: linear-gradient(to right, #e5e7eb 50%, transparent 50%);
  background-size: 20px 100%;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  padding: 0 15px;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-num {
  width: 100px;
  height: 100px;
  background: white;
  border: 4px solid #fff;
  color: var(--gray);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.step:hover .step-num {
  background: var(--brand);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(187, 45, 41, 0.3);
}

/* Step connector dot */
.step-num::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--brand);
  opacity: 0;
  transition: opacity 0.3s;
}

.step:hover .step-num::after {
  opacity: 1;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
  font-weight: 600;
}

.step p {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 300;
  line-height: 1.6;
}

/* INDUSTRIES - TAG CLOUD */
.industries-section {
  padding: 140px 0;
  background: #f8fafc;
  position: relative;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.tag {
  padding: 0.85rem 2rem;
  background: white;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  color: var(--gray);
  font-size: 1.1rem;
  font-weight: 400;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: default;
}

.tag:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(187, 45, 41, 0.2);
}

/* ADVANTAGE TABLE */
.advantage-section {
  padding: 140px 0;
}

.compare-table {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: var(--shadow-xl);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.compare-table th,
.compare-table td {
  padding: 2rem 2.5rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.compare-table th {
  background: #1e293b;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.compare-table th.highlight {
  background: var(--brand);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: #fef2f2;
}

.strength-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 600;
  color: #334155;
  font-size: 1.1rem;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 6rem auto 0;
}

.stat-item {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #eee;
  transition: transform 0.4s;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-num {
  font-size: 4.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand) 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.stat-label {
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-section {
    padding-top: 140px;
    background-position: center;
  }
  .core-row,
  .core-row.order-flip {
    flex-direction: column;
  }
  .core-content h2 {
    font-size: 2.5rem;
  }
  .core-content,
  .core-visual {
    min-width: 100%;
    width: 100%;
    padding: 4rem 2rem;
  }
  .timeline {
    flex-direction: column;
    gap: 4rem;
  }
  .timeline::before {
    left: 48px;
    top: 0;
    bottom: 0;
    width: 2px;
    height: 100%;
    background-image: linear-gradient(to bottom, #e5e7eb 50%, transparent 50%);
    background-size: 100% 20px;
  }
  .step {
    display: flex;
    text-align: left;
    gap: 2rem;
    padding: 0;
  }
  .step-num {
    margin: 0;
    flex-shrink: 0;
  }
  .step-num::after {
    display: none;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
}

/* --- HOMEPAGE SPECIFIC --- */

/* CLIENT LOGOS SLIDER */
.logo-slider {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
  border-bottom: 1px solid #f3f4f6;
}

.logo-slider:before,
.logo-slider:after {
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  content: "";
  z-index: 2;
  pointer-events: none;
}

.logo-slider:before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}
.logo-slider:after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.logo-slide-track {
  display: inline-flex;
  gap: 4rem;
  animation: scroll 40s linear infinite;
  padding: 0 2rem;
  align-items: center;
}

.client-logo {
  height: 40px;
  opacity: 0.4;
  transition: all 0.3s;
  filter: grayscale(100%);
  object-fit: contain;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* HOME HERO OVERRIDE */
.home-hero {
  background:
    linear-gradient(
      to right,
      #fff 45%,
      rgba(255, 255, 255, 0.95) 60%,
      rgba(255, 255, 255, 0.4)
    ),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2301&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.feature-box {
  padding: 3rem;
  background: var(--white);
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-num {
  font-size: 3.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(187, 45, 41, 0.3);
  margin-bottom: 1rem;
  line-height: 1;
  font-family: "Outfit", sans-serif;
}

.feature-box:hover .feature-num {
  -webkit-text-stroke-color: var(--brand);
  opacity: 1;
}

.cta-banner {
  background: var(--dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 30px 30px;
}

/* TESTIMONIALS SLIDER */
.testimonial-section {
  background: linear-gradient(to bottom, #f9fafb, #fff);
  overflow: hidden;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid #f3f4f6;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray);
  margin-bottom: 2rem;
  flex-grow: 1;
  position: relative;
}

.testimonial-text::before {
  content: "“";
  font-family: serif;
  font-size: 4rem;
  color: var(--brand);
  opacity: 0.1;
  position: absolute;
  top: -2rem;
  left: -1rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
}

/* FAQ ACCORDION */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question:hover {
  color: var(--brand);
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  font-weight: 300;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: 1.5rem;
  color: var(--gray);
  font-weight: 300;
  line-height: 1.6;
  display: block; /* Default display for details content */
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* COLLABORATION LOGOS GRID */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 3rem;
  align-items: center;
  justify-items: center;
  opacity: 0.8;
}

.collab-logo {
  max-width: 120px;
  filter: grayscale(100%);
  transition: all 0.3s;
  opacity: 0.6;
}

.collab-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
  opacity: 1;
}

/* STEPS CARDS ENHANCED */
.step-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 8px;
  border: 1px solid #eee;
  text-align: left;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.step-card:hover {
  border-color: var(--brand);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.step-number-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 8rem;
  font-weight: 800;
  color: #f3f4f6;
  z-index: 0;
  line-height: 1;
}

.step-card-content {
  position: relative;
  z-index: 1;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0; /* Starte hidden */
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

/* Scroll One-Time Animations (Requires JS to add .in-view class) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ENHANCED PROCESS SECTION */
.process-gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-card-premium {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  padding: 3rem;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.process-card-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

.process-card-premium:hover::before {
  opacity: 1;
}

.process-icon-box {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fff 0%, #f3f4f6 100%);
  border: 1px solid white;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--brand);
  transition: transform 0.5s ease;
}

.process-card-premium:hover .process-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: var(--brand);
  color: white;
  box-shadow: 0 15px 30px -5px rgba(187, 45, 41, 0.3);
}

/* INSIGHTS / BEST PRACTICES CARDS */
.insight-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
}

.insight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-light);
}

.insight-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* FAQ ACCORDION */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--brand);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* Arbitrary large number */
  opacity: 1;
  transition:
    max-height 0.5s cubic-bezier(1, 0, 1, 0),
    opacity 0.5s ease;
  padding-bottom: 1.5rem;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* WHY CHOOSE CARD HOVER ENHANCEMENT */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at top right,
    rgba(187, 45, 41, 0.15),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(187, 45, 41, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.glass-card:hover::before {
  opacity: 1;
}

/* COMPETITIVE ADVANTAGE LIST */
.comp-advantage-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.comp-advantage-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}
/* Specific Styles for Agency Page (matching MB.css foundation) */

.hero-pattern {
  background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.service-hover-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-hover-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.checkmark-list li {
  position: relative;
  padding-left: 1.5rem;
}

.checkmark-list li::before {
  content: "✓";
  color: var(--brand);
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: bold;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-300px * 4 - 4rem));
  }
}

.slider-perspective {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.slider-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}

.slider-card {
  width: 300px;
  height: 200px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  transform: rotateY(10deg) scale(0.9);
  flex-shrink: 0;
}

.slider-card:hover {
  transform: rotateY(0deg) scale(1.05) z-index(10);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Background Slider Animation */
.bg-slider {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideFade 20s infinite;
}

.bg-slide:nth-child(1) {
  animation-delay: 0s;
}

.bg-slide:nth-child(2) {
  animation-delay: 5s;
}

.bg-slide:nth-child(3) {
  animation-delay: 10s;
}

.bg-slide:nth-child(4) {
  animation-delay: 15s;
}

@keyframes slideFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  5% {
    opacity: 1;
    transform: scale(1.02);
  }

  25% {
    opacity: 1;
    transform: scale(1.05);
  }

  30% {
    opacity: 0;
    transform: scale(1.07);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.95) 100%
  );
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* Logo Carousel */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-scroller {
  display: flex;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.95) 100%
  );
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* Logo Carousel */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-scroller {
  display: flex;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

/* 3D Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
}

.glass-card-icon {
  transition: all 0.4s ease;
}

.glass-card:hover .glass-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--brand);
  color: white;
}

/* Feature Card 3D Effect */
.feature-card-3d {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
}

.feature-card-3d:hover {
  transform: translateY(-5px) rotateX(5deg) rotateY(5deg);
  box-shadow:
    20px 20px 60px #bebebe,
    -20px -20px 60px #ffffff;
}
/* Specific Styles for Agency Page (matching MB.css foundation) */

.hero-pattern {
  background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.service-hover-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-hover-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.checkmark-list li {
  position: relative;
  padding-left: 1.5rem;
}

.checkmark-list li::before {
  content: "✓";
  color: var(--brand);
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: bold;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-300px * 4 - 4rem));
  }
}

.slider-perspective {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.slider-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}

.slider-card {
  width: 300px;
  height: 200px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  transform: rotateY(10deg) scale(0.9);
  flex-shrink: 0;
}

.slider-card:hover {
  transform: rotateY(0deg) scale(1.05) z-index(10);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Background Slider Animation */
.bg-slider {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideFade 20s infinite;
}

.bg-slide:nth-child(1) {
  animation-delay: 0s;
}

.bg-slide:nth-child(2) {
  animation-delay: 5s;
}

.bg-slide:nth-child(3) {
  animation-delay: 10s;
}

.bg-slide:nth-child(4) {
  animation-delay: 15s;
}

@keyframes slideFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  5% {
    opacity: 1;
    transform: scale(1.02);
  }

  25% {
    opacity: 1;
    transform: scale(1.05);
  }

  30% {
    opacity: 0;
    transform: scale(1.07);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.95) 100%
  );
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* Logo Carousel */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-scroller {
  display: flex;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.95) 100%
  );
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* Logo Carousel */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-scroller {
  display: flex;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

/* 3D Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
}

.glass-card-icon {
  transition: all 0.4s ease;
}

.glass-card:hover .glass-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--brand);
  color: white;
}

/* Feature Card 3D Effect */
.feature-card-3d {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
}

.feature-card-3d:hover {
  transform: translateY(-5px) rotateX(5deg) rotateY(5deg);
  box-shadow:
    20px 20px 60px #bebebe,
    -20px -20px 60px #ffffff;
}
/* Specific Styles for Agency Page (matching MB.css foundation) */

.hero-pattern {
  background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.service-hover-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-hover-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.checkmark-list li {
  position: relative;
  padding-left: 1.5rem;
}

.checkmark-list li::before {
  content: "✓";
  color: var(--brand);
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: bold;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-300px * 4 - 4rem));
  }
}

.slider-perspective {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.slider-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}

.slider-card {
  width: 300px;
  height: 200px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  transform: rotateY(10deg) scale(0.9);
  flex-shrink: 0;
}

.slider-card:hover {
  transform: rotateY(0deg) scale(1.05) z-index(10);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Background Slider Animation */
.bg-slider {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideFade 20s infinite;
}

.bg-slide:nth-child(1) {
  animation-delay: 0s;
}

.bg-slide:nth-child(2) {
  animation-delay: 5s;
}

.bg-slide:nth-child(3) {
  animation-delay: 10s;
}

.bg-slide:nth-child(4) {
  animation-delay: 15s;
}

@keyframes slideFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  5% {
    opacity: 1;
    transform: scale(1.02);
  }

  25% {
    opacity: 1;
    transform: scale(1.05);
  }

  30% {
    opacity: 0;
    transform: scale(1.07);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.95) 100%
  );
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* Logo Carousel */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-scroller {
  display: flex;
  gap: 6rem;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
  padding: 2rem 0;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.95) 100%
  );
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* 3D Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
}

.glass-card-icon {
  transition: all 0.4s ease;
}

.glass-card:hover .glass-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--brand);
  color: white;
}

/* Feature Card 3D Effect */
.feature-card-3d {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
}

.feature-card-3d:hover {
  transform: translateY(-5px) rotateX(5deg) rotateY(5deg);
  box-shadow:
    20px 20px 60px #bebebe,
    -20px -20px 60px #ffffff;
}
