html {
  scroll-behavior: smooth;
}


/* =====================================================
 TALK TO PRODUCT EXPERT – ADVANCED ANIMATIONS
===================================================== */

.ys-expert-wrap {
  padding: 130px 0;
  background: radial-gradient(circle at top right, #eef4ff, #ffffff 55%);
  overflow: hidden;
}


.order-lg-1 { order: 1; }
.order-lg-2 { order: 2; }
/* ---------- Head Text ---------- */

.ys-expert-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #020617;
  margin: 20px 0;
  animation: fadeSlideLeft 1s ease forwards;
}

.ys-expert-title span {
  color: #2563eb;
}

.ys-expert-intro {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.8;
  max-width: 520px;
  animation: fadeSlideLeft 1.2s ease forwards;
}

/* ---------- Expert Box ---------- */

.ys-expert-box {
  margin-top: 36px;
  padding: 34px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 35px 80px rgba(15,23,42,0.1);
  animation: fadeUp 1.3s ease forwards;
  position: relative;
}

.ys-expert-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(37,99,235,.15), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
}

.ys-expert-box:hover::before {
  opacity: 1;
}

.ys-expert-box h5 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.ys-expert-box p {
  color: #475569;
  line-height: 1.7;
}

.ys-expert-box small {
  display: block;
  margin-top: 10px;
  color: #64748b;
}

/* ---------- CTA ---------- */

.ys-expert-cta {
  margin-top: 26px;
  position: relative;
  z-index: 20;
}

/* ---------- Image ---------- */

.ys-expert-img-wrap {
  position: relative;
  display: inline-block;
  animation: fadeSlideRight 1.4s ease forwards;
  
}

.ys-expert-img {
  max-width: 100%;
  border-radius: 30px;
  box-shadow: 0 45px 100px rgba(37,99,235,.35);
  animation: floatY 5s ease-in-out infinite;
}

/* Glow ring */
.ys-expert-img-wrap::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(37,99,235,.25), transparent 65%);
  z-index: -1;
  filter: blur(18px);
}

/* ---------- Buttons ---------- */

.ys-btn.primary {
  padding: 16px 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 20px 50px rgba(37,99,235,.45);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}

.ys-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px rgba(37,99,235,.55);
}

/* ---------- Animations ---------- */

@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Responsive ---------- */

@media (max-width: 992px) {
  .ys-expert-title {
    font-size: 2.2rem;
  }

  .ys-expert-wrap {
    text-align: center;
  }

  .ys-expert-box {
    text-align: left;
  }
}


/* ================================
 SMARTDESK – ACCENT STYLES
================================ */

.ys-smartdesk-wrap .ys-chip {
  background: rgba(37,99,235,0.14);
  color: #2563eb;
}

.ys-smartdesk-wrap .ys-expert-title span {
  color: #2563eb;
}


/* ================================
 LOGISTICS ERP – ACCENT STYLES
================================ */

.ys-logistics-wrap .ys-chip {
  background: rgba(50, 69, 245, 0.14);
  color: #2563eb;
}

.ys-logistics-wrap .ys-expert-title span {
  color: #2563eb;
}

.ys-logistics-wrap .ys-btn.primary {
  background: linear-gradient(135deg, #2563eb);
  box-shadow: 0 20px 50px rgba(92, 131, 246, 0.45);
}
/* ================================
Contact Form – FINAL STYLES
================================ */
/* ================================
Base Reset
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ================================
Section Wrapper
================================ */
.ys-contactX-wrap {
  padding: 120px 20px;
  display: flex;
  justify-content: center;
  background-color: #f8fafc;
}

/* ================================
Card
================================ */
.ys-contactX-card {
  width: 100%;
  max-width: 980px;
  padding: 70px;
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 60px 140px rgba(15, 23, 42, 0.15);
}

/* ================================
Header
================================ */
.ys-contactX-head {
  text-align: center;
  margin-bottom: 56px;
}

.ys-chip {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.ys-contactX-head h2 {
  font-size: 2.6rem;
  font-weight: 900;
  margin: 12px 0;
  color: #0f172a;
}

.ys-contactX-head h2 span {
  color: #2563eb;
}

.ys-contactX-head p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.8;
}

/* ================================
Form Layout
================================ */
.ys-contactX-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 24px;
}

.ys-contactX-form > div {
  display: flex;
  flex-direction: column;
}

/* ================================
Labels
================================ */
.ys-contactX-form label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
}

/* ================================
Inputs, Select, Textarea
================================ */
.ys-contactX-form input,
.ys-contactX-form select,
.ys-contactX-form textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  font-size: 0.95rem;
  color: #0f172a;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ys-contactX-form textarea {
  min-height: 140px;
  resize: none;
  line-height: 1.6;
}

/* Full-width message */
.ys-message-field {
  grid-column: 1 / -1;
}

/* ================================
Focus State
================================ */
.ys-contactX-form input:focus,
.ys-contactX-form select:focus,
.ys-contactX-form textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* ================================
Django Error Messages
================================ */
.ys-contactX-form ul {
  list-style: none;
  margin-top: 6px;
}

.ys-contactX-form ul li {
  font-size: 0.75rem;
  color: #dc2626;
  font-weight: 600;
}

/* ================================
CTA Button
================================ */
.ys-contactX-cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.ys-btn {
  padding: 18px 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ys-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 35px 80px rgba(37, 99, 235, 0.55);
}

/* ================================
Success Message
================================ */
.ys-form-success {
  grid-column: 1 / -1;
  display: none;
  margin-top: 30px;
  padding: 22px;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #065f46;
  font-weight: 700;
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.25);
}

