/* Corporate Tax & ERP Specific Styles */

/* Hero Section */
.tax-hero {
  background: linear-gradient(135deg, #004e64 0%, #007c91 100%);
  color: white;
  padding: 3rem 0;
}

.tax-hero .hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.tax-hero .hero-text {
  flex: 1;
  min-width: 300px;
}

.tax-hero .hero-image {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tax-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.tax-hero .article-category {
  background: rgba(255,255,255,0.2);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.tax-hero .article-meta {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.tax-hero .article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tax-hero .tag {
  background: rgba(255,255,255,0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* Key Takeaways */
.key-takeaways {
  background: #f7fafd;
  border-left: 4px solid #00aaff;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.key-takeaways h3 {
  margin-top: 0;
  color: #004e64;
}

.key-takeaways ul {
  padding-left: 1.5rem;
}

.key-takeaways li {
  margin-bottom: 0.5rem;
  position: relative;
}

.key-takeaways li:before {
  content: "•";
  color: #00aaff;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Tax Rates */
.tax-rates {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: center;
}

.rate-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 150px;
  max-width: 250px;
}

.rate-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #004e64;
  margin-bottom: 0.5rem;
}

.rate-description {
  font-size: 0.9rem;
  color: #666;
}

/* Timeline */
.tax-timeline {
  margin: 2rem 0;
}

.tax-timeline h3 {
  color: #004e64;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-item {
  display: flex;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  background: #00aaff;
  border-radius: 50%;
}

.timeline-item:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 15px;
  width: 1px;
  height: calc(100% + 1rem);
  background: #ddd;
}

.timeline-item:last-child:after {
  display: none;
}

.timeline-date {
  font-weight: bold;
  min-width: 100px;
  color: #004e64;
}

.timeline-content {
  flex: 1;
}

/* Tax Considerations */
.tax-considerations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.consideration-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.consideration-card i {
  font-size: 1.5rem;
  color: #00aaff;
  margin-bottom: 1rem;
  display: inline-block;
}

.consideration-card h4 {
  margin: 0.5rem 0;
  color: #004e64;
}

.consideration-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* ERP Benefits Grid */
.erp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: #f0f9ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: #00aaff;
}

.benefit-card h3 {
  margin: 0.5rem 0;
  color: #004e64;
  font-size: 1.2rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Case Study */
.case-study {
  background: #f7fafd;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid #e1e8ed;
}

.case-study h3 {
  margin-top: 0;
  color: #004e64;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.result-card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.result-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #004e64;
}

.result-label {
  font-size: 0.8rem;
  color: #666;
}

/* Accordion */
.feature-accordion {
  margin: 2rem 0;
}

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  padding: 1rem 1.5rem;
  background: #f7fafd;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-weight: 500;
  color: #004e64;
}

.accordion-button:hover {
  background: #eef5f9;
}

.accordion-button i.fa-chevron-down {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.accordion-button.active i.fa-chevron-down {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
  padding: 1rem 1.5rem 1.5rem;
  max-height: 500px;
}

.accordion-content ul {
  padding-left: 1.5rem;
}

.accordion-content li {
  margin-bottom: 0.5rem;
}

/* Feature Comparison Table */
.feature-comparison {
  margin: 2rem 0;
}

.feature-comparison h3 {
  color: #004e64;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.feature-comparison-table th,
.feature-comparison-table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #e1e8ed;
}

.feature-comparison-table th {
  background: #f7fafd;
  font-weight: 600;
  color: #004e64;
}

.feature-comparison-table tr:nth-child(even) {
  background: #fcfdfe;
}

.feature-comparison-table i.fa-check {
  color: #4caf50;
}

.feature-comparison-table i.fa-times {
  color: #f44336;
}

/* Implementation Steps */
.implementation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.step-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  padding-top: 3rem;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: #00aaff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-card h3 {
  margin: 0.5rem 0;
  color: #004e64;
  font-size: 1.1rem;
}

.step-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Expert Tip */
.expert-tip {
  background: #fff9e6;
  border-left: 4px solid #ffe600;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.expert-tip h3 {
  margin-top: 0;
  color: #004e64;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Resource Cards */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.resource-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
}

.resource-icon {
  width: 60px;
  height: 60px;
  background: #f0f9ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.resource-icon i {
  font-size: 1.8rem;
  color: #00aaff;
}

.resource-card h3 {
  margin: 0.5rem 0;
  color: #004e64;
}

.resource-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Search Prompts */
.search-prompts {
  margin: 2rem 0;
}

.search-prompts h4 {
  color: #004e64;
  margin-bottom: 1rem;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.prompt-card {
  background: #f7fafd;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
  color: #004e64;
  border: 1px dashed #00aaff;
  text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .tax-hero h1 {
    font-size: 2rem;
  }
  
  .tax-rates {
    flex-direction: column;
    align-items: center;
  }
  
  .rate-card {
    max-width: 100%;
  }
  
  .feature-comparison-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .tax-hero .hero-content {
    flex-direction: column;
  }
  
  .tax-hero .hero-text,
  .tax-hero .hero-image {
    min-width: 100%;
  }
  
  .results-grid {
    grid-template-columns: 1fr 1fr;
  }
}