/* ==========================================================================
   VedaBuilder Public Front-end Stylesheet
   ========================================================================== */

.vb-section {
  position: relative;
  width: 100%;
  display: block;
}

.vb-container {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.vb-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.vb-column {
  padding-right: 15px;
  padding-left: 15px;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Grids columns responsive layout width mappings */
.vb-col-100 {
  flex: 0 0 100%;
  max-width: 100%;
}
.vb-col-75 {
  flex: 0 0 75%;
  max-width: 75%;
}
.vb-col-50 {
  flex: 0 0 50%;
  max-width: 50%;
}
.vb-col-33 {
  flex: 0 0 33.333%;
  max-width: 33.333%;
}
.vb-col-25 {
  flex: 0 0 25%;
  max-width: 25%;
}

@media (max-width: 768px) {
  .vb-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px;
  }
  .vb-row {
    margin-bottom: 0;
  }
}

/* General Widget Spacing rules */
.vb-widget {
  margin-bottom: 20px;
}
.vb-widget:last-child {
  margin-bottom: 0;
}

/* 1. Heading Styles */
.vb-heading {
  margin-top: 0;
  line-height: 1.25;
}

/* 2. Text Content Styles */
.vb-text {
  line-height: 1.6;
}
.vb-text p {
  margin-bottom: 15px;
}
.vb-text p:last-child {
  margin-bottom: 0;
}

/* 3. Image Styles */
.vb-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 4. Button Styles */
.vb-button-wrap {
  display: block;
}

.vb-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius-sm, 4px);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: var(--transition, all 0.3s ease);
}

