html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.icon-grid-section a{
  text-decoration: none;
}

.practice-areas {
  background: linear-gradient(to bottom, #ffffff 0%, #e4d7ea 25%, #5c2161 80%);
  position: relative;
  overflow: hidden;
}

.practice-areas a{
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.practice-areas a:hover{
  text-decoration: underline;
}

.practice-card {
  background: #5c2161;
  padding: 60px 20px 40px;
  clip-path: polygon(0 30%, 100% 0%, 100% 100%, 0% 100%);
  border-left: 1px solid rgba(255,255,255,0.2);
}

.practice-card:first-child {
  border-left: none;
}

.practice-card h5 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
}

.practice-card .icon {
  font-size: 2rem;
  color: #fff;
  background-color: #3d1a42;
  padding: 16px;
  display: inline-block;
  border-radius: 8px;
}

.top-bar {
  background-color: #5c2161;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* space between text and button */
  flex-wrap: wrap;
}

.top-bar h2 {
  margin: 0;
  font-weight: bold;
  font-size: 1.75rem;
}

.top-bar .btn {
  background: white;
  color: #5c2161;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 1rem;
}

/*.carousel-item img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}*/

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 900px;
}

.carousel-item a:hover {
  background-color: black;
}


.carousel-caption {
  bottom: 20px;
}

.bg-purple {
  background-color: #5c2161;
}

.icon-box {
  padding: 40px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.icon-box .icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.icon-box .label {
  font-weight: 600;
  font-size: 1.1rem;
}

.about-section {
  background-color: #fff;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.8;
  color: #000;
}

.text-purple {
  color: #5c2161;
}

.purple-line {
  border: none;
  border-top: 3px solid #5c2161 !important;
  width: 30%;
  margin-bottom: 30px;
  opacity: 1 !important;
  background-color: #5c2161 !important;
}

.about-section p, .about-section li{
  font-size: 18px;
  color: black;
}

.lead-attorney p{
  font-size: 18px;
  color: black;
}

.legal-solutions p {
  font-size: 18px;
  line-height: 1.8;
  color: black;
}

.custom-purple-line {
  width: 200px;
  height: 3px;
  background-color: #5c2161;
}

.user-friendly-section p {
  font-size: 18px;
  line-height: 1.8;
  color: black;
}

.custom-btn-purple {
  background-color: #5c2161 !important;
  color: white !important;
  font-weight: bold !important;
  padding: 8px 25px !important;
  border: none !important;
  border-radius: 6px !important;
  transition: background-color 0.3s ease !important;
}

.custom-btn-purple:hover {
  background-color: #000 !important;
}

.get-started-section {
  background: linear-gradient(to bottom right, #4b1e55 65%, black 65%);
  color: white;
  padding: 40px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.get-started-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

.get-started-section p {
  font-size: 18px;
  max-width: 1000px;
  margin: 0 auto 20px auto;
  line-height: 1.7;
  font-weight: bold;
}

.google-reviews {
  background-color: #fff;
}

.google-reviews p{
  font-size: 16px;
  color: #000;
}

.google-reviews h2{
  color: #000;
}

.stars {
  font-size: 2rem;
  color: #ffc107;
}

.review-card {
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.contact-intro {
  background-color: #fff;
  color: #000;
}

.contact-intro .lead{
  font-size: 20px;
}

.form label{
  font-weight: bold;
}

.form span{
  color:red;
}


/*@media (max-width: 768px) {
  .carousel-item img {
    height: 300px;
    object-fit: cover;
  }
}
*/
