/* Section */
.compare-section {
  position: relative;
  padding: 100px 20px;
}

.compare-section.light {
  background: var(--bg-light);
}

.compare-section.dark {
  background: var(--bg-dark);
}

/* Background Image */
.bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.compare-section.dark .bg-image {
  opacity: 0.3;
}

/* Container */
.container {
  max-width: 1100px;
  margin: auto;
  position: relative;
  z-index: 2;
}

/* Card */
.compare-card {
  background: #ffffff;
  padding: 50px;
  
}
.compare-card .text-center {
  text-align: center;
}

/* Dark mode card */
.compare-section.dark .compare-card {
  background: #ffffff;
}

/* Heading */
.compare-section h2 {
  font-size: 60px;
  line-height: 1.3;
  margin-bottom:0px;
}


.compare-card p{
  font-size:22px;
  color:#132543;
  max-width:800px;
  margin:0 auto;
  font-family:'Roboto Slab', serif;
}

.compare-card .highlight {
  color: #53BEE8;
  display: block;
  font-size: 60px;
} 

p {
  margin-top: 10px;
  opacity: 0.8;
}

.compare-card .pill-btn{
  font-size:22px;
  padding: 15px 40px;
  font-family:Hanken Grotesk;
}

/* Table */
.compare-table {
  margin-top: 40px;
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
}

/* .table-head {
  margin-bottom: 10px;
} */

.table-head .without {
  background: #CB3129;
  color: #fff;
  padding: 12px;
  border-radius: 6px 6px 0 0;
  text-align: center;
  font-size: 24px;
}

.table-head .with {
  background: #3C8A71;
  color: #fff;
  padding: 12px;
  border-radius: 6px 6px 0 0;
  text-align: center;
  font-size: 24px;
}

/* Rows */
.table-row {
  padding: 14px 0;
  border-top: 1px solid #e5e7eb;
}

.table-row .text {
  font-size: 16px;
  color:#29446D;
  max-width:350px;
  margin:0 auto;
  font-family: 'Inter', sans-serif;
}

.icon {
  text-align: center;
  color: #d33;
  font-size: 18px;
}

.icon.success {
  color: #3c8c6e;
}

@media (max-width: 768px) {

  .compare-card {
    padding: 25px;
  }
  
  .compare-section h2, .highlight{
    font-size:26px;
  }
  
  .compare-section p{
    font-size:18px;
    margin-top:15px;
  }
  
  .compare-table .table-row{
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
  }
  
  .danger{
    display: none;
  }

  h2 {
    font-size: 28px;
  }

  .table-head,
  .table-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .table-head {
    display: none;
  }

  .table-row {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  
  .compare-card .highlight{
    font-size:28px;
  }
  
  .compare-card .pill-btn{
    padding: 10px;
    font-size: 14px;
  }

  }

  .icon {
    text-align: left;
  }
}