/* =============================================
   SOFA PAGE SPECIFIC STYLES
   Used Sofa Buyer in Chennai - Complete Styles
   ============================================= */

/* Sub Banner for Sofa Page */
.sub-banner {
  background: linear-gradient(135deg, rgba(0, 105, 92, 0.9), rgba(255, 111, 0, 0.8)), url('../img/page-heading-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
  color: white;
  text-align: center;
}

.sub-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.breadcrumb-custom {
  background: transparent;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.breadcrumb-custom .breadcrumb-item {
  color: rgba(255,255,255,0.8);
}

.breadcrumb-custom .breadcrumb-item.active {
  color: white;
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.6);
  content: "/";
}

.breadcrumb-custom a {
  color: white;
  text-decoration: none;
}

.breadcrumb-custom a:hover {
  text-decoration: underline;
}

/* Enhanced Image Block */
.image-block {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.main-image {
  position: relative;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: var(--primary-orange);
  color: var(--pure-white);
  padding: 20px 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.experience-badge span {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.experience-badge small {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
}

.floating-card {
  position: absolute;
  background: var(--pure-white);
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.floating-card.top-right {
  top: -20px;
  right: -20px;
  max-width: 200px;
}

.floating-card.bottom-left {
  bottom: -20px;
  left: -20px;
  max-width: 180px;
}

.floating-card .icon {
  width: 50px;
  height: 50px;
  background: var(--primary-teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-card .icon i {
  font-size: 1.5rem;
  color: var(--pure-white);
}

.floating-card .text h5 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.floating-card .text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
}

/* How It Works Section */
.how-it-works-section {
  background: var(--light-grey);
  padding: 100px 0;
  position: relative;
}

.process-steps-wrapper {
  padding: 20px 0;
}

.process-step-card {
  display: flex;
  margin-bottom: 50px;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.6s ease forwards;
}

.process-step-card:nth-child(1) { animation-delay: 0.2s; }
.process-step-card:nth-child(2) { animation-delay: 0.4s; }
.process-step-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-number {
  flex: 0 0 80px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-right: 30px;
}

.step-number span {
  width: 60px;
  height: 60px;
  background: var(--primary-teal);
  color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.step-line {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 2px;
  height: 80px;
  background: rgba(0, 105, 92, 0.3);
  transform: translateX(-50%);
  z-index: 1;
}

.process-step-card:last-child .step-line {
  display: none;
}

.step-content {
  flex: 1;
  background: var(--pure-white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s ease;
}

.step-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 105, 92, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon i {
  font-size: 1.5rem;
  color: var(--primary-teal);
}

.step-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.step-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.step-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 105, 92, 0.05);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.step-feature-item i {
  font-size: 1rem;
  color: var(--primary-teal);
}

/* Process Visual Wrapper */
.process-visual-wrapper {
  position: relative;
  height: 100%;
}

.process-image-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
}

.process-image-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--pure-white);
  padding: 30px;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.process-image-main:hover .image-overlay {
  transform: translateY(0);
}

.overlay-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.overlay-content p {
  margin: 0;
  opacity: 0.9;
}

.process-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-item {
  background: var(--pure-white);
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-teal);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.process-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.feature-card {
  background: var(--primary-teal);
  color: var(--pure-white);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--primary-orange);
  transform: translateY(-3px);
}

.feature-card i {
  font-size: 1.5rem;
}

.feature-card span {
  font-weight: 600;
}

/* Enhanced FAQ Section */
.faq-section-enhanced {
  background: var(--warm-white);
  padding: 100px 0;
  position: relative;
}

.faq-wrapper {
  max-width: 100%;
}

.faq-item {
  background: var(--pure-white);
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 105, 92, 0.02);
}

.faq-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.faq-icon i {
  font-size: 1.3rem;
  color: var(--pure-white);
}

.faq-question h4 {
  flex: 1;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.faq-toggle {
  width: 35px;
  height: 35px;
  background: rgba(0, 105, 92, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.faq-toggle i {
  font-size: 1.1rem;
  color: var(--primary-teal);
  transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
  background: var(--primary-teal);
  transform: rotate(45deg);
}

.faq-item.active .faq-toggle i {
  color: var(--pure-white);
}

.faq-item.active .faq-question {
  background: rgba(0, 105, 92, 0.05);
}

.faq-answer {
  display: none;
  padding: 0 30px 30px 30px;
  background: rgba(0, 105, 92, 0.02);
  border-top: 1px solid rgba(0, 105, 92, 0.1);
}

.answer-content {
  color: var(--text-secondary);
  line-height: 1.7;
}

.answer-content p {
  margin-bottom: 15px;
}

.answer-content ul {
  margin: 15px 0;
  padding-left: 0;
  list-style: none;
}

.answer-content ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 25px;
}

.answer-content ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-weight: bold;
}

.pricing-factors,
.service-highlights {
  display: grid;
  gap: 15px;
  margin: 20px 0;
}

.factor-item,
.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: rgba(0, 105, 92, 0.05);
  border-radius: 10px;
  border-left: 3px solid var(--primary-teal);
}

.factor-item i,
.highlight-item i {
  font-size: 1.2rem;
  color: var(--primary-teal);
}

.condition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.condition-item {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.condition-item.excellent {
  background: rgba(76, 175, 80, 0.1);
  border-color: #4CAF50;
}

.condition-item.good {
  background: rgba(255, 193, 7, 0.1);
  border-color: #FFC107;
}

.condition-item.fair {
  background: rgba(255, 152, 0, 0.1);
  border-color: #FF9800;
}

.condition-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.condition-item.excellent .condition-icon {
  background: #4CAF50;
  color: white;
}

.condition-item.good .condition-icon {
  background: #FFC107;
  color: white;
}

.condition-item.fair .condition-icon {
  background: #FF9800;
  color: white;
}

.condition-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.condition-item p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}

.timeline-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: rgba(0, 105, 92, 0.05);
  border-radius: 10px;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-icon i {
  font-size: 1.1rem;
  color: var(--pure-white);
}

.timeline-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* FAQ Sidebar */
.faq-sidebar {
  position: sticky;
  top: 100px;
}

.faq-help-card,
.faq-stats-card {
  background: var(--pure-white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  text-align: center;
}

.help-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.help-icon i {
  font-size: 1.8rem;
  color: var(--pure-white);
}

.faq-help-card h4,
.faq-stats-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.faq-help-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 25px;
}

.help-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.help-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.help-btn:first-child {
  background: var(--primary-teal);
  color: var(--pure-white);
}

.help-btn.whatsapp {
  background: #25D366;
  color: var(--pure-white);
}

.help-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--pure-white);
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: rgba(0, 105, 92, 0.05);
  border-radius: 8px;
}

.stat-row i {
  font-size: 1.2rem;
  color: var(--primary-teal);
}

.stat-row span {
  font-weight: 500;
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-card {
    position: relative;
    margin: 20px 0;
    max-width: none !important;
  }
  
  .floating-card.top-right,
  .floating-card.bottom-left {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }
  
  .experience-badge {
    top: 20px;
    right: 20px;
    padding: 15px 20px;
  }
  
  .experience-badge span {
    font-size: 2rem;
  }
  
  .process-step-card {
    flex-direction: column;
    margin-bottom: 40px;
  }
  
  .step-number {
    flex: none;
    margin-right: 0;
    margin-bottom: 20px;
    justify-content: flex-start;
  }
  
  .step-line {
    display: none;
  }
  
  .process-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .process-features-grid {
    grid-template-columns: 1fr;
  }
  
  .condition-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-question h4 {
    font-size: 1.1rem;
  }
  
  .faq-answer {
    padding: 0 20px 25px 20px;
  }
  
  .answer-content {
    padding: 0;
  }
  
  .faq-sidebar {
    position: static;
    margin-top: 40px;
  }
  
  .step-features {
    gap: 10px;
  }
  
  .step-feature-item {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}
