/* Custom styles for Smart Solutions Pages - Warm Glass & Gold Aesthetics */

:root {
  --glow-cyan: rgba(201, 148, 76, 0.35);
  --solid-cyan: #c9944c; /* Gold/Bronze accent */
  --dark-accent: #101820; /* Deep navy/charcoal black */
  --light-bg: #f8f4ee; /* Warm beige */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-dark-bg: rgba(16, 24, 32, 0.85);
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --transition: all 0.3s ease-in-out;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(201, 148, 76, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(201, 148, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 148, 76, 0); }
}

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

.float-element {
  animation: float 6s ease-in-out infinite;
}

/* Solution Layout */
.solution-layout {
  position: relative;
  scroll-behavior: smooth;
  color: #101820;
}

/* 1. Hero Section */
.sol-hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #03050b 0%, #111a25 48%, #09121f 100%);
  padding: 110px 0 130px 0;
  overflow: hidden;
}

.sol-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 148, 76, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sol-hero-title {
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.sol-hero-title span {
  background: linear-gradient(135deg, #fff 30%, var(--solid-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sol-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--solid-cyan);
  margin-bottom: 15px;
}

.sol-hero p.lead {
  color: rgba(255, 255, 255, 0.85) !important;
}

.sol-hero p.text-secondary {
  color: rgba(255, 255, 255, 0.65) !important;
}

.hero-highlights {
  list-style: none;
  padding-left: 0;
  margin: 25px 0 35px 0;
}

.hero-highlights li {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-highlights li i {
  color: var(--solid-cyan);
  background: rgba(201, 148, 76, 0.2);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Glassmorphism Cards */
.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--solid-cyan);
  box-shadow: 0 30px 70px rgba(201, 148, 76, 0.25);
}

/* Floating Image Overlay */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
}

.hero-main-img {
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  width: 100%;
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 70%;
  animation: float 5s ease-in-out infinite;
  border-radius: var(--border-radius-md) !important;
}

.hero-floating-card img {
  border-radius: 12px;
}

/* 2. Introduction Section */
.sol-intro {
  padding: 95px 0;
  background-color: var(--light-bg);
}

.sol-intro .heading h2 {
  color: var(--dark-accent);
}

.sol-intro .heading span {
  color: var(--solid-cyan);
  font-weight: 700;
  letter-spacing: 1px;
}

.sol-intro .line {
  background: var(--solid-cyan);
}

.sol-intro-img {
  border-radius: var(--border-radius-lg);
  width: 100%;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(16,24,32,0.1);
  transition: var(--transition);
}

.sol-intro-img:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 60px rgba(201, 148, 76, 0.15);
}

/* Premium Styling for dynamic introduction content */
.intro-body-text {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #334155 !important;
}

.intro-body-text p {
  margin-bottom: 20px;
}

/* Key Operational Highlights title styling */
.intro-body-text > b:first-of-type,
.intro-body-text > strong:first-of-type {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-accent);
  margin-top: 35px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-left: 4px solid var(--solid-cyan);
  padding-left: 12px;
}

/* Dynamic list design */
.intro-body-text ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.intro-body-text li {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(201, 148, 76, 0.12);
  border-radius: var(--border-radius-md);
  padding: 20px 25px 20px 60px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(16, 24, 32, 0.01);
  line-height: 1.6;
}

.intro-body-text li:hover {
  background: #fff;
  border-color: var(--solid-cyan);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(201, 148, 76, 0.1);
}

/* Modern gold checkmark icon for each point */
.intro-body-text li::before {
  content: '\f058'; /* FontAwesome check-circle unicode */
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
  font-weight: 900;
  color: var(--solid-cyan);
  font-size: 1.35rem;
  position: absolute;
  left: 20px;
  top: 18px;
  transition: var(--transition);
}

.intro-body-text li:hover::before {
  transform: scale(1.1);
  color: #a5783c;
}

/* Bold title inside the bullet point */
.intro-body-text li b,
.intro-body-text li strong {
  color: var(--dark-accent);
  font-weight: 700;
  font-size: 1.05rem;
}

/* 3. Problems Section */
.sol-problems {
  padding: 95px 0;
  background: #fff;
}

.sol-problems .heading span {
  color: var(--solid-cyan);
  font-weight: 700;
}

.sol-problems .line {
  background: var(--solid-cyan);
}

.problem-card {
  height: 100%;
  background: #fff;
  border-radius: var(--border-radius-md);
  padding: 35px 25px;
  border: 1px solid #ece6dc;
  box-shadow: 0 15px 40px rgba(16,24,32,0.04);
  transition: var(--transition);
}

.problem-card:hover {
  transform: translateY(-8px);
  border-color: var(--solid-cyan);
  box-shadow: 0 25px 60px rgba(201, 148, 76, 0.15);
}

