/* NFP Hero */
.nfp-hero {
  background: linear-gradient(rgba(29, 32, 36, 0.8), rgba(29, 32, 36, 0.8)),
    url("../../images/hero-bg5.jpg") center/cover no-repeat;
  height: 100vh;
  min-height: 500px;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
  margin-top: 80px;
}

.nfp-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nfp-hero .lead {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.countdown {
  background-color: rgba(255, 255, 255, 0.2);
  display: inline-block;
  padding: 15px 25px;
  border-radius: 5px;
  margin-bottom: 30px;
}

.countdown-label {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.countdown-timer {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: monospace;
}

.countdown-timer span {
  display: inline-block;
  min-width: 40px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* NFP Intro */
.nfp-intro {
  padding: 80px 0;
  background-color: white;
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-text {
  flex: 1;
  min-width: 300px;
}

.intro-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.7;
}

.intro-text ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.intro-text li {
  margin-bottom: 8px;
  color: var(--text-light);
}

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

.impact-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.impact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(57, 125, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--accent-color);
  font-size: 20px;
}

.impact-card h4 {
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.impact-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.intro-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.intro-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* NFP Components */
.nfp-components {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.component-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.component-header {
  background-color: var(--accent-color);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
}

.component-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
}

.component-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.component-body {
  padding: 20px;
}

.component-body p {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.component-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Market Impact */
.market-impact {
  padding: 80px 0;
  background-color: white;
}

.impact-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 10px;
  flex-wrap: wrap;
}

.impact-tab {
  padding: 12px 25px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.impact-tab.active {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.impact-content {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
}

.impact-content.active {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.impact-analysis {
  flex: 1;
  min-width: 300px;
}

.impact-chart {
  flex: 1;
  min-width: 300px;
}

.chart-placeholder {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.chart-placeholder img {
  width: 100%;
  border-radius: 5px;
}

.chart-caption {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

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

.reaction-header {
  background-color: #f5f5f5;
  font-weight: 600;
  color: var(--secondary-color);
}

.reaction-header,
.reaction-row {
  display: flex;
  border-bottom: 1px solid #eee;
}

.reaction-scenario,
.reaction-pair {
  padding: 12px 15px;
  flex: 1;
}

.reaction-pair.positive {
  color: #28a745;
  font-weight: 600;
}

.reaction-pair.negative {
  color: #dc3545;
  font-weight: 600;
}

.reaction-pair.neutral {
  color: #6c757d;
  font-weight: 600;
}

/* Trading Strategies */
.trading-strategies {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.strategy-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 10px;
  flex-wrap: wrap;
}

.strategy-tab {
  padding: 12px 25px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.strategy-tab.active {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.strategy-content {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
}

.strategy-content.active {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.strategy-description {
  flex: 1;
  min-width: 300px;
}

.strategy-chart {
  flex: 1;
  min-width: 300px;
}

.strategy-description h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.strategy-description p {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.7;
}

.strategy-description h4 {
  margin: 25px 0 15px;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.strategy-description ol {
  margin-bottom: 25px;
  padding-left: 20px;
}

.strategy-description li {
  margin-bottom: 10px;
  color: var(--text-light);
}

.pros-cons {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.pros,
.cons {
  flex: 1;
  min-width: 250px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.pros h5,
.cons h5 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1rem;
}

.pros ul,
.cons ul {
  padding-left: 20px;
}

.pros li,
.cons li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.pros li {
  color: #28a745;
}

.cons li {
  color: #dc3545;
}

/* Historical Data */
.historical-data {
  padding: 80px 0;
  background-color: white;
}

.data-table-container {
  overflow-x: auto;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

.data-table th {
  background-color: var(--accent-color);
  color: white;
  padding: 15px;
  text-align: left;
}

.data-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover {
  background-color: #f5f5f5;
}

.positive {
  color: #28a745;
  font-weight: 600;
}

.negative {
  color: #dc3545;
  font-weight: 600;
}

.neutral {
  color: #6c757d;
  font-weight: 600;
}

.data-analysis {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.data-analysis h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.data-analysis ul {
  padding-left: 20px;
}

.data-analysis li {
  margin-bottom: 10px;
  color: var(--text-light);
}

.data-analysis strong {
  color: var(--secondary-color);
}

/* Preparation Guide */
.preparation-guide {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.preparation-steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

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

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  flex: 1;
}

.step-content h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.step-content ul {
  padding-left: 20px;
}

.step-content li {
  margin-bottom: 8px;
  color: var(--text-light);
}

/* CTA Section */
.nfp-cta {
  padding: 80px 0;
  background-color: var(--accent-color);
  color: white;
  text-align: center;
}

.nfp-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.nfp-cta p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.btn-large {
  padding: 12px 30px;
  font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nfp-hero h1 {
    font-size: 2.5rem;
  }

  .nfp-hero .lead {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .impact-content.active,
  .strategy-content.active {
    flex-direction: column;
  }

  .impact-chart,
  .strategy-chart {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nfp-hero {
    height: 60vh;
  }

  .countdown-timer {
    font-size: 1.2rem;
  }

  .components-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .nfp-hero h1 {
    font-size: 2rem;
  }

  .countdown {
    padding: 10px 15px;
  }

  .countdown-timer {
    font-size: 1rem;
  }

  .countdown-timer span {
    min-width: 30px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 250px;
  }

  .step {
    flex-direction: column;
  }

  .step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

.btn-outline {
  background-color: transparent;
  border-color: var(--white) !important;
  color: var(--white) !important;
}

.chart-placeholder {
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.chart-placeholder svg {
  width: 100%;
  height: auto;
  max-height: 200px;
  display: block;
  margin: 0 auto;
}

.chart-caption {
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
}

/* Strategy-specific chart styling */
.breakout-chart svg {
  background: #f9f9f9;
}

.fade-chart svg {
  background: #fff9f9;
}

.straddle-chart svg {
  background: #f9f9ff;
}

.fundamental-chart svg {
  background: #f9f9f9;
}

/* Additional CSS for the market impact charts */
.impact-chart .chart-placeholder {
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.impact-chart svg {
  width: 100%;
  height: auto;
  max-height: 200px;
  display: block;
  margin: 0 auto;
}

.forex-chart svg {
  background: #f9f9ff;
}

.indices-chart svg {
  background: #f9f9f9;
}

.commodities-chart svg {
  background: #fffaf0;
}

.bonds-chart svg {
  background: #f9f9f9;
}

/* Reaction table styling */
.reaction-table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
}

.reaction-header,
.reaction-row {
  display: contents;
}

.reaction-header > div,
.reaction-row > div {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.reaction-header > div {
  background-color: #f5f5f5;
  font-weight: bold;
  text-align: center;
}

.reaction-scenario {
  background-color: #f9f9f9;
  font-weight: 500;
}

.reaction-pair {
  text-align: center;
}

.positive {
  color: #4caf50;
  font-weight: bold;
}

.negative {
  color: #f44336;
  font-weight: bold;
}

.neutral {
  color: #ff9800;
  font-weight: bold;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important ;
}
