/* Subtle radial gradient background for improved card contrast */
body {
  background: radial-gradient(circle at center, #ffffff, #f2f2f2);
}
/* Coadvocate.ai Main Stylesheet */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;800&family=Open+Sans:wght@300;400;600&display=swap');

/* CSS Variables */
:root {
  /* Colors */
  --primary-blue: #3B7B9E;
  --complementary-purple: #6A5B8C;
  --soft-teal: #4AAEA3;
  --warm-sand: #E6D7B9;
  --alert-orange: #E67E22;
  --positive-green: #27AE60;
  --dark-gray: #333333;
  --medium-gray: #777777;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
}
 
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Indented list for judge page case management section */
.indented-list {
  margin-left: 2em;
  margin-bottom: 1em;
}
body {
  font-family: var(--font-body);
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: var(--space-md);
  line-height: 1.2;
  color: var(--dark-gray);
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

p {
  margin-bottom: var(--space-md);
}

/* Blog article list alignment fix - ensure bullets align with text */
.blog-main-content article ul,
.blog-main-content article ol {
  margin-left: 0;
  padding-left: 1.5em;
  list-style-position: outside;
}

.blog-main-content article ul,
.blog-main-content article ol,
.blog-main-content ul,
/* Add margin below lists in blog articles for better spacing */
.blog-main-content article ul,
.blog-main-content article ol {
  margin-bottom: var(--space-md);
}
.blog-main-content ol {
  box-sizing: border-box;
}

.blog-main-content article ul,
.blog-main-content ul {
  list-style-type: disc;
}

.blog-main-content article ol,
.blog-main-content ol {
  list-style-type: decimal;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--complementary-purple);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
}

.logo {
  height: 40px;
}

.logo img {
  height: 100%;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: var(--space-md);
}

nav a {
  font-weight: 600;
  padding: var(--space-xs) 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-gray);
}

/* Utility Navigation */
.utility-nav {
  display: flex;
  align-items: center;
}

.utility-nav a {
  margin-left: var(--space-md);
}

.btn {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background-color: #336b8a;
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Hero Section */
.hero {
  padding: calc(80px + var(--space-xxl)) 0 var(--space-xxl);
  background-color: var(--light-gray);
  background-image: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  text-align: center;
}

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

.hero h1 {
  margin-bottom: var(--space-md);
  color: var(--primary-blue);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  color: var(--medium-gray);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

/* Features Section */
.features {
  padding: var(--space-xxl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 300px;
  max-width: 350px;
  min-width: 260px;
  margin-bottom: var(--space-lg);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-gray);
  border-radius: 50%;
  color: var(--primary-blue);
  font-size: 2rem;
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
}

/* Audience Section */
.audience {
  padding: var(--space-xxl) 0;
  background-color: var(--light-gray);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.audience-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.audience-card-content {
  padding: var(--space-lg);
}

.audience-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--primary-blue);
}

.audience-card-image {
  height: 200px;
  background-color: var(--warm-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
}

/* Testimonials Section */
.testimonials {
  padding: var(--space-xxl) 0;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--light-gray);
  position: absolute;
  top: -20px;
  left: -20px;
  z-index: -1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--light-gray);
  margin-right: var(--space-sm);
}

.testimonial-author-name {
  font-weight: 600;
}

.testimonial-author-title {
  color: var(--medium-gray);
  font-size: 0.875rem;
}

/* CTA Section */
.cta {
  padding: var(--space-xxl) 0;
  background-color: var(--primary-blue);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta p {
  margin-bottom: var(--space-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cta .btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-blue);
}

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-column h4 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--light-gray);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  color: var(--medium-gray);
}

/* Email Signup Form */
.email-signup {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.email-signup h3 {
  margin-bottom: var(--space-md);
}

.email-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.checkbox-group input {
  margin-right: var(--space-xs);
  margin-top: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: calc(60px + var(--space-xl)) 0 var(--space-xl);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav li {
    margin: var(--space-xs) 0;
  }
  
  .utility-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .features-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Step header horizontal layout for for-professionals.html */
.step-header {
  display: flex;
  align-items: center;
  gap: 0.75em;
}
.step-header .step-number {
  margin-right: 0.25em;
  font-size: 1.5em;
  display: flex;
  align-items: center;
}
.step-header h3 {
  margin: 0;
}

.step-header {
  margin-bottom: var(--space-sm);
}

/* Responsive padding for blog content on mobile */
@media (max-width: 600px) {
  .blog-content-wrapper {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}
