:root {
  --primary-blue: #007acc;
  --dark-blue: #1f5189;
  --accent-green: #10b981;
  --light-bg: #f8f9fa;

  --my-green: #69be28;
  --my-darkgreen: #1b5e20;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    "Roboto", sans-serif;
  background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 50%, #fff3e0 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--dark-blue), var(--my-darkgreen));
  color: white;
  padding: 1.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Flex layout for header */
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-left h1 {
  margin: 0;
  font-weight: 700;
}

.header-left p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.header p {
  margin: 0.5rem 0 0 0;
  opacity: 0.95;
  font-size: 1rem;
}

/* Workflow diagram styling */
.workflow-diagram {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.workflow-step {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.workflow-step-filter {
  background: rgb(240, 243, 240) !important;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  -webkit-text-fill-color: rgb(4, 0, 0) !important;
  white-space: nowrap;
}

.workflow-step-2 {
  background: var(--my-green) !important;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.workflow-arrow {
  font-weight: 700;
}

/* Project Cards */
.project-cards {
  padding: 1rem 0 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.project-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0; /* Prevent shrinking */
}

.project-card h3 {
  color: var(--dark-blue);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0; /* Remove bottom margin since container handles spacing */
}

.project-card .subtitle {
  color: #6c757d;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Project 2 Card */
.project-card.project-2 {
  border: 1px solid var(--my-green);
}

/* Tool number background */
.project-card.project-2 .project-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--my-green), var(--my-darkgreen));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0; /* Prevent shrinking */
}

/* Project header h3 (optional) */
.project-card.project-2 h3 {
  color: var(--my-darkgreen);
}

/* Button */
.project-card.project-2 {
  background-color: var(--my-green);
  color: white;
  border: none;
}

.project-card.project-2 {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-project-2 {
  background: linear-gradient(135deg, var(--my-green), var(--my-darkgreen));
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-project-2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 81, 137, 0.4);
  color: white;
}

.btn-project-2 i {
  font-size: 1.2rem;
}

/* Format badges */

.format-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.5rem 0;
  align-items: center;
}

.format-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-input {
  background: #fef3c7;
  color: #92400e;
}

.badge-output {
  background: #d1fae5;
  color: #065f46;
}

/* Features list for Tool 1*/
.features-list-1 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.features-list-1 {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.features-list-1 li {
  padding: 0.3rem 0;
  color: #495057;
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.features-list-1 li i {
  color: var(--primary-blue);
  margin-top: 0.2rem;
}

/* Features list for Tool 2*/
.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.features-list li {
  padding: 0.3rem 0;
  color: #495057;
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.features-list li i {
  color: var(--accent-green);
  margin-top: 0.2rem;
}

.btn-project {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-project:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 81, 137, 0.4);
  color: white;
}

.btn-project i {
  font-size: 1.2rem;
}

/* ====================== */
/*        FOOTER          */
/* ====================== */
.custom-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--dark-blue), var(--my-darkgreen));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  line-height: 2;
  padding: 10px 0px;
  border-radius: 0;
  box-shadow: var(--glass-shadow), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  border-top: 1px solid var(--glass-border);
  z-index: 100;
}

.custom-footer .footer-credits {
  font-size: 0.75rem;
  color: #bfd9fa;
  font-style: normal;
  padding: 0;
  font-weight: 400;
}

/* Footer
.footer {
  background: var(--dark-blue);
  color: white;
  padding: 2rem 0;
  text-align: center;
  margin-top: auto;
}

.footer p {
  margin: 0;
  opacity: 0.9;
}
  */

/* Responsive */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }

  .project-card {
    margin-bottom: 2rem;
  }
}
