
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}


a {
    text-decoration: none;
  }


    /* Navbar */

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 1rem;
        background: black;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: 1s;
      }
      
      .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px;
      }
      
      .nav-logo {
        font-size: 2rem;
        margin-left: -4.5rem;
        font-weight: bold;
        color: white;
        cursor: pointer;
      }
      
      .nav-menu {
        margin-left: 4.5rem;
        display: flex;
        list-style: none;
        gap: 30px;
      }
      
      .nav-link {
        color: white;
        font-weight: 600;
        font-size: 1.2rem;
        transition: 1s;
        position: relative;
      }
      
      .nav-link:hover {
        color: #b8860b;
      }
      
      .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: #b8860b;
        transition: 1s;
      }
      
      .nav-link:hover::after {
        width: 100%;
      }
  
  
      .nav-button {
        background: #b8860b;
        color: white;
        font-size: 1rem;
        margin-right: -5rem;
        padding: 1rem 2rem;
        border-radius: .5rem;
        font-weight: 600;
        transition: 1s;
        border: none;
        cursor: pointer;
      }
      
      .nav-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px #b8860b;
      }
      
      .hamburger {
        display: none;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
      }
      
      .hamburger span {
        width: 25px;
        height: 3px;
        background: #b8860b;
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
      }
      
      .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 7px);
      }
      
      .hamburger.active span:nth-child(2) {
        opacity: 0;
      }
      
      .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -8px);
      }
      
      .mobile-button-container {
        display: none;
      }
      

      /* Mobile Styles */

      @media (max-width: 768px) {
        .hamburger {
          display: flex;
        }
      
        .nav-button:not(.mobile-nav-button) {
          display: none;
        }
      
        .mobile-button-container {
          display: none;
        }
      
        .nav-logo {
          font-size: 1.7rem;
          margin-left: .5rem;
        }
      
        .nav-button {
          margin-right: 0;
        }
  
        .nav-menu {
          display: none; 
          position: fixed;
          top: 90px;
          left: 0;
          right: 0;
          flex-direction: column;
          color: white;
          background: black;
          width: 110%;
          margin-left: -1rem;
          text-align: center;
          box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
          padding: 1rem;
          gap: 0;
          z-index: 999;
        }
      
        .nav-menu.active {
          display: flex; 
        }
      
        .nav-menu.active .mobile-button-container {
          display: block;
        }
      
        .nav-menu li {
          padding: 15px 0;
        }
      
        .mobile-nav-button {
          margin: 10px 20px;
        }
      
        .nav-container {
          padding: 0 15px;
        }
      }
      


/* Page Header */

.page-header {
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(51, 51, 51, 0.4)),
        url('law1.jpg') center/cover no-repeat;
    color: white;
    height: 50vh;
    padding: 6.5rem;
    text-align: center;
    margin-top: 6rem;
}


.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
   
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #ccc;
}


@media (max-width:768px) {
    .page-header {
     
    }

    .page-header h1 {
        margin-top: -3rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1.2rem;
    }
}


/* Container */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.expertise-title {
    text-align: center;
    margin-bottom: 60px;
}

.expertise-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.expertise-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}


/* Expertise Rows */

.expertise-row {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 50px;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.expertise-row:nth-child(even) {
    flex-direction: row-reverse;
}

.expertise-image {
    flex: 1;
    max-width: 400px;
}

.expertise-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.expertise-content {
    flex: 1;
    padding: 0 20px;
}

.expertise-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.expertise-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.expertise-content ul {
    list-style: none;
    margin-bottom: 30px;
}

.expertise-content ul li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.expertise-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #b8860b;
    font-weight: bold;
}

.btn {
    display: inline-block;
    background: #b8860b;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #b8860b;
}

.btn:hover {
    background: transparent;
    color: #b8860b;
}


/* Mobile Styles */

@media (max-width: 768px) {
    .container {
        padding: 40px 15px;
    }

    .expertise-title h2 {
        font-size: 2rem;
    }

    .expertise-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
        padding: 30px 20px;
    }

    .expertise-row:nth-child(even) {
        flex-direction: column;
    }

    .expertise-image {
        max-width: 100%;
    }

    .expertise-image img {
        height: 250px;
    }

    .expertise-content {
        padding: 0;
        text-align: center;
    }

    .expertise-content h3 {
        font-size: 1.5rem;
    }

    .expertise-content ul {
        text-align: left;
        max-width: 300px;
        margin: 25px auto;
    }

    .expertise-content-corporate {
        text-align: start;
        margin-left: 1rem;
    }
    .expertise-content-family {
        text-align: start;
        margin-left: 1rem;
    }

    .expertise-content-injury {
        text-align: start;
        margin-left: 1rem;
    }


    .expertise-content-estate {
        text-align: start;
        margin-left: 1rem;
    }
}


/* Footer Styles */

.footer {
    background-color: black;
    margin-bottom: -5rem;
    color: #f5f5f5;
    padding: 60px 0 30px; 
    width: 100vw; 
    margin-left: calc(-50vw + 50%);
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    padding: 0 5%; 
  }
  
  
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
  }
  
  .footer-column {
    flex: 1;
    min-width: 200px;
  }
  
  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #b8860b;
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .footer-links li a:hover {
    color: #b8860b;
    padding-left: 5px;
  }
  
  .footer-title-quicklinks {
    margin-left: 5rem;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-title-quicklinks:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #b8860b;
  }
  
  .footer-links-quicklinks {
     margin-left: 3rem;
     list-style: none;
  }
  
  .footer-links-quicklinks li a {
    color: #ccc;
    text-decoration: none;
    transition: 1s;
    margin-left: 2rem;
  }
  
  .footer-links-quicklinks li a:hover {
    color: #c6961c;
    padding-left: 5px;
  }
  
  
  .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }
  
  .social-links a {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 1s;
  }
  
  .social-links a:hover {
    background-color: #b8860b;
    transform: translateY(-3px);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #1c1c1c;
    color: #f0f0f0;
    margin-top: 1rem;
    font-size: 1rem;
    outline: none;
    transition: 1s;
  }
  
  .form-input::placeholder {
    color: #aaa;
  }
  
  .form-input:focus {
    border-color:  #b8860b;
  }
  
  .submit-btn {
    width: 100%;
    padding: 12px 16px;
    background-color:  #b8860b;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 1s
  }
  
  .submit-btn:hover {
    background-color: #009cb3;
  }
  
  @media (max-width:768px) {
    .footer-title-quicklinks {
     margin-left: -1px;
    }
    
    .footer-title-quicklinks:after {
      margin-left: -1px;
    }
    
    .footer-links-quicklinks {
      margin-left: -1px;
    }
    
    .footer-links-quicklinks li a {
      margin-left: -1px;
    }
  }