/* Tool Directory Styles */
.tool-directory {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.directory-header {
  margin-bottom: 2rem;
  text-align: center;
}

.directory-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.directory-header .lead {
  font-size: 1.25rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Filter Controls */
.filters {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: #f1f3f5;
}

.filter-btn.active {
  background: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

/* Tool Cards */
.tools-grid,
.consumer-tools-grid,
.professional-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tool-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tool-card-header {
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid #f1f3f5;
}

.tool-card-header h2,
.tool-card-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.tool-card-header h2 a,
.tool-card-header h3 a {
  color: #2d2d2d;
  text-decoration: none;
}

.tool-card-header h2 a:hover,
.tool-card-header h3 a:hover {
  color: #0d6efd;
}

.tool-card-header p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0;
  line-height: 1.4;
}

.tool-card-body {
  padding: 0.75rem 1.25rem;
  flex-grow: 1;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  min-height: 2.25rem;
}

.tag.tool-type {
  font-size: 0.8rem;
  background-color: #e3f2fd;
  color: #1971c2;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  display: inline-block;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
  word-break: break-word;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  hyphens: auto;
  line-height: 1.4;
}

.tag.ai-driven {
  font-size: 0.8rem;
  background-color: #f3f0ff;
  color: #6741d9;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  display: inline-block;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
}

.audience:empty {
  display: none;
}

.pricing-snippet:empty {
  display: none;
}

.tool-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* If tool-meta is empty or all its children are empty, don't display it */
.tool-meta:empty,
.tool-meta:has(.audience:empty + .pricing-snippet:empty) {
  display: none;
}

.audience-tag {
  background: #e7f5ff;
  color: #1971c2;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.free-plan, .free-trial, .highlight-tag {
  background: #ebfbee;
  color: #2b8a3e;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.tool-card-footer {
  padding: 0.75rem 1.25rem 1.25rem;
  text-align: right;
}

.read-more, .btn-view-details {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  color: #0d6efd;
  text-decoration: none;
  border: 1px solid #0d6efd;
  border-radius: 4px;
  transition: all 0.2s;
}

.read-more:hover, .btn-view-details:hover {
  background: #0d6efd;
  color: white;
}

.no-results, .no-tools-message {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
}

.hidden {
  display: none;
}

/* Landing Pages Styles */
.consumer-landing,
.professionals-landing {
  margin: 0 auto;
  max-width: 1200px;
  padding: 2rem 1rem;
}

.landing-header {
  text-align: center;
  padding: 4rem 2rem 3rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05)), 
              url('/images/bg-pattern.svg');
  background-size: cover;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.landing-header h1 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  color: #2d2d2d;
  font-weight: 700;
}

.landing-header .lead {
  font-size: 1.4rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: #0d6efd;
  color: white;
  border: 1px solid #0d6efd;
}

.btn-primary:hover {
  background: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: white;
  color: #0d6efd;
  border: 1px solid #0d6efd;
}

