/* SEO Services page - page scoped only. main.css is untouched. */
.seo-services-page .seo-media-card,
.seo-services-page .seo-feature-image {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(13, 53, 64, .12);
}

.seo-services-page .seo-media-card img,
.seo-services-page .seo-feature-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.seo-services-page .seo-media-card:hover img,
.seo-services-page .seo-feature-image:hover img {
  transform: scale(1.03);
}

.seo-services-page .seo-card,
.seo-services-page .seo-mini-card,
.seo-services-page .seo-business-card {
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(13, 53, 64, .12);
  border-radius: 18px;
  background: var(--tj-color-common-white, #fff);
  transition: all .35s ease;
}

.seo-services-page .seo-card:hover,
.seo-services-page .seo-mini-card:hover,
.seo-services-page .seo-business-card:hover {
  transform: translateY(-6px);
  background: #0d3540 !important;
  background-color: #0d3540 !important;
  color: #ffffff !important;
}

.seo-services-page .seo-card:hover h4,
.seo-services-page .seo-card:hover p,
.seo-services-page .seo-mini-card:hover h4,
.seo-services-page .seo-mini-card:hover p,
.seo-services-page .seo-business-card:hover h3,
.seo-services-page .seo-business-card:hover p {
  color: #fff !important;
}

/* ICON-ONLY FIX: buttons, hero, header and first-section layout are untouched. */
.seo-services-page .seo-card-icon>i,
.seo-services-page .seo-mini-card>i {
  opacity: 1 !important;
  visibility: visible !important;
  color: #0d3540 !important;
}

.seo-services-page .seo-card-icon>i::before,
.seo-services-page .seo-mini-card>i::before {
  opacity: 1 !important;
  visibility: visible !important;
  color: #0d3540 !important;
}

.seo-services-page .seo-card:hover .seo-card-icon>i,
.seo-services-page .seo-card:hover .seo-card-icon>i::before,
.seo-services-page .seo-mini-card:hover>i,
.seo-services-page .seo-mini-card:hover>i::before {
  opacity: 1 !important;
  visibility: visible !important;
  color: #ffffff !important;
}

.seo-services-page .seo-card h4,
.seo-services-page .seo-mini-card h4,
.seo-services-page .seo-business-card h3 {
  margin-bottom: 12px;
}

.seo-services-page .seo-card p,
.seo-services-page .seo-mini-card p,
.seo-services-page .seo-business-card p {
  margin: 0;
}

.seo-services-page .seo-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 25px;
}

.seo-services-page .seo-check-grid>div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 16px;
  border-radius: 12px;
  background: #f1f6f6;
}

.seo-services-page .seo-check-grid i {
  margin-top: 3px;
  color: var(--tj-color-theme-primary, #159b9b);
}

.seo-services-page .seo-business-card {
  position: relative;
  padding-top: 42px;
}

.seo-services-page .seo-business-card>span {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 14px;
  font-weight: 700;
  opacity: .55;
}

.seo-services-page .seo-pricing-table-wrap {
  overflow-x: auto;
  margin-top: 30px;
  border-radius: 16px;
}

.seo-services-page .seo-pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(13, 53, 64, .12);
  border-radius: 16px;
  min-width: 700px;
}

.seo-services-page .seo-pricing-table th,
.seo-services-page .seo-pricing-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(13, 53, 64, .1);
}

.seo-services-page .seo-pricing-table th {
  background: var(--tj-color-theme-dark, #0d3540);
  color: #fff;
  font-weight: 600;
}

.seo-services-page .seo-pricing-table tr:last-child td {
  border-bottom: 0;
}

.seo-services-page .seo-pricing-table tbody tr:hover td {
  background: #f1f6f6;
}

.seo-services-page .seo-cta-box {
  padding: 60px 8%;
  border-radius: 24px;
  background: #eaf2f3;
  border: 1px solid rgba(13, 53, 64, .1);
}

.seo-services-page .seo-cta-box h2 {
  margin: 12px 0 15px;
}

.seo-services-page .seo-cta-box p {
  max-width: 760px;
  margin: 0 auto 25px;
}

@media (max-width:767px) {
  .seo-services-page .seo-check-grid {
    grid-template-columns: 1fr;
  }

  .seo-services-page .seo-card,
  .seo-services-page .seo-mini-card,
  .seo-services-page .seo-business-card {
    padding: 24px;
  }

  .seo-services-page .seo-cta-box {
    padding: 40px 22px;
  }
}

.about-page .header-area.header-absolute {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
}

.header-area.header-2 .header-wrapper {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}


/* FINAL ICON COLOR FIX - matches AI SEO page behavior */
.seo-services-page .seo-card-icon>i,
.seo-services-page .seo-mini-card>i {
  color: #0d3540 !important;
  -webkit-text-fill-color: #0d3540 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.seo-services-page .seo-card-icon>i::before,
.seo-services-page .seo-mini-card>i::before {
  color: #0d3540 !important;
  -webkit-text-fill-color: #0d3540 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.seo-services-page .seo-card:hover .seo-card-icon>i,
.seo-services-page .seo-card:hover .seo-card-icon>i::before,
.seo-services-page .seo-mini-card:hover>i,
.seo-services-page .seo-mini-card:hover>i::before {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}


/* FINAL ICON SIZE FIX */
.seo-services-page .seo-card-icon>i,
.seo-services-page .seo-mini-card>i {
  font-size: 30px !important;
  line-height: 1 !important;
}

.seo-services-page .seo-card-icon>i::before,
.seo-services-page .seo-mini-card>i::before {
  font-size: 30px !important;
  line-height: 1 !important;
}

/* SEO pricing - two box design */
.seo-pricing .seo-pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 35px;
}

.seo-pricing .seo-plan-card {
  height: 100%;
  padding: 32px;
  background: #edf3f4;
  border: 1px solid rgba(18, 63, 74, .12);
  border-radius: 14px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.seo-pricing .seo-plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(18, 63, 74, .10);
}

.seo-pricing .seo-plan-card .plan-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 30px;
  background: #fff;
  color: #123f4a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.seo-pricing .seo-plan-card h3 {
  margin-bottom: 12px;
  color: #123f4a;
  font-size: 24px;
}

.seo-pricing .seo-plan-card .plan-description {
  margin-bottom: 22px;
  color: #657377;
  line-height: 1.7;
}

.seo-pricing .seo-plan-card h5 {
  margin-bottom: 14px;
  color: #123f4a;
  font-size: 16px;
}

.seo-pricing .seo-plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-pricing .seo-plan-card ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 13px;
  color: #657377;
  line-height: 1.6;
}

.seo-pricing .seo-plan-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #123f4a;
  font-weight: 700;
}

.seo-pricing .seo-plan-card .business-type {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 63, 74, .12);
  color: #657377;
  line-height: 1.7;
}

.seo-pricing .seo-plan-card .business-type strong {
  color: #123f4a;
}

@media (max-width: 767px) {
  .seo-pricing .seo-pricing-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .seo-pricing .seo-plan-card {
    padding: 26px 22px;
  }
}

/* SEO Pricing section - 3 boxes in one row */
.seo-pricing .seo-pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.seo-pricing .seo-plan-card {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Tablet and mobile */
@media (max-width: 767px) {
  .seo-pricing .seo-pricing-cards {
    grid-template-columns: 1fr;
  }
}
