/* Free Accessibility Tools Page Styles */

/* Header Section */
.free-accessibility-tools-header {
  background: #2c2a33;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 550px;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding-top: 0;
  padding-bottom: 0;
}

.free-accessibility-tools-header-content {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 0px;
}

/* Breadcrumbs / Subtitle */
.free-accessibility-tools-header-subtitle {
  margin-top: 60px;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0px;
}

.free-accessibility-tools-header-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a.free-accessibility-tools-header-link:hover {
  color: #ffffff;
}

.free-accessibility-tools-header-link--active {
  color: rgba(186, 255, 207, 1);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(186, 255, 207, 1);
  text-underline-offset: 5px;
}

/* Title and Description */
.free-accessibility-tools-title {
  color: #ffffff !important;
  font-weight: 400;
  font-size: 82px !important;
  line-height: 1.2;
  letter-spacing: 0.04em;
  font-family: "Inter", sans-serif;
  margin-bottom: 24px;
  margin-top: 0;
}

.free-accessibility-tools-description {
  color: #dddddd !important;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  max-width: 825px;
  margin-bottom: 40px;
}

/* Badges */
.free-accessibility-tools-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.free-accessibility-tools-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
}

.free-accessibility-tools-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .free-accessibility-tools-header {
    padding-inline: 20px;
  }
}

@media (max-width: 768px) {
  .free-accessibility-tools-title {
    font-size: 48px !important;
  }
}

@media (max-width: 480px) {
  .free-accessibility-tools-header-content {
    padding: 0 0px;
  }
  .free-accessibility-tools-title {
    font-size: 36px !important;
  }
}

/* Main Content / Tools Grid */
.free-accessibility-tools-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 0px;
}

.free-accessibility-tools-section-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 20px;
}

.free-accessibility-tools-section-header-color-contrast {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 100px;
}

.free-accessibility-tools-section-header-accessibility-overlay {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 100px;
}

.free-accessibility-tools-section-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.free-accessibility-tools-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.free-accessibility-tools-section-title {
  font-size: 44px;
  font-weight: 500;
  color: rgba(59, 63, 68, 1);
  margin: 0;
}

.free-accessibility-tools-section-description {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

.free-accessibility-tools-section-desc {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

/* Tool Cards */
.free-accessibility-tools-card {
  background: white;
  border-radius: 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 0;
  margin-bottom: 32px;
  border: 1px solid #e5e7eb;
  /* transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); */
  /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); */
  overflow: hidden;
  position: relative;
}

.free-accessibility-tools-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.02),
    rgba(99, 102, 241, 0.02)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.free-accessibility-tools-card:hover::before {
  opacity: 1;
}

.free-accessibility-tools-card-visual {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    133.16deg,
    rgba(93, 159, 103, 0.1) 0%,
    rgba(93, 159, 103, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.free-accessibility-tools-card-icon,
.free-accessibility-tools-card-image {
  width: 130px;
  height: 130px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.free-accessibility-tools-card:hover .free-accessibility-tools-card-icon,
.free-accessibility-tools-card:hover .free-accessibility-tools-card-image {
  transform: scale(1.08) rotate(3deg);
}

.free-accessibility-tools-card-visual.contrast {
  background: linear-gradient(
    129.12deg,
    rgba(215, 151, 48, 0.1) 0%,
    rgba(215, 151, 48, 0.1) 100%
  );
}

.free-accessibility-tools-card-visual.widget {
  background: linear-gradient(
    131.01deg,
    rgba(142, 86, 220, 0.1) 0%,
    rgba(142, 86, 220, 0.1) 100%
  );
}

.free-accessibility-tools-card-tag {
  position: absolute;
  top: 25px;
  left: 22px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #8b5cf6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: none;
  z-index: 2;
}

.free-accessibility-tools-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px;
  position: relative;
  z-index: 2;
}

.free-accessibility-tools-card-title {
  font-size: 28px;
  font-weight: 500;
  color: rgba(59, 63, 68, 1);
  margin-bottom: 12px;
}

.free-accessibility-tools-card-desc {
  color: rgba(107, 114, 128, 1);
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
}

.free-accessibility-tools-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}

.free-accessibility-tools-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(107, 114, 128, 1);
}

.free-accessibility-tools-feature-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.free-accessibility-tools-link {
  color: #8e56dc;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
  width: fit-content;
}

.free-accessibility-tools-link:hover {
  gap: 12px;
}

/* Why Choose Section */
.free-accessibility-tools-why-section {
  background: rgba(248, 249, 250, 1);
  padding: 80px 0;
}

.free-accessibility-tools-why-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.free-accessibility-tools-why-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: rgba(59, 63, 68, 1);
}

.free-accessibility-tools-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.free-accessibility-tools-feature-box {
  text-align: center;
}

.free-accessibility-tools-feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.free-accessibility-tools-feature-icon img {
  width: 50px;
  /* height: 32px; */
  object-fit: contain;
}

.free-accessibility-tools-feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: rgba(59, 63, 68, 1);
}

.free-accessibility-tools-feature-desc {
  margin: 0 auto;
  font-size: 15px;
  font-weight: 400;
  max-width: 222px;
  color: rgba(107, 114, 128, 1);
  line-height: 1.6;
}

/* CTA Banner */
.free-accessibility-tools-cta-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 20px;
}

.free-accessibility-tools-cta {
  background: rgba(142, 86, 220, 1);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.free-accessibility-tools-cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 1);
}

.free-accessibility-tools-cta p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.free-accessibility-tools-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.free-accessibility-tools-btn-white {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
  color: rgba(139, 92, 246, 1);
  padding: 16px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.free-accessibility-tools-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.free-accessibility-tools-btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.free-accessibility-tools-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1200px) {
  .free-accessibility-tools-content {
    padding: 60px 20px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .free-accessibility-tools-card {
    grid-template-columns: 350px 1fr;
  }

  .free-accessibility-tools-card-content {
    padding: 32px 40px;
  }
}

@media (max-width: 992px) {
  .free-accessibility-tools-card {
    grid-template-columns: 1fr;
  }

  .free-accessibility-tools-card-visual {
    width: 100%;
    min-height: 220px;
  }

  .free-accessibility-tools-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .free-accessibility-tools-title {
    font-size: 48px !important;
  }

  .free-accessibility-tools-header {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }
}

@media (max-width: 576px) {
  .free-accessibility-tools-card-tag {
    padding: 3px 13px;
  }

  .free-accessibility-tools-card-image {
    width: 100px;
    height: 100px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .free-accessibility-tools-features-grid {
    grid-template-columns: 1fr;
  }

  .free-accessibility-tools-cta-buttons {
    flex-direction: column;
  }

  .free-accessibility-tools-features-list {
    grid-template-columns: 1fr;
  }

  .free-accessibility-tools-title {
    font-size: 36px !important;
  }

  .free-accessibility-tools-card-content {
    padding: 24px;
  }

  .free-accessibility-tools-header-subtitle {
    margin-top: 40px;
  }

  .free-accessibility-tools-badges {
    gap: 16px;
  }
}