.problem-icon {
  background: rgba(201, 148, 76, 0.1);
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--solid-cyan);
  transition: var(--transition);
}

.problem-card:hover .problem-icon {
  background: var(--solid-cyan);
  color: #fff;
}

.problem-icon img {
  max-width: 32px;
  max-height: 32px;
  filter: brightness(0.4);
}

.problem-card:hover .problem-icon img {
  filter: brightness(0) invert(1);
}

/* 4. Benefits Section */
.sol-benefits {
  padding: 95px 0;
  background-color: var(--dark-accent);
  color: #fff;
}

.sol-benefits .heading span {
  color: var(--solid-cyan);
  font-weight: 700;
}

.sol-benefits .heading h2 {
  color: #fff;
}

.sol-benefits .line {
  background: var(--solid-cyan);
}

.benefit-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 30px;
  height: 100%;
  transition: var(--transition);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--solid-cyan);
  transform: translateY(-5px);
}

.benefit-icon {
  color: var(--solid-cyan);
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: inline-block;
}

/* 5. Key Features Explorer */
.sol-features {
  padding: 95px 0;
  background: #fff;
}

.sol-features .heading span {
  color: var(--solid-cyan);
  font-weight: 700;
}

.sol-features .line {
  background: var(--solid-cyan);
}

.features-explorer {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.features-nav {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.features-content {
  flex: 1;
  background: #fcfbfa;
  border: 1px solid #ece6dc;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  min-height: 400px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.01);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-nav-item {
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: var(--border-radius-md);
  padding: 20px 25px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark-accent);
}

.feature-nav-item:hover, .feature-nav-item.active {
  border-color: var(--solid-cyan);
  background: rgba(201, 148, 76, 0.06);
  box-shadow: 0 10px 25px rgba(201, 148, 76, 0.08);
  color: var(--solid-cyan);
}

.feature-nav-item i {
  color: #bfa585;
  transition: var(--transition);
}

.feature-nav-item.active i, .feature-nav-item:hover i {
  color: var(--solid-cyan);
  transform: scale(1.15);
}

.feature-pane {
  display: none;
  animation: slideInRight 0.4s ease forwards;
}

.feature-pane.active {
  display: block;
}

.feature-pane h3 {
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark-accent);
}

.feature-pane-img {
  border-radius: var(--border-radius-md);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  width: 100%;
}

/* 6. Workflow Timeline */
.sol-workflow {
  padding: 95px 0;
  background: var(--light-bg);
}

.sol-workflow .heading span {
  color: var(--solid-cyan);
  font-weight: 700;
}

.sol-workflow .line {
  background: var(--solid-cyan);
}

.workflow-timeline {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0 auto;
  padding-left: 50px;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--solid-cyan) 0%, var(--dark-accent) 100%);
  border-radius: 2px;
}

.workflow-step {
  position: relative;
  margin-bottom: 50px;
}

.workflow-step:last-child {
  margin-bottom: 0;
}

.workflow-number {
  position: absolute;
  left: -50px;
  top: 5px;
  width: 36px;
  height: 36px;
  background: var(--dark-accent);
  color: var(--solid-cyan);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--solid-cyan);
  box-shadow: 0 0 12px rgba(201, 148, 76, 0.4);
}

.workflow-content {
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: var(--border-radius-md);
  padding: 25px;
  box-shadow: 0 8px 25px rgba(16,24,32,0.02);
}

.workflow-content h4 {
  color: var(--dark-accent);
  font-weight: 700;
}

/* 7. Industries Section */
.sol-industries {
  padding: 95px 0;
  background: #fff;
}

.sol-industries .heading span {
  color: var(--solid-cyan);
  font-weight: 700;
}

.sol-industries .line {
  background: var(--solid-cyan);
}

.industry-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  height: 250px;
  box-shadow: 0 15px 35px rgba(16,24,32,0.08);
  margin-bottom: 30px;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,24,32,0.95) 0%, rgba(16,24,32,0.2) 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: #fff;
}

.industry-card:hover img {
  transform: scale(1.1);
}

.industry-card h4 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 5px;
}

.industry-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.8;
}

/* 8. Detailed Description */
.sol-description-rich {
  padding: 95px 0;
  background: #fff;
}

.rich-content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 60px !important;
  background: #fff;
  border-left: 5px solid var(--solid-cyan) !important;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 60px rgba(16, 24, 32, 0.04);
}

.rich-content-wrapper h3 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--dark-accent);
  line-height: 1.25;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.rich-content-wrapper .intro-p {
  font-size: 1.12rem;
  line-height: 1.9;
  color: #475569;
  margin-bottom: 35px;
}

.rich-content-wrapper .highlights-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-accent);
  margin-top: 40px;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-left: 4px solid var(--solid-cyan);
  padding-left: 14px;
}