/* ================================
Laptops ≤1200px
================================ */
@media (max-width: 1200px) {
  .ys-contactX-card {
    padding: 60px;
  }
}

/* ================================
Tablets ≤992px
================================ */
@media (max-width: 992px) {
  .ys-contactX-head h2 {
    font-size: 2.3rem;
  }
}

/* ================================
Tablets & Mobiles ≤768px
================================ */
@media (max-width: 768px) {
  .ys-contactX-wrap {
    padding: 80px 16px;
  }

  .ys-contactX-card {
    padding: 42px 24px;
    border-radius: 32px;
  }

  .ys-contactX-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ys-contactX-head h2 {
    font-size: 2rem;
  }

  .ys-btn {
    width: 100%;
    padding: 16px;
  }
}

/* ================================
Small Phones ≤480px
================================ */
@media (max-width: 480px) {
  .ys-contactX-head h2 {
    font-size: 1.75rem;
  }

  .ys-contactX-head p {
    font-size: 0.95rem;
  }

  .ys-contactX-form input,
  .ys-contactX-form select,
  .ys-contactX-form textarea {
    font-size: 0.9rem;
  }
}


/* =====================================================
 WHAT HAPPENS NEXT – CENTER PREMIUM
===================================================== */

.ys-nextC-wrap {
  padding: 120px 0;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

/* Chip */
.ys-nextC-chip {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(37,99,235,0.14);
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

/* Title */
.ys-nextC-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #020617;
  margin-bottom: 60px;
}

.ys-nextC-title span {
  color: #2563eb;
}

/* Steps Grid */
.ys-nextC-steps {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

/* Step Card */
.ys-nextC-step {
  padding: 34px 26px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 25px 60px rgba(15,23,42,.08);
  transition: all .35s ease;
}

.ys-nextC-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 90px rgba(15,23,42,.14);
}

/* Icon */
.ys-nextC-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(37,99,235,.12);
}

/* Text */
.ys-nextC-step p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .ys-nextC-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .ys-nextC-steps {
    grid-template-columns: 1fr;
  }

  .ys-nextC-title {
    font-size: 2.1rem;
  }
}


/* =====================================================
 WHY BUSINESSES CHOOSE US 
===================================================== */

.ys-trustC-wrap {
  padding: 130px 0;
  background: radial-gradient(circle at center, #f1f5ff, #ffffff 60%);
}

/* Chip */
.ys-trustC-chip {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
  color: #4e83ff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

/* Title */
.ys-trustC-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #020617;
  margin-bottom: 70px;
}

.ys-trustC-title span {
  color: #2563eb;
}

/* Grid */
.ys-trustC-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

/* Card */
.ys-trustC-card {
  padding: 40px 26px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 25px 60px rgba(15,23,42,.08);
  transition: all .35s ease;
}

.ys-trustC-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 45px 100px rgba(15,23,42,.15);
}

/* Icon */
.ys-trustC-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: rgba(37,99,235,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}

/* Text */
.ys-trustC-card h5 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #020617;
}

.ys-trustC-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .ys-trustC-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .ys-trustC-grid {
    grid-template-columns: 1fr;
  }

  .ys-trustC-title {
    font-size: 2.1rem;
  }
}


/* =========================================
   MOBILE RESPONSIVE CTA
   ========================================= */

/* Desktop / Default State */
.ys-expert-cta {
  margin-top: 25px;
  display: flex;
  justify-content: flex-start; /* Aligns button to the left on desktop */
}

.ys-expert-cta .ys-btn {
  padding: 12px 28px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;

}

/* Tablet & Mobile Media Query */
@media (max-width: 991px) {
  .ys-expert-cta {
    justify-content: center; /* Centers the button when content stacks */
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .ys-expert-cta {
    display: block; /* Allows button to take full width */
  }

  @media (max-width: 375px) {
  .ys-expert-cta {
    justify-content: center; /* Centers the button when content stacks */
    margin-top: 20px;
  }
}
  @media (max-width: 350px) {
  .ys-expert-cta {
    justify-content: center; /* Centers the button when content stacks */
    margin-top: 20px;
  }
}


  .ys-expert-cta .ys-btn {
    display: block; /* Makes the button a block element */
    width: 100%;    /* Button takes full width of the container */
    padding: 15px;  /* Slightly larger touch target for mobile */
    font-size: 1rem;
  }
  
  /* Adds spacing between stacked sections on mobile */
  .ys-expert-box {
    padding: 20px;
    margin-bottom: 10px;
  }
}

.ys-expert-cta {
  margin-top: 1.5rem;
}

/* On mobile, stack buttons if there are multiple */
@media (max-width: 576px) {
  .ys-expert-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between buttons if you add more than one */
  }
}

/* --- Desktop & Base Styles --- */
.ys-btn.primary {
  background-color: #007bff; /* Replace with your brand blue */
  color: #ffffff;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hover Effect */
.ys-btn.primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  color: #ffffff;
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Active/Click Effect */
.ys-btn.primary:active {
  transform: translateY(0);
}

/* --- Mobile Responsive Queries --- */

@media (max-width: 768px) {
  .ys-btn.primary {
    padding: 10px 24px;
    font-size: 0.95rem; 
  }
}

@media (max-width: 576px) {
  .ys-btn.primary {
    display: flex;       
    width: 100%;       
    padding: 14px 20px; 
    font-size: 1rem;
    letter-spacing: 0.5px;
  }
}


