/* Custom Styles for Data-Driven Justice Website */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Typography Improvements */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #2c3e50;
}

/* Heading Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1a252f;
  letter-spacing: -0.02em;
}

/* Banner/Hero Section Typography */
.slider .block h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 4.5rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7) !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
}

.slider .block p {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.6rem !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
}

/* Section Titles */
.section-title h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #1a252f;
  margin-bottom: 1rem;
}

.section-title p {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #4a5568;
  line-height: 1.7;
}

/* About Section Typography */
.about {
  padding: 80px 0;
}

.about .section-title {
  margin-bottom: 50px;
}

.about .section-title h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #1a252f;
  margin-bottom: 20px;
  text-align: center;
}

.about .section-title p {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #4a5568;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.about .block p {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 25px;
}

.about .block p:last-child {
  margin-bottom: 0;
}

.about img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about img:hover {
  transform: translateY(-5px);
}

/* Button Typography */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.025em;
  text-transform: none;
}

/* Sticky Navigation */
.navigation {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Navigation Typography */
.navigation .navbar-nav li a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.navbar-brand {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.6rem !important;
  letter-spacing: -0.02em !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .slider .block h1 {
    font-size: 3.5rem !important;
  }

  .slider .block p {
    font-size: 1.4rem !important;
  }

  .section-title h2 {
    font-size: 2.25rem;
  }

  .about .section-title h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 576px) {
  .slider .block h1 {
    font-size: 2.75rem !important;
  }

  .slider .block p {
    font-size: 1.2rem !important;
  }

  .section-title h2 {
    font-size: 1.875rem;
  }

  .about .section-title h2 {
    font-size: 1.875rem;
  }

  .about {
    padding: 60px 0;
  }

  .about .section-title {
    margin-bottom: 40px;
  }
}

/* ===== Hero Section ===== */
.hero-section {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 60%, #f8fbff 100%);
  padding: 100px 0 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e9ecef;
}

.hero-content {
  padding-right: 20px;
}

.hero-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #1a252f !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 1.5rem !important;
  text-shadow: none !important;
}

.hero-desc p {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 2rem;
}

.hero-illustration-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(135, 206, 235, 0.15));
}

@media (max-width: 991px) {
  .hero-section {
    padding: 80px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.75rem !important;
  }

  .hero-illustration-col {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 60px 0 50px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.25rem !important;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-illustration-col {
    margin-top: 32px;
  }
}

/* ===== unDraw Illustrations ===== */
.undraw-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.undraw-illustration:hover {
  transform: none !important;
}

/* ===== CTA Modern Section ===== */
.cta-modern {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  padding: 80px 0;
  border-top: 1px solid #e0f0fa;
}

.cta-modern h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a252f;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-modern p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.cta-illustration-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-illustration {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(135, 206, 235, 0.12));
}

@media (max-width: 991px) {
  .cta-modern {
    padding: 60px 0;
    text-align: center;
  }

  .cta-modern p {
    max-width: none;
  }

  .cta-illustration-col {
    margin-top: 40px;
  }
}

/* ===== Service Section Background ===== */
.service.section-bg {
  background: linear-gradient(to bottom, #ffffff, #e8f4fb, #ffffff);
  padding: 80px 0;
}

.service.section-bg .section-title {
  margin-bottom: 60px;
  text-align: center;
}

.service.section-bg .section-title h2 {
  color: #333;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

.service.section-bg .section-title p {
  color: #666;
  font-size: 18px;
  margin: 0;
}

/* Service Items & Capability Cards */
.service-item {
  transition: all 0.3s ease;
  padding: 30px 20px;
  border-radius: 8px;
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-item:hover {
  background: rgba(135, 206, 235, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: inherit;
}

.service-item i {
  transition: color 0.3s ease;
}

.service-item:hover i {
  color: #87ceeb !important;
}

.service-item h4 {
  transition: color 0.3s ease;
}

.service-item:hover h4 {
  color: #87ceeb !important;
}

.capabilities-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}

.capabilities-row > [class*="col-"] {
  display: flex;
}

.capability-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #edf2f7;
  margin-bottom: 24px;
  cursor: default;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(135, 206, 235, 0.15);
}

.capability-illustration {
  width: 100%;
  height: 260px;
  flex-shrink: 0;
  background: #f7fbff;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  padding: 28px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capability-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.capability-card i {
  font-size: 1.5rem;
  color: #87ceeb;
  display: block;
  margin-bottom: 10px;
}

.capability-card h4 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a252f;
  margin-bottom: 10px;
  line-height: 1.25;
  text-transform: none !important;
  letter-spacing: -0.01em;
}

.capability-card p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 767px) {
  .capability-illustration {
    height: 180px;
    padding: 16px;
  }
}