.btn-outline:hover {
  background: rgba(13, 110, 253, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.content-wrapper h2 {
  font-size: 2.2rem;
  margin: 2.5rem 0 1.5rem;
  color: #2d2d2d;
  border-bottom: 2px solid rgba(13, 110, 253, 0.2);
  padding-bottom: 0.8rem;
}

.content-wrapper h3 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: #2d2d2d;
}

.content-wrapper p, 
.content-wrapper li {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

.content-wrapper ul {
  margin-bottom: 2rem;
}

.content-wrapper li {
  margin-bottom: 0.7rem;
}

.tool-filters {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tool-filters h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #2d2d2d;
  font-weight: 600;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filter-btn {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 50px;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
  background: #f8f9fa;
  border-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.resources-section {
  margin-bottom: 4rem;
}

.resources-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #2d2d2d;
  font-weight: 600;
  border-left: 4px solid #0d6efd;
  padding-left: 1rem;
}

.resource-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: white;
  border-radius: 12px;
  text-decoration: none;
  color: #2d2d2d;
  transition: all 0.2s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.resource-link i {
  font-size: 1.4rem;
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.1);
  padding: 0.8rem;
  border-radius: 50%;
}

.resource-link:hover {
  background: #f8f9fa;
  transform: translateX(5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.case-studies {
  margin-bottom: 3rem;
}

.case-studies h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #2d2d2d;
  font-weight: 600;
  border-left: 4px solid #0d6efd;
  padding-left: 1rem;
}

.case-study-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.case-study {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.case-study:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-study h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #2d2d2d;
  font-weight: 600;
}

.case-study p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.read-more {
  font-size: 1rem;
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.read-more:after {
  content: "→";
  margin-left: 0.4rem;
  transition: transform 0.2s;
}

.read-more:hover:after {
  transform: translateX(3px);
}

/* Professional tools grid styling */
.professional-tools-grid,
.consumer-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.tool-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tool-card-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #f1f3f5;
}

.tool-card-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.tool-card-header h3 a {
  color: #2d2d2d;
  text-decoration: none;
}

.tool-card-header h3 a:hover {
  color: #0d6efd;
}

.tool-card-header p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.tool-card-body {
  padding: 1rem 1.5rem;
  flex-grow: 1;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  background: #f8f9fa;
  color: #495057;
  font-weight: 500;
}

.tag.ai-driven {
  background: #e3f2fd;
  color: #0d47a1;
}

.tool-highlights h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: #2d2d2d;
}

.feature-list {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #555;
}

.tool-card-footer {
  padding: 1rem 1.5rem 1.5rem;
  text-align: right;
  border-top: 1px solid #f1f3f5;
}

.btn-view-details {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: #0d6efd;
  text-decoration: none;
  border: 1px solid #0d6efd;
  border-radius: 50px;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-view-details:hover {
  background: #0d6efd;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .landing-header {
    padding: 3rem 1.5rem 2rem;
  }
  
  .landing-header h1 {
    font-size: 2.2rem;
  }
  
  .landing-header .lead {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .case-study-cards {
    grid-template-columns: 1fr;
  }
  
  .professional-tools-grid,
  .consumer-tools-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage Styles */
.homepage-hero {
  background: linear-gradient(135deg, #f5f9ff 0%, #deeaff 100%);
  padding: 4rem 1rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #1a365d;
}

.hero-content p {
  font-size: 1.25rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.audience-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.audience-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #0d6efd;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s;
}

.audience-btn.consumer {
  background: #2b8a3e;
}

.audience-btn.professional {
  background: #1971c2;
}

.audience-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.homepage-sections {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.homepage-section {
  margin-bottom: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a365d;
}

.section-header p {
  font-size: 1.1rem;
  color: #4a5568;
  max-width: 700px;
  margin: 0 auto;
}

.tool-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.category-card {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.category-card p {
  color: #4a5568;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.btn-browse {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  color: #0d6efd;
  text-decoration: none;
  border: 1px solid #0d6efd;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-browse:hover {
  background: #0d6efd;
  color: white;
}

.featured-tools {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Single Tool Page Styles */
.tool-single {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  color: #333;
}

.tool-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eaeaea;
  position: relative;
}

.tool-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #1a365d;
  font-weight: 700;
}

.tool-company {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1rem;
}

.tool-header .tool-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.tool-header .tag {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
}

.tool-description {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.tool-description p {
  margin-bottom: 0;
  color: #444;
}

.tool-section {
  margin-bottom: 3rem;
}

.tool-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #1a365d;
  font-weight: 600;
  border-bottom: 2px solid rgba(13, 110, 253, 0.1);
  padding-bottom: 0.5rem;
}

.tool-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.detail-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  height: 100%;
}

.detail-card h3 {
  font-size: 1.3rem;
  color: #1a365d;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 600;
}

.detail-card p {
  margin-bottom: 0.8rem;
  line-height: 1.5;
  color: #555;
}

.detail-card p:last-child {
  margin-bottom: 0;
}

.detail-card strong {
  color: #333;
  font-weight: 600;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pros, .cons {
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.pros {
  background: #f1f8f2;
  border: 1px solid #e0f0e3;
}

.cons {
  background: #fef8f8;
  border: 1px solid #f9e9e9;
}

.pros h3, .cons h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.pros h3 {
  color: #2b8a3e;
}

.cons h3 {
  color: #c92a2a;
}

.pros ul, .cons ul, .tool-section ul {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.pros li, .cons li, .tool-section li {
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

.pros li:last-child, .cons li:last-child, .tool-section li:last-child {
  margin-bottom: 0;
}

.tool-cta {
  text-align: center;
  margin: 3rem 0;
}

.btn-website {
  display: inline-block;
  padding: 1rem 2rem;
  background: #0d6efd;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.btn-website:hover {
  background: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(13, 110, 253, 0.4);
}

.disclaimer {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #666;
  margin-top: 3rem;
  border: 1px solid #e9ecef;
  text-align: center;
}

.disclaimer p {
  margin-bottom: 0;
  line-height: 1.6;
}

.disclaimer strong {
  font-weight: 600;
  color: #495057;
}

@media (max-width: 768px) {
  .tool-detail-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }
  
  .tool-header h1 {
    font-size: 2.2rem;
  }
  
  .detail-card,
  .pros,
  .cons,
  .tool-description {
    padding: 1.25rem;
  }
}

/* Standard Pages Styles (About, Contact, Disclaimer) */
.standard-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.page-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-header {
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2d2d2d;
}

.page-description {
  font-size: 1.2rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-content {
  padding: 2rem;
}

.page-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: #2d2d2d;
  border-bottom: 2px solid rgba(13, 110, 253, 0.1);
  padding-bottom: 0.5rem;
}

.page-content h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
  color: #2d2d2d;
}

.page-content p, 
.page-content li {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content a {
  color: #0d6efd;
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

.page-content strong {
  font-weight: 600;
  color: #2d2d2d;
}

.page-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #f8f9fa;
}

.last-updated {
  font-size: 0.9rem;
  color: #666;
}

.page-actions {
  display: flex;
  gap: 1rem;
}

/* Contact Form Styling */
.custom-contact-form {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin: 2rem 0;
  max-width: 700px;
  border: 1px solid rgba(0,0,0,0.05);
}

.custom-contact-form .form-group {
  margin-bottom: 1.5rem;
}

.custom-contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2d2d2d;
}

.custom-contact-form input,
.custom-contact-form select,
.custom-contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #f8f9fa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
  border-color: #3a6ea5;
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 110, 165, 0.1);
  background-color: #fff;
}

.custom-contact-form .form-submit {
  text-align: right;
}

.custom-contact-form button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: #3a6ea5;
  border: none;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.custom-contact-form button:hover {
  background-color: #2c5282;
  transform: translateY(-2px);
}

.custom-contact-form .required {
  color: #e53e3e;
  margin-left: 2px;
}

.note {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 4px;
  color: #664d03;
}

.note p {
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-contact-form {
    padding: 20px;
  }
}

/* Footer Styles */
.site-footer {
  background: #f8f9fa;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #2d2d2d;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.2);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #495057;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.copyright {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

.disclaimer-note {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

.disclaimer-note a {
  color: #0d6efd;
  text-decoration: none;
}

.disclaimer-note a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Learn Section Styles */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.resource-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  position: relative;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
  font-size: 1.4rem;
  color: #2d2d2d;
  margin-bottom: 1rem;
  font-weight: 600;
}

.resource-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more {
  font-size: 0.95rem;
  color: #0d6efd;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
}

.read-more:after {
  content: "→";
  margin-left: 0.4rem;
  transition: transform 0.2s;
}

.resource-card:hover .read-more:after {
  transform: translateX(3px);
}

/* Learn Section Page Styles */
.learn-section, 
.learn-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  background-color: #f9fafb;
  min-height: calc(100vh - 150px);
}

.learn-header {
  text-align: center;
  margin-bottom: 3rem;
  background-color: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
}

.learn-header h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #2d2d2d;
  font-weight: 700;
}

.learn-header .lead {
  font-size: 1.3rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.back-to-learn {
  margin-top: 1.8rem;
}

.learn-content {
  max-width: 1100px;
  margin: 0 auto;
}

.learn-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.1);
}

.learn-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #444;
  margin: 2rem 0 1rem;
}

.learn-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2rem;
}

.learn-content ul, 
.learn-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.learn-content li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  color: #444;
}

