/* =====================================================
   PROCESS.CSS — Sukrish SteelVridhi | Redesigned
   EXTREME DYNAMIC CSS — Premium Animations & Transitions
   Font: Inter + Playfair Display | Full Width
   Palette: --gold #d0a03a | --gold-2 #f3c85f
   ===================================================== */

/* =====================================================
   CSS VARIABLES & ROOT CONFIG
===================================================== */
:root {
  --gold: #d0a03a;
  --gold-2: #f3c85f;
  --gold-dark: #b8892a;
  --gold-light: #f5d98c;
  --charcoal: #141414;
  --dark-gray: #1a1a1a;
  --light-gray: #f5f5f2;
  --card-radius: 20px;
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --shadow-gold: 0 20px 60px rgba(208, 160, 58, 0.15);
}

/* ---------------------------------------------------
   1. PAGE BANNER (Matches products.php)
--------------------------------------------------- */
.sv-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #141414, #1d1812, #141414, #12181f);
  background-size: 300% 300%;
  animation: svBgShift 16s ease infinite;
  color: #fff;
  padding: 210px 0 100px;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
}

@keyframes svBgShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.sv-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  z-index: 0;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(46px, 46px); }
}

.sv-banner-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,160,58,.20), transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: svGlowPulse 6s ease-in-out infinite;
}

.sv-banner-glow--2 {
  top: auto;
  bottom: -200px;
  right: auto;
  left: -150px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(243,200,95,.14), transparent 70%);
  animation-delay: 2s;
}

@keyframes svGlowPulse {
  0%, 100% { opacity: .7; transform: scale(1) rotate(0deg); }
  50%      { opacity: 1;  transform: scale(1.12) rotate(5deg); }
}

.sv-banner-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  animation: contentRise 1s var(--transition-smooth) forwards;
}

@keyframes contentRise {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sv-crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #cfcfcf;
  margin-bottom: 18px;
  font-weight: 600;
}

.sv-crumb a       { color: #cfcfcf; transition: .3s; text-decoration: none; position: relative; }
.sv-crumb a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-2);
  transition: width .3s var(--transition-smooth);
}
.sv-crumb a:hover { color: var(--gold-2); }
.sv-crumb a:hover::after { width: 100%; }
.sv-crumb i       { opacity: .5; font-style: normal; }
.sv-crumb b       { color: var(--gold-2); font-weight: 800; }

.sv-banner h1 {
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.16;
  font-weight: 900;
  margin-bottom: 20px;
}

.sv-banner h1 span { 
  color: var(--gold-2);
  position: relative;
  display: inline-block;
}

.sv-banner h1 span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineReveal 1.2s var(--transition-bounce) 0.5s forwards;
}

@keyframes underlineReveal {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.sv-banner p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #d7d7d7;
  max-width: 640px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeSlideUp 1s var(--transition-smooth) 0.3s forwards;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sv-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fadeSlideUp 1s var(--transition-smooth) 0.6s forwards;
}

/* ---------------------------------------------------
   2. PROCESS SECTION
--------------------------------------------------- */
/* In process.css - override style.css */
.process-section {
  background: #fbfaf8 !important;
  position: relative !important;
  z-index: 1 !important;
  padding: 80px 0 !important;
  color: inherit !important;
}

.process-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,160,58,.03), transparent 70%);
  pointer-events: none;
  animation: floatingBg 20s ease-in-out infinite;
}

@keyframes floatingBg {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.process-section .wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3%;
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------
   3. PILL SECTION HEADERS
--------------------------------------------------- */
.pill-header {
  text-align: center;
  margin: 0 0 30px;
}
.pill-header span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--charcoal, #202225);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 999px;
  position: relative;
}
.pill-header span::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold, #c99b2b);
  display: inline-block;
}

.process-intro {
  max-width: 850px;
  margin: 0 auto 50px;
  text-align: center;
  color: #5f636b;
  line-height: 1.8;
  font-size: 0.98rem;
  font-family: 'Inter', sans-serif;
}

