/* Navbar transition effect */
#mainNavbar {
    transition: background-color 0.3s ease;
  }
  
  .navbar-scrolled {
    background-color: #212529 !important;
  }

  .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* Index-Hero Section */
  .index-hero .header-hero {
    background: url('/img/lawpen.jpeg') no-repeat center center/cover;
    height: 100vh;
    color: #fff;
    position: relative;
  }

  .index-hero .hero-content {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: rgba(0,65,0,0.65);
  }

  .index-hero .hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }

  .index-hero .hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }

  .index-hero .btn-custom {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 30px;
  }

  /* All-Hero Section */
  .all-hero .header-hero {
    background: url('/img/lawcase1.jpeg') no-repeat center center/cover;
    height: 60vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .all-hero .hero-content {
    background-color: rgba(0, 75, 0, 0.5);
    padding: 1.5rem 2rem;
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
  }
  
  .all-hero .hero-content p {
    font-size: 1.5rem;
    color: #fff;
  }



  /* Index-Recent cases */
  #recent-cases .case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,75,0,0.65);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
  }
  
  #recent-cases .card:hover .case-overlay {
    opacity: 1;
  }

  /* Carousel Index&About */
  .attorneys .carousel-inner .carousel-item .card-img-top {
    transition: transform 0.4s ease;
  }
  .attorneys .carousel-inner .carousel-item .card:hover .card-img-top {
    transform: scale(1.05);
  }


  /* Practice Area Page Style */
  .practice-container .practice-card {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
  }
  
  .practice-container .practice-card:hover {
    transform: translateY(-3px) scale(1.00);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }
  
  .practice-container .practice-card i {
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .practice-container .practice-card:hover i {
    color: #0d6efd;
    transform: rotate(5deg) scale(1.2);
  }
  
  .practice-container .practice-card h5 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .practice-container .practice-card p {
    font-size: 0.95rem;
    color: #6c757d;
  }
  
  
   /* Attorney Page Style */
  .attorney-container .attorney-card {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
  }
  
  .attorney-container .attorney-card:hover {
    transform: translateY(-5px) scale(1.00);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .attorney-container .attorney-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  .attorney-container .attorney-card:hover img {
    transform: scale(1.05);
  }
  
  .attorney-container .attorney-card h5 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .attorney-container .attorney-card p {
    font-size: 0.95rem;
    color: #6c757d;
  }
  
  .attorney-container .attorney-card .social-links {
    margin-top: 1rem;
  }
  
  .attorney-container .attorney-card .social-links a {
    color: #0d6efd;
    margin: 0 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .attorney-container .attorney-card .social-links a:hover {
    color: #facd39;
    transform: scale(1.2);
  }


  /* Contact Pge Style */
.contact-info i {
  transition: transform 0.3s ease;
}

.contact-info i:hover {
  transform: scale(1.2);
}

form input, form select, form textarea {
  box-shadow: none;
  border: 1px solid #ccc;
}

form input:focus, form select:focus, form textarea:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

form button {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

form button:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
}