.learn-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: center;
}

.learn-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .learn-header h1 {
    font-size: 2.2rem;
  }
  
  .learn-header .lead {
    font-size: 1.1rem;
  }
  
  .learn-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
}

.why-ai-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.why-ai-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2rem;
}

.why-ai-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin: 1.5rem 0 1rem;
}

.why-ai-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.why-ai-content li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  color: #444;
}

/* BWC Attribution */
.bwc-attribution {
  font-size: 1rem;
  color: #485a74;
  font-weight: 500;
  text-align: center;
  margin: -0.5rem 0 1rem;
  letter-spacing: 0.5px;
}

/* CSS for the business and lawyer audience buttons */
.audience-btn.lawyer {
  background-color: #3a6ea5;
  border: 2px solid #3a6ea5;
  color: #fff;
}

.audience-btn.lawyer:hover {
  background-color: transparent;
  color: #3a6ea5;
}

.audience-btn.business {
  background-color: #2c5282;
  border: 2px solid #2c5282;
  color: #fff;
}

.audience-btn.business:hover {
  background-color: transparent;
  color: #2c5282;
}

/* Styling for the business and lawyer tool grids */
.lawyer-tools-grid,
.business-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Styling for the specific landing pages */
.businesses-landing,
.lawyers-landing {
  padding: 2rem 0;
} 