.process-block {
  margin-bottom: 90px;
}
.process-block:last-child {
  margin-bottom: 0;
}
.process-block p {
  color: #5f636b;
  line-height: 1.8;
  font-size: 0.98rem;
  font-family: 'Inter', sans-serif;
  max-width: 1100px;
  margin: 0 auto 16px;
}

/* ---------------------------------------------------
   4. FLOW RIBBON (desktop)
--------------------------------------------------- */
.flow-ribbon {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 70px 30px 68px;
}
.wave-bg {
  position: absolute;
  left: 0;
  top: 85px;
  width: 100%;
  height: 120px;
  z-index: 1;
}

.flow-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.flow-step {
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.flow-step.is-up {
  margin-top: -40px;
}

.flow-step.is-down {
  margin-top: 95px;
}

.flow-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #bb8e38;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  color: #fff;
  transition: all 0.5s var(--transition-smooth);
}

.flow-step:hover .flow-num {
  background: var(--gold-2);
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 12px 30px rgba(208,160,58,.3);
}

.flow-step h5 {
  width: 144px;
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #f8f6f1;
  border: 1px solid #d7b177;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
  transition: all 0.5s var(--transition-smooth);
  font-family: 'Inter', sans-serif;
}
.flow-step:hover h5 {
  background: #bb8e38;
  color: #fff;
  border-color: #bb8e38;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(187, 142, 56, .25);
}

/* ---------------------------------------------------
   5. FLOW LIST (mobile / vertical)
--------------------------------------------------- */
.flow-list {
  position: relative;
  padding-left: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.flow-list .flow-step {
  position: relative;
  padding-bottom: 34px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}
.flow-list .flow-step:last-child {
  padding-bottom: 0;
}
.flow-list .flow-step::after {
  content: "";
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 34px;
  background: var(--gold, #d9b17a);
}
.flow-list .flow-step:last-child::after {
  display: none;
}
.flow-list .flow-num {
  margin: 0 0 12px;
}
.flow-list .flow-step h5 {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 65px;
  margin: 0;
  padding: 18px;
  text-align: center;
}

/* ---------------------------------------------------
   6. ADVANTAGE SECTION (Matches products.php style)
--------------------------------------------------- */
.advantage-section {
  position: relative;
  padding: 90px 0 100px;
  background: #faf8f4;
  overflow: hidden;
}

.advantage-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,160,58,.04), transparent 70%);
  pointer-events: none;
  animation: floatingBg 18s ease-in-out infinite;
}

.advantage-section .wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3%;
  position: relative;
  z-index: 2;
}

.adv-bg-word {
  position: absolute;
  right: -5%;
  bottom: 0;
  font-family: 'Playfair Display', serif;
  font-size: 18vw;
  font-weight: 900;
  color: rgba(0,0,0,.03);
  pointer-events: none;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

/* ADV TOP */
.adv-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 60px;
}

.adv-top .eyebrow {
  display: inline-block;
  position: relative;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.adv-top .eyebrow::before,
.adv-top .eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.adv-top .eyebrow::before {
  right: 100%;
  transform: translateY(-50%);
}
.adv-top .eyebrow::after {
  left: 100%;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.adv-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #111;
  line-height: 1.08;
  margin: 0;
}

.adv-heading .adv-highlight {
  color: var(--gold);
  position: relative;
}

.adv-heading .adv-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  border-radius: 2px;
}

.adv-top-right p {
  font-family: 'Inter', sans-serif;
  color: #5f636b;
  line-height: 1.8;
  font-size: .98rem;
  margin-bottom: 16px;
}

.adv-link {
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  color: #141414;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  transition: all .4s var(--transition-smooth);
  text-decoration: none;
}

.adv-link:hover {
  color: var(--gold);
  gap: 16px;
}

