/* ERP UAE Article Styles */
.article-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 0;
  margin-bottom: 40px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-category {
  display: inline-block;
  background: #3498db;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}

.article-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #6c757d;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.tag {
  background: #e9ecef;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: #495057;
}

.article-content {
  margin-bottom: 60px;
}

.content-wrapper {
  display: flex;
  gap: 40px;
}

.main-content {
  flex: 2;
}

.article-sidebar {
  flex: 1;
}

.article-intro .lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 30px;
}

.quick-nav {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 40px;
}

.quick-nav h3 {
  margin-bottom: 20px;
  color: #2c3e50;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 20px 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  color: #495057;
  text-decoration: none;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  color: #3498db;
}

.nav-card i {
  font-size: 24px;
  margin-bottom: 10px;
  color: #3498db;
}

.nav-card span {
  font-weight: 500;
}

.content-section {
  margin-bottom: 50px;
}

.content-section h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.content-section h2 i {
  margin-right: 10px;
  color: #3498db;
}

.content-section h3 {
  color: #2c3e50;
  margin: 25px 0 15px;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.strategy-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.strategy-card i {
  font-size: 40px;
  color: #3498db;
  margin-bottom: 15px;
}

.strategy-card h3 {
  margin: 10px 0;
  color: #2c3e50;
}

.feature-list ul {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
}

.feature-list li i {
  color: #28a745;
  margin-right: 10px;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.software-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.software-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.software-card i {
  font-size: 40px;
  color: #3498db;
  margin-bottom: 15px;
}

.software-card h4 {
  margin: 10px 0;
  color: #2c3e50;
}

.case-study-box {
  background: #e8f4fc;
  border-left: 4px solid #3498db;
  padding: 25px;
  border-radius: 8px;
  margin: 25px 0;
}

.case-study-box h4 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.case-study-box h4 i {
  margin-right: 10px;
  color: #3498db;
}

.case-study-box ul {
  margin: 15px 0;
  padding-left: 20px;
}

.selection-guide {
  margin: 30px 0;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.step-number {
  background: #3498db;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content h3 {
  margin-top: 0;
  color: #2c3e50;
}

.comparison-table-container {
  overflow-x: auto;
  margin: 30px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table i.fa-check-circle {
  color: #28a745;
}

.comparison-table i.fa-times-circle {
  color: #dc3545;
}

.erp-solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.erp-solution-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.erp-solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.erp-logo {
  background: #3498db;
  padding: 25px;
  text-align: center;
}

.erp-logo i {
  font-size: 50px;
  color: white;
}

.erp-solution-card h3 {
  padding: 20px 20px 10px;
  margin: 0;
  color: #2c3e50;
}

.erp-details {
  padding: 0 20px;
}

.erp-details p {
  margin: 10px 0;
  font-size: 14px;
}

.erp-details strong {
  color: #2c3e50;
}

.erp-solution-card .btn-small {
  display: block;
  margin: 20px;
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.process-step {
  text-align: center;
  padding: 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.step-icon {
  width: 70px;
  height: 70px;
  background: #e8f4fc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon i {
  font-size: 30px;
  color: #3498db;
}

.process-step h4 {
  margin: 0 0 15px;
  color: #2c3e50;
}

.faq-container {
  margin: 30px 0;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  color: #2c3e50;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 0 20px 20px;
  max-height: 500px;
}

.conclusion-section {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  margin: 40px 0;
}

.expert-tip {
  background: #fff4e6;
  border-left: 4px solid #ffa94d;
  padding: 25px;
  border-radius: 8px;
  margin: 25px 0;
}

.expert-tip h3 {
  color: #2c3e50;
  margin-top: 0;
}

.expert-tip h3 i {
  color: #ffa94d;
  margin-right: 10px;
}

.cta-box {
  background: #3498db;
  color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  margin: 25px 0;
}

.cta-box h3 {
  color: white;
  margin-top: 0;
}

.cta-box .btn-primary {
  background: white;
  color: #3498db;
  margin-top: 15px;
}

.cta-box .btn-primary:hover {
  background: #f8f9fa;
}

.search-prompts {
  margin: 25px 0;
}

.search-prompts h4 {
  margin-bottom: 15px;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.prompt-card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  text-align: center;
  font-size: 14px;
  color: #495057;
}

.related-articles {
  margin: 50px 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.related-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-content {
  padding: 20px;
}

.related-content h4 {
  margin: 0 0 10px;
  color: #2c3e50;
}

.related-content p {
  margin: 0 0 15px;
  color: #6c757d;
  font-size: 14px;
}

.related-content a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.related-content a i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.related-content a:hover i {
  transform: translateX(5px);
}

/* Sidebar Styles */
.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
  color: #2c3e50;
  margin-top: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.service-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-links li {
  margin-bottom: 10px;
}

.service-links a {
  display: flex;
  align-items: center;
  padding: 10px;
  color: #495057;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.service-links a:hover {
  background: #f8f9fa;
  color: #3498db;
}

.service-links a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.assessment-box {
  background: #e8f4fc;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.assessment-box p {
  margin: 0 0 15px;
}

.resource-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resource-links a {
  display: flex;
  align-items: center;
  padding: 10px;
  color: #495057;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.resource-links a:hover {
  background: #f8f9fa;
  color: #3498db;
}

.resource-links a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-tag {
  background: #e9ecef;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #495057;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .quick-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
  
  .article-sidebar {
    position: static;
  }
  
  .article-hero h1 {
    font-size: 2rem;
  }
  
  .quick-nav-grid {
    grid-template-columns: 1fr;
  }
  
  .strategy-grid,
  .software-grid,
  .erp-solutions-grid,
  .process-steps,
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .article-hero h1 {
    font-size: 1.8rem;
  }
  
  .guide-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
}