.rich-content-wrapper .highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .rich-content-wrapper .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rich-content-wrapper .highlight-card {
  background: #fdfbf7;
  border: 1px solid rgba(201, 148, 76, 0.12);
  border-radius: var(--border-radius-md);
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(16, 24, 32, 0.01);
}

.rich-content-wrapper .highlight-card:hover {
  background: #fff;
  border-color: var(--solid-cyan);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(201, 148, 76, 0.12);
}

.rich-content-wrapper .highlight-icon {
  background: rgba(201, 148, 76, 0.08);
  color: var(--solid-cyan);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
}

.rich-content-wrapper .highlight-card:hover .highlight-icon {
  background: var(--solid-cyan);
  color: #fff;
  transform: scale(1.05);
}

.rich-content-wrapper .highlight-content h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-accent);
  margin-bottom: 8px;
}

.rich-content-wrapper .highlight-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .rich-content-wrapper {
    padding: 30px 25px !important;
  }
  .rich-content-wrapper h3 {
    font-size: 1.8rem;
  }
}

.rich-content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.rich-content-wrapper table th, .rich-content-wrapper table td {
  border: 1px solid #ece6dc;
  padding: 12px;
}

.rich-content-wrapper table th {
  background-color: var(--light-bg);
  color: var(--dark-accent);
}

/* 9. Testimonials */
.sol-testimonials {
  padding: 95px 0;
  background: var(--light-bg);
}

.sol-testimonials .heading span {
  color: var(--solid-cyan);
  font-weight: 700;
}

.sol-testimonials .line {
  background: var(--solid-cyan);
}

/* 10. FAQ & Accordion search */
.sol-faqs {
  padding: 95px 0;
  background: #fff;
}

.sol-faqs .heading span {
  color: var(--solid-cyan);
  font-weight: 700;
}

.sol-faqs .line {
  background: var(--solid-cyan);
}

.faq-search-wrapper {
  max-width: 500px;
  margin: 0 auto 40px auto;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 15px 25px 15px 50px;
  border-radius: 50px;
  border: 1px solid #ece6dc;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(16,24,32,0.02);
}

.faq-search-input:focus {
  border-color: var(--solid-cyan);
  outline: none;
  box-shadow: 0 8px 30px rgba(201, 148, 76, 0.25);
}

.faq-search-wrapper i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #bfa585;
  font-size: 1.2rem;
}

.accordion-item {
  border-radius: 12px !important;
  margin-bottom: 15px;
  border: 1px solid #ece6dc !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.accordion-button {
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: var(--dark-accent) !important;
  padding: 20px !important;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(201, 148, 76, 0.07) !important;
  color: var(--solid-cyan) !important;
  box-shadow: none !important;
}

/* 11. CTA Section */
.sol-cta {
  padding: 110px 0;
  background: linear-gradient(135deg, #101820 0%, #03050b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sol-cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-size: cover;
  background-position: center;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.sol-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.sol-cta h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 25px;
}

.sol-cta p {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 40px;
}

.btn-cyan {
  background-color: var(--solid-cyan);
  color: #fff !important;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 8px 25px var(--glow-cyan);
}

.btn-cyan:hover {
  transform: translateY(-3px);
  background-color: #fff;
  color: var(--dark-accent) !important;
  box-shadow: 0 10px 30px rgba(255,255,255,0.4);
}

/* Sticky Table of Contents Navigation */
.sol-toc-nav {
  position: sticky;
  top: 90px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #ece6dc;
  box-shadow: 0 8px 25px rgba(16,24,32,0.03);
}

.sol-toc-list {
  display: flex;
  justify-content: flex-start; /* Fallback for older browsers */
  justify-content: safe center; /* Center when items fit, start from left when they overflow */
  list-style: none;
  padding: 0 15px 8px 15px;
  margin: 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--solid-cyan) rgba(16, 24, 32, 0.05);
}

/* Custom scrollbar styling for webkit browsers */
.sol-toc-list::-webkit-scrollbar {
  height: 6px;
}

.sol-toc-list::-webkit-scrollbar-track {
  background: rgba(16, 24, 32, 0.05);
  border-radius: 10px;
}

.sol-toc-list::-webkit-scrollbar-thumb {
  background: var(--solid-cyan);
  border-radius: 10px;
  transition: var(--transition);
}

.sol-toc-list::-webkit-scrollbar-thumb:hover {
  background: #a5783c;
}

.sol-toc-link {
  display: inline-block;
  padding: 20px 25px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #66717d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.sol-toc-link:hover, .sol-toc-link.active {
  color: var(--solid-cyan);
  border-bottom-color: var(--solid-cyan);
  text-decoration: none;
}

/* Responsive styles */
@media (max-width: 991px) {
  .features-explorer {
    flex-direction: column;
  }
  .features-nav {
    flex: 1 1 auto;
  }
  .sol-hero-title {
    font-size: 2.8rem;
  }
  .sol-cta h2 {
    font-size: 2.3rem;
  }
}