/* ADV CARDS — Flip on Hover */
.adv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  perspective: 1100px;
  height: 380px;
  opacity: 0;
  transform: translateY(50px);
  animation: cardReveal 0.8s var(--transition-bounce) forwards;
  animation-delay: calc(var(--ac, 0) * 0.1s + 0.2s);
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.adv-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--transition-smooth);
  transform-style: preserve-3d;
}

.adv-card:hover .adv-card-inner {
  transform: rotateY(180deg);
}

.adv-card-front,
.adv-card-back {
  position: absolute;
  inset: 0;
  padding: 30px 24px;
  border-radius: var(--card-radius);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.adv-card-front {
  background: #fff;
  border: 1px solid #ece6da;
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
  transition: all .4s var(--transition-smooth);
}

.adv-card:hover .adv-card-front {
  border-color: rgba(208,160,58,.2);
}

.adv-card-back {
  background: linear-gradient(145deg, #141414, #1d1812);
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.adv-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(208,160,58,.15);
  line-height: 1;
  margin-bottom: 8px;
}

.adv-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.adv-card-front h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 10px;
}

.adv-card-front p {
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.adv-card-back h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
}

.adv-card-back p {
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

.adv-card-btn {
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  transition: all .4s var(--transition-smooth);
}

.adv-card-btn:hover {
  color: #fff;
  gap: 14px;
  border-color: #fff;
}

/* ---------------------------------------------------
   7. RESPONSIVE BREAKPOINTS
--------------------------------------------------- */

/* 1200px */
@media (max-width: 1200px) {
  .adv-cards { grid-template-columns: repeat(3, 1fr); }
}

/* 1024px */
@media (max-width: 1024px) {
  .sv-banner { padding: 180px 0 80px; min-height: 440px; }
  .adv-cards { grid-template-columns: repeat(2, 1fr); }
  .adv-card { height: 350px; }
}

/* 992px */
@media (max-width: 992px) {
  .adv-top { grid-template-columns: 1fr; gap: 20px; }
}

/* 768px */
@media (max-width: 768px) {
  .sv-banner { padding: 160px 0 70px; min-height: 400px; }
  .sv-banner p { font-size: .93rem; }
  .adv-cards { grid-template-columns: 1fr 1fr; }
  .adv-card { height: 320px; }
  .flow-ribbon { display: none; }
  .flow-list { display: flex; }
  .flow-step { width: 100%; }
  .flow-step.is-up,
  .flow-step.is-down { margin-top: 0; }
}

/* 640px */
@media (max-width: 640px) {
  .sv-banner-actions { flex-direction: column; align-items: stretch; }
  .sv-banner-actions .btn { text-align: center; justify-content: center; }
  .adv-cards { grid-template-columns: 1fr; }
  .adv-card { height: 300px; }
  .adv-top-right p { font-size: .92rem; }
  .process-section { padding: 50px 0; }
  .process-block { margin-bottom: 60px; }
  .advantage-section { padding: 60px 0 70px; }
}

/* 480px */
@media (max-width: 480px) {
  .sv-banner { padding: 150px 0 60px; min-height: 380px; }
  .sv-banner h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .sv-crumb { font-size: .72rem; }
  .pill-header span {
    font-size: 13px;
    padding: 12px 22px;
    gap: 10px;
  }
  .adv-card { height: 280px; }
  .adv-card-front,
  .adv-card-back { padding: 22px 18px; }
  .adv-card-num { font-size: 2.2rem; }
  .adv-card-icon { font-size: 1.8rem; }
  .adv-card-front h3 { font-size: 1rem; }
  .adv-heading { font-size: 1.8rem; }
}

/* 375px */
@media (max-width: 375px) {
  .sv-banner h1 { font-size: 1.55rem; }
  .sv-banner p { font-size: .88rem; }
  .adv-card { height: 260px; }
  .adv-card-front p,
  .adv-card-back p { font-size: .82rem; }
}