*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
  }
  
  .top-bar {
    background-color: #333;
    color: white;
    font-size: 14px;
  }
/* nav bar section */
  .icons i {
    margin-left: 10px;
    color: #ccc;
    cursor: pointer;
  }
  
  .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
    color: white;
  }
  
  .navbar-nav .nav-link:hover {
    color: #ffc107;
  }
  
  .social-icons a {
    color: white;
    background-color: #222;
    width: 35px;
    height: 35px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .social-icons a:hover {
    background-color: #ffc107;
    color: black;
  }
  @media (min-width: 320px) {
    .top-bar {
      flex-direction: column;
      text-align: center;
    }
  
    .icons {
      margin-top: 5px;
    }
  
    .navbar-nav {
      text-align: center;
    }
  
    .social-icons {
      margin-top: 10px;
      justify-content: center;
    }
  }
  @media (min-width: 768px) {
    .top-bar {
      flex-direction: row;
      text-align: left;
    }
  
    .navbar-nav {
      justify-content: center;
    }
  
    .social-icons {
      justify-content: flex-end;
    }
  }
  @media (min-width: 992px) {
    .top-bar {
      padding: 10px 50px;
    }
  
    .navbar-nav .nav-link {
      padding: 1rem 1.5rem;
    }
  
    .social-icons {
      display: flex;
    }
  }
/* hero section */
  .hero-section {
    background-color: #1e1e1e;
    padding: 80px 0;
  }
  
  .hero-img {
    max-width: 100%;
    height: auto;
  }
 
  @media  (max-width: 768px) {
    .hero-section {
      padding: 60px 30px;
    }
  
    .hero-section h1 {
      font-size: 2.5rem;
    }
  }
  @media (min-width: 992px) {
    .hero-section h1 {
      font-size: 3.5rem;
    }
    
  }

  /* second section */
  .about-section {
    background-color: #fffaf0;
    text-align: center;
  }
  .circle-box {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #f1c40f;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
 
  @media  (max-width: 768px) {
    .about-section h2 {
      font-size: 2rem;
    }
  
    .circle-box {
      width: 130px;
      height: 130px;
    }
  }
  @media (min-width: 992px) {
    .about-section h2 {
      font-size: 2.5rem;
    }
  
    .circle-box {
      width: 150px;
      height: 150px;
    }
  }

  /* third section */
  .practice-area{
    background-color: #fffaf0;
  }
  .practice-area .card-box {
    background-color: #111;
    color: #fff;
    border-radius: 8px;
    transition: 0.3s;
    min-height: 300px;
  }
  
  .practice-area .card-box:hover {
    background-color: #1c1c1c;
    transform: translateY(-5px);
  }
  
  .practice-area .icon {
    width: 60px;
    height: 60px;
    filter: brightness(0) saturate(100%) invert(80%) sepia(40%) saturate(800%) hue-rotate(10deg);
  }
  @media (max-width: 992px) {
    .practice-area .card-box {
      min-height: 320px;
    }
  }
  
  @media (max-width: 768px) {
    .practice-area .card-box {
      padding: 2rem 1rem;
      text-align: center;
    }
  
    .practice-area .icon {
      width: 50px;
      height: 50px;
    }
  }
  /* fourth section */
  body {
    background-color: #fffaf3;
  }
  
  .lawyers-section h2 {
    font-family: 'Georgia', serif;
  }
  
  .lawyer-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .social-icons span {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 5px;
    background-color: #fff2d9;
    color: #f4a825;
    border-radius: 50%;
    line-height: 40px;
    font-size: 18px;
    transition: all 0.3s ease;
  }
  
  .social-icons span:hover {
    background-color: #f4a825;
    color: #fff;
  }
  
  .lawyer-card {
    padding: 10px;
  }
  
  @media (max-width: 768px) {
    .lawyer-img {
      width: 150px;
      height: 150px;
    }
  }
@media(max-width:992px) {
    .social-icons{
        text-align: center;
        width: 30%;
    }
}

/* fifth section start */
.appointment-section {
    padding: 50px 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: #fff;
  }

  .appointment-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
  }

  .appointment-title {
    font-size: 2.5rem;
    font-weight: 700;
  }

  .form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
  }

  .form-control:focus {
    border-bottom: 1px solid #000;
    box-shadow: none;
  }

  .submit-btn {
    background-color: #f5c94d;
    color: white;
    font-weight: bold;
    border: none;
    padding: 15px;
    width: 100%;
    margin-top: 20px;
    border-radius: 6px;
  }

  .submit-btn:hover {
    background-color: #e4b932;
  }

  .img-side {
    max-width: 100%;
    height: auto;
  }

  @media (max-width: 768px) {
    .appointment-title {
      font-size: 1.8rem;
      text-align: center;
    }

    .appointment-section {
      flex-direction: column;
      padding: 20px;
    }

    .img-side {
      margin-bottom: 30px;
    }
  }

  @media (max-width: 480px) {
    .appointment-title {
      font-size: 1.5rem;
    }

    .appointment-form {
      padding: 20px 10px;
    }
  }

  /* footer section start */
  .footer {
    font-family: 'Arial', sans-serif;
  }
  
  .footer-logo h5 {
    font-size: 1.5rem;
    letter-spacing: 3px;
  }
  .footerimage{
    width: 100%;
  }
  .footer-logo{
    color: #BDC7C7;
  }
  /* Media Queries */
  @media (max-width: 768px) {
    .footer .d-flex {
      justify-content: start;
    }
  
    .footer form {
      flex-direction: column;
    }
  
    .footer form input {
      margin-bottom: 10px;
    }
  }
  
  @media (max-width: 992px) {
    .footer form input {
      width: 60%;
    }
  }
  