.vb-btn-primary {
  background-color: var(--primary, #0f2e5b);
  color: var(--light, #ffffff) !important;
}

.vb-btn-primary:hover {
  background-color: var(--primary-hover, #071d3d);
}

.vb-btn-secondary {
  background-color: var(--secondary, #f2f6fa);
  color: var(--primary, #0f2e5b) !important;
}

.vb-btn-secondary:hover {
  background-color: var(--grey-border, #e0e0e0);
}

.vb-btn-outline {
  background-color: transparent;
  color: var(--primary, #0f2e5b) !important;
  border: 2px solid var(--primary, #0f2e5b);
}

.vb-btn-outline:hover {
  background-color: var(--primary, #0f2e5b);
  color: var(--light, #ffffff) !important;
}

/* 5. Accordion Styles */
.vb-accordion-item {
  border: 1px solid var(--grey-border, #e0e0e0);
  border-radius: var(--radius-sm, 4px);
  margin-bottom: 10px;
  overflow: hidden;
}

.vb-accordion-title {
  width: 100%;
  background-color: var(--grey-light, #f8f9fa);
  padding: 15px 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary, #0f2e5b);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition, all 0.3s ease);
}

.vb-accordion-title:hover {
  background-color: var(--secondary, #f2f6fa);
}

.vb-accordion-title i {
  font-size: 12px;
  transition: var(--transition, all 0.3s ease);
}

.vb-accordion-item.active .vb-accordion-title i {
  transform: rotate(45deg);
}

.vb-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: var(--light, #ffffff);
}

.vb-accordion-content p {
  padding: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #555555;
}

.vb-accordion-item.active .vb-accordion-content {
  max-height: 500px;
}

/* 6. Testimonial Styles */
.vb-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.vb-testimonial-card {
  background-color: var(--grey-light, #f8f9fa);
  border: 1px solid var(--grey-border, #e0e0e0);
  border-radius: var(--radius-md, 8px);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition, all 0.3s ease);
}

.vb-testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.vb-stars {
  margin-bottom: 12px;
}

.vb-testi-text {
  font-style: italic;
  color: #555555;
  font-size: 13px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.vb-testi-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary, #0f2e5b);
}

/* 7. WooCommerce Slider Custom Layout Styles */
.vb-wc-slider-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.vb-wc-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Hide scrollbars in Firefox */
  padding: 10px 0;
}

.vb-wc-slider::-webkit-scrollbar {
  display: none; /* Hide scrollbars in Chrome/Safari */
}

.vb-wc-slide {
  flex: 0 0 calc(25% - 15px);
  scroll-snap-align: start;
  border: 1px solid var(--grey-border, #e0e0e0);
  border-radius: var(--radius-md, 8px);
  background-color: var(--light, #ffffff);
  padding: 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 992px) {
  .vb-wc-slide {
    flex: 0 0 calc(33.33% - 14px);
  }
}

@media (max-width: 576px) {
  .vb-wc-slide {
    flex: 0 0 calc(50% - 10px);
  }
}

.vb-wc-slide a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.vb-wc-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm, 4px);
  margin-bottom: 12px;
}

.vb-wc-slide h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary, #0f2e5b);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vb-wc-slide .price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary, #0f2e5b);
}

/* ==========================================================================
   8. Silkrute-Style Tabbed Help & Contact Block Element
   ========================================================================== */

.vb-help-block {
  --vb-accent: #f2722b;
  --vb-accent-soft: rgba(242, 114, 43, 0.08);
  --vb-accent-hover: #d95e1a;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 30px;
  font-family: inherit;
}

.vb-help-block *,
.vb-help-block *::before,
.vb-help-block *::after {
  box-sizing: border-box;
}

.vb-help-mobile-nav {
  display: none;
  margin-bottom: 20px;
}

.vb-help-mobile-title {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 14px 0;
  line-height: 1.2;
}

.vb-help-pill-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.vb-help-pill-tabs::-webkit-scrollbar {
  display: none;
}

.vb-help-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vb-help-pill-btn:hover {
  background: #f9fafb;
}

.vb-help-pill-btn.active {
  background: var(--vb-accent, #f2722b);
  border-color: var(--vb-accent, #f2722b);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(242, 114, 43, 0.25);
}

.vb-help-pill-btn.active .vb-svg-icon {
  stroke: #ffffff;
}

/* Desktop Main Layout */
.vb-help-main-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.vb-help-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
}

.vb-help-sidebar-title {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 20px 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.vb-help-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vb-help-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #4b5563;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.vb-help-nav-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.vb-help-nav-btn.active {
  background: var(--vb-accent-soft, #fff8f3);
  color: #111827;
  font-weight: 600;
}

.vb-help-nav-btn.active .vb-svg-icon {
  stroke: var(--vb-accent, #f2722b);
}

/* Content Card */
.vb-help-content-card {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  min-height: 520px;
}

.vb-help-tab-panel {
  display: none;
}

.vb-help-tab-panel.active {
  display: block;
}

/* Contacts Tab */
.vb-contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}

.vb-contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vb-contact-item-website {
  grid-column: span 2;
}

.vb-contact-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vb-contact-header .vb-svg-icon {
  stroke: #111827;
  flex-shrink: 0;
}

.vb-contact-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.vb-contact-value {
  font-size: 14.5px;
  color: #374151;
  line-height: 1.65;
  padding-left: 28px;
}

.vb-contact-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.vb-contact-value a:hover {
  color: var(--vb-accent, #f2722b);
  text-decoration: underline;
}

.vb-contact-subnote {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

.vb-help-divider {
  border: none;
  border-top: 1px solid #f0f1f3;
  margin: 36px 0 28px 0;
}

.vb-reach-us-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vb-reach-us-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.vb-reach-us-desc {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* Support Chat Tab */
.vb-chat-status-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid #f0f1f3;
  margin-bottom: 24px;
}

.vb-chat-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.vb-chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--vb-accent, #f2722b);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vb-chat-avatar .vb-svg-icon {
  stroke: #ffffff;
  width: 22px;
  height: 22px;
}

.vb-chat-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9ca3af;
  border: 2px solid #ffffff;
}

.vb-chat-status-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vb-chat-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.vb-chat-subtitle {
  font-size: 13.5px;
  color: #6b7280;
  margin: 0;
}

/* Start Conversation Action Card */
.vb-start-conv-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 32px;
}

.vb-start-conv-card:hover {
  border-color: var(--vb-accent, #f2722b);
  background: var(--vb-accent-soft, #fff8f3);
  box-shadow: 0 4px 12px rgba(242, 114, 43, 0.08);
}

.vb-conv-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--vb-accent, #f2722b);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.vb-conv-icon-box .vb-svg-icon {
  stroke: #ffffff;
}

.vb-start-conv-card:hover .vb-conv-icon-box {
  transform: scale(1.05);
}

.vb-conv-text-box {
  flex: 1;
  min-width: 0;
}

.vb-conv-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.vb-conv-subtitle {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

.vb-conv-arrow {
  color: #9ca3af;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.vb-start-conv-card:hover .vb-conv-arrow {
  transform: translateX(4px);
  color: var(--vb-accent, #f2722b);
}

/* FAQ Section */
.vb-faq-section {
  display: flex;
  flex-direction: column;
}

.vb-faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.vb-faq-heading-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vb-faq-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--vb-accent-soft, #fff8f3);
  color: var(--vb-accent, #f2722b);
}

.vb-faq-icon-wrap .vb-svg-icon {
  stroke: var(--vb-accent, #f2722b);
}

.vb-faq-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.vb-faq-count {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}

.vb-faq-search-wrap {
  position: relative;
  margin-bottom: 16px;
}

.vb-faq-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.vb-faq-search-icon .vb-svg-icon {
  stroke: #9ca3af;
}

.vb-faq-search-input {
  width: 100%;
  padding: 10px 14px 10px 42px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 14px;
  color: #111827;
  outline: none;
  transition: all 0.2s ease;
}

.vb-faq-search-input:focus {
  background: #ffffff;
  border-color: var(--vb-accent, #f2722b);
  box-shadow: 0 0 0 3px rgba(242, 114, 43, 0.12);
}

.vb-faq-accordion-list {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.vb-faq-item {
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.15s ease;
}

.vb-faq-item:last-child {
  border-bottom: none;
}

.vb-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  color: #111827;
  transition: background 0.15s ease;
}

.vb-faq-question:hover {
  background: #f9fafb;
}

.vb-faq-q-text {
  flex: 1;
}

.vb-chevron-icon {
  color: #9ca3af;
  transition: transform 0.25s ease, stroke 0.2s ease;
  flex-shrink: 0;
}

.vb-faq-item.active .vb-chevron-icon {
  transform: rotate(180deg);
  stroke: var(--vb-accent, #f2722b);
}

.vb-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.vb-faq-item.active .vb-faq-answer {
  max-height: 400px;
  transition: max-height 0.35s ease-in-out;
}

.vb-faq-answer-inner {
  padding: 0 20px 18px 20px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.65;
}

.vb-faq-answer-inner p {
  margin: 0;
}

/* Conversation Form View */
.vb-conv-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f1f3;
}

.vb-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vb-back-btn:hover {
  background: #f3f4f6;
  color: #111827;
  border-color: #d1d5db;
}

.vb-conv-form-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.vb-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vb-form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vb-form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
}

.vb-form-input,
.vb-form-select,
.vb-form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.vb-form-input:focus,
.vb-form-select:focus,
.vb-form-textarea:focus {
  border-color: var(--vb-accent, #f2722b);
  box-shadow: 0 0 0 3px rgba(242, 114, 43, 0.12);
}

.vb-form-submit-btn {
  width: 100%;
  padding: 13px 24px;
  background: var(--vb-accent, #f2722b);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.vb-form-submit-btn:hover {
  background: var(--vb-accent-hover, #d95e1a);
}

.vb-form-submit-btn:active {
  transform: scale(0.99);
}

.vb-form-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.vb-form-feedback.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Responsive Rules */
@media (max-width: 991px) {
  .vb-help-mobile-nav {
    display: block;
  }

  .vb-help-sidebar {
    display: none;
  }

  .vb-help-content-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .vb-contacts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vb-contact-item-website {
    grid-column: span 1;
  }

  .vb-form-row-2col {
    grid-template-columns: 1fr;
  }
}