/* Clients Section */
.clients.section {
  padding: 80px 0;
  background: #ffffff;
}

.clients .section-title {
  margin-bottom: 60px;
}

.clients .section-title h2 {
  color: #333;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

.clients .section-title p {
  color: #666;
  font-size: 18px;
  margin: 0;
}

.client-item {
  margin-bottom: 30px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.client-item:hover {
  transform: translateY(-5px);
}

.client-item a {
  text-decoration: none;
  display: block;
  color: inherit;
}

.client-logo {
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 30px 20px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.client-item:hover .client-logo {
  border-color: #87ceeb;
  box-shadow: 0 5px 20px rgba(135, 206, 235, 0.2);
}

.client-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .clients .section-title h2 {
    font-size: 28px;
  }

  .client-logo {
    padding: 20px 15px;
    height: 100px;
  }

  .client-name {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .clients.section {
    padding: 60px 0;
  }

  .clients .section-title {
    margin-bottom: 40px;
  }
}

/* Service Page Client Tiles */
.service-detail {
  padding-top: 50px;
}

.service-detail .portfolio-block {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.service-detail .portfolio-block:hover {
  border-color: #87ceeb;
  box-shadow: 0 5px 15px rgba(135, 206, 235, 0.15);
  transform: translateY(-2px);
  background: #fafbfc;
}

.service-detail .portfolio-block .caption {
  margin: 0;
  overflow: hidden;
}

.service-detail .portfolio-block .caption h4 {
  color: #333;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-detail .portfolio-block .caption h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-detail .portfolio-block:hover .caption h4 a {
  color: #87ceeb;
}

.service-detail .portfolio-block .caption p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: 4.5em;
}

/* Responsive adjustments for service page tiles */
@media (max-width: 768px) {
  .service-detail .portfolio-block {
    padding: 20px;
    height: 160px;
  }

  .service-detail .portfolio-block .caption h4 {
    font-size: 16px;
  }

  .service-detail .portfolio-block .caption p {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .service-detail .portfolio-block {
    padding: 18px;
    height: 140px;
  }
}
/* ===== Contact Page ===== */
.contact-hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 60%, #f8fbff 100%);
  padding: 80px 0 60px;
  border-bottom: 1px solid #e9ecef;
}

.contact-hero-text h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: #1a252f;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-hero-text p {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.7;
}

.contact-hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 20px;
}

.contact-hero-illustration img {
  max-width: 85%;
  height: auto;
}

.contact-body {
  padding: 60px 0 80px;
}

.contact-form-card {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
}

.contact-form-card h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a252f;
  margin-bottom: 0.4rem;
}

.contact-form-subtitle {
  font-size: 1.3rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.contact-input {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1.2rem !important;
  color: #2c3e50 !important;
  transition: border-color 0.2s ease !important;
  margin-bottom: 4px;
}

.contact-input:focus {
  border-color: #87ceeb !important;
  box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.15) !important;
  outline: none !important;
}

.contact-input::placeholder {
  color: #a0aec0 !important;
}

.contact-info-row {
  margin-top: 30px;
}

.contact-info-card,
.contact-expect-card {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
}

.contact-info-card h3,
.contact-expect-card h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a252f;
  margin-bottom: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a5568;
  margin-bottom: 12px;
}

.contact-info-item i {
  color: #87ceeb;
  width: 18px;
  text-align: center;
}

.contact-social p {
  font-size: 1.2rem;
  color: #718096;
  margin: 16px 0 8px;
}

.contact-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-social-list li {
  margin-bottom: 8px;
}

.contact-social-list li a {
  color: #4a5568;
  text-decoration: none;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.contact-social-list li a:hover {
  color: #87ceeb;
}

.contact-social-list li a i {
  width: 18px;
  text-align: center;
}

.contact-steps {
  padding-left: 18px;
  margin: 0;
}

.contact-steps li {
  font-size: 1.3rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 10px;
}

.contact-steps li strong {
  color: #1a252f;
}

@media (max-width: 991px) {
  .contact-hero {
    padding: 60px 0 40px;
  }

  .contact-hero-text h1 {
    font-size: 2.2rem;
  }

  .contact-hero-illustration {
    margin-top: 30px;
    padding-left: 0;
  }


}

@media (max-width: 767px) {
  .contact-hero {
    text-align: center;
    padding: 50px 0 30px;
  }

  .contact-hero-text h1 {
    font-size: 1.9rem;
  }

  .contact-form-card {
    padding: 24px;
  }
}

/* Footer Virginia */
.footer-virginia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  opacity: 0.75;
}

.footer-virginia-svg {
  width: 80px;
  height: auto;
}

.footer-virginia-text {
  font-size: 0.85rem;
  color: #a0aec0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
