body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #1e2235;
  line-height: 1.7;
}


.practice-hero-overlay h1 {
  font-size: 4rem;
  font-weight: bold;
  margin: 0;
}

.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
}

.section-intro {
  margin-bottom: 30px;
  text-align: center;
}


/* Section Titles */
.section-title {
  font-size: 2rem;
  text-align: center;
  color: #1e2235;
  margin-bottom: 20px;
  display: inline-block;
  padding-bottom: 8px;
}

.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Practice Grid Layout */
.practice-area {
  padding: 60px 20px;
  background-color: #ffffff !important;
}

.practice-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}


@media (max-width: 992px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 600px) {
  .practice-grid {
    grid-template-columns: 1fr; /* 1 per row on phones */
  }
}



/* Practice Cards */
.practice-card {
  background-color: #ffffff !important;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  text-align: center;
  padding: 30px 20px;
  transition: all 0.4s ease;
  color: #002855;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  text-align: center; 
  flex-direction: column;
  align-items: center;
}

.practice-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2a4ca2;
  transition: color 0.4s ease;
}

.practice-card p {
  color: #555;
  transition: color 0.4s ease;
}

/* Hover Effects */
.practice-card:hover {
  background-color: #2a4ca2 !important;
  color: #fff;
}

.practice-card:hover h3,
.practice-card:hover p {
  color: #ffffff;
}

.practice-card:hover img.practice-icon {
  filter: brightness(0) invert(1);
}

.practice-icon {
  font-size: 2.5rem;
  color: #2a4ca2;
  margin-bottom: 15px;
  display: block;
  transition: color 0.3s ease;
}

.practice-card:hover .practice-icon {
  color: #ffffff;
}

