body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color:white;
}

.link-inheritance {
  text-decoration: none;
  color: inherit;
}

header {
    background-color: #1d2b40;
    padding: 20px;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }
  
  .logo {
    font-family: 'Playfair Display', serif;
    color: #d4a259;
    font-size: 24px;
    font-weight: bold;
  }
  
  .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-grow: 1;
  }
  
  .nav-links li {
    position: relative;
    margin-left: 50px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
  }
  
  .nav-links li a:hover {
    color: #d4a259;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #1d2b40;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.4s;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
    }
  
   .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 52px;
        background-color: #1d2b40;
    }
  
    .nav-links li {
      text-align: center;
      margin: 0;
    }
  
    .nav-links li a {
      padding: 15px;
      width: 100%;
      display: block;
      text-align: center;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .dropdown-content {
      position: static;
      background-color: #1d2b40;
    }
  }
.litigation img {
    width: 100%;
    height: 400px;
}



.cases {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
}

.case {
    flex: 1 1 30%;
    padding: 20px;
    margin: 10px;
    box-sizing: border-box;
    text-align: center;
}

.case img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.case h2 {
    font-size: 20px;
    color: #00416A;
    margin: 10px 0;
}

.case p {
    font-size: 16px;
    color: #555;
    margin: 10px 0;
    line-height: 1.5rem;
    text-align: justify;
    font-family: Arial, Helvetica, sans-serifssss;
    /* word-spacing: normal;
    letter-spacing: normal; */
}

.case a {
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
    color: #e74c3c;
    text-decoration: none;
}

.case a:hover {
    text-decoration: underline;
}

.case a {
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
    color: #e74c3c;
    text-decoration: none;
}

.case a:hover {
    text-decoration: underline;
}
.para{
    text-align: center;
    font-size: 20px;
    /* font-family: 'Playfair Display', serif; */
    margin-left: 30px;
    margin-right: 30px;
    line-height: 1.5;
  /* width: 50%; You can adjust this width as needed */
  
}

.footer {
    background-color: #1b2a3c;
    padding-top: 15px;
    text-align: center;
    color: white;
    font-family: 'Arial', sans-serif;
}
.footer nav {
    margin-bottom: 10px;
    justify-content: center;
}
.footer nav a {
    margin: 0 15px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    letter-spacing: 1px;
}
.footer .social-icons {
    margin-bottom: 10px;
}
.footer .social-icons a {
    margin: 0 10px;
    color: white;
    font-size: 20px;
}
.footer p {
    margin: 5px 0;
    font-size: 14px;
    margin-top: 0;
    padding-top: 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1d2b40;
    padding: 1rem;
}

.navbar .brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.brand h1 {
    color: burlywood;
    font-size: 22px;
    margin: 0;
}

.navbar .menu {
    display: flex;
    flex: 1;
    list-style: none;
    justify-content: center;
    margin-right: 18%;
}

.navbar a {
    color: white;
    padding: 0.75rem 1rem;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    /* background-color: rgb(74, 162, 192); Set the background color to light blue */
} 

.navbar a:hover {
    background-color: #1d2b40;
}

.navbar .menu-container {
    display: flex;
    align-items: center;
}

.navbar .menu-text {
    color: white;
    font-size: 18px;
    margin-right: 10px;
}

.navbar .menu-button {
    display: none;
    font-size: 18px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}


@media (max-width: 480px) {
    
    .litigation img {
        width: 100%;
        height: 200px;
    }

    .case img {
        /* width: 42%; */
        width: 300px;
        height: auto;
        margin-left: -25px;
        margin-bottom: 10px;
    }
    .para {
        text-align: justify;
        font-size: 16px;
        margin-left: 30px;
        margin-right: 30px;
    }
    .case h2 {
        font-size: 20px;
        color: #00416A;
        margin: 10px 0;
        margin-left: -20px;
    }
    .footer {
        flex-direction: row;
        text-align: center;
    }
    .footer .social-icons {
        margin-bottom: 10px;
        justify-content: center;
        text-align: center;
    }
    .footer p {
        margin: 5px 0;
        font-size: 14px;
        text-align: center;
    }
    
   .footer nav {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        overflow-x: hidden;
    }
    .footer nav a {
        margin: 3px 9px;
        text-decoration: none;
        color: white;
        font-size: 12px;
        letter-spacing: 1px;
    }

    
}
@media (max-width: 600px) {
   
    .logo {
        margin-left: 0;
        font-size: 20px;
    }

   

    .cases {
        flex-direction: row;
    }

    .case {
        width: 100%;
        margin: 10px 0;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer .left, .footer .center, .footer .right {
        margin: 10px 0;
    }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 1024px) {
    nav ul {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        justify-content:right;
        
    }

    nav ul li {
        margin: 5px 0;
    }
    nav ul li a {
        font-size: 1rem;
    }
    .logo{
        font-size: 1.5em;
        margin: 0 auto;

    }


    .cases {
        flex-direction: column;
        justify-content: space-between;
        align-content: center;
    }

    .case {
        width: 80%;
    }

    .footer {
        padding: 20px 10px;
    }

    .footer .left, .footer .center, .footer .right {
        margin: 10px 0;
    }
}

/* Large screens */
@media (min-width: 1025px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .logo {
        margin-left: -150px;
        margin: 0 auto;
    }

    nav ul {
        flex-direction: row;
    }

    .cases {
        justify-content: space-around;
    }

    .case {
        width: 45%;
    }

    .footer {
        /* padding: 20px; */
    }

    .footer .left, .footer .center, .footer .right {
        margin: 0;
    }
}
@media (min-width: 600px) and (max-width:767px) {
    .litigation img {
        width: 100%;
        height: 300px;
    }
   
.cases{
    flex-direction: row;
}
.para {
    text-align: justify;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    margin-left: 30px;
    margin-right: 30px;
}

.case p {
    font-size: 16px;
    color: #555;
    margin: 10px 0;
    display: none;
    line-height: 1.5rem;
}
.case img {
    /* width: 100%; */
    height: auto;
    width: 146px;
    flex-direction: row;
    margin-bottom: 0px;
}

.case h2 {
    font-size: 16px;
    color: #00416A;
    margin: 10px 0;
}
.case a {
    display: inline-block;
    margin-top: 3px;
    font-size: 14px;
    color: #e74c3c;
    text-decoration: none;
}

.footer {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}
.footer nav {
    margin-bottom: 10px;
    flex-direction: row;
    justify-content: center;
}
.footer nav a {
    margin: 0 15px;
    text-decoration: none;
    color: white;
    font-size: 12px;
    letter-spacing: 0px;
}
.footer p {
    margin: 5px 0;
    font-size: 11px;
}

}

@media (min-width: 768px) and (max-width: 991px){

    .litigation img {
        width: 100%;
        height: 350px;
    }
    .cases {
        flex-direction: row;
        justify-content: space-between;
        align-content: center;
    }
    .case h2 {
        font-size: 18px;
        color: #00416A;
        margin: 10px 0;
    }
    .footer nav a {
        margin: 0 15px;
        text-decoration: none;
        color: white;
        font-size: 15px;
        letter-spacing: 1px;
    }
}


@media (min-width: 992px) and (max-width:1199px){

    .litigation img {
        width: 100%;
        height: 450px;
    }

    .cases {
        flex-direction: row;
        justify-content: space-between;
        align-content: center;
    }
}



@media(min-width: 1200px){

}

@media (min-width: 481px) and (max-width:599px){

    .litigation img {
        width: 100%;
        height: 250px;
    }
    .para {
        text-align: center;
        font-size: 16px;
        /* font-family: 'Playfair Display', serif; */
        margin-left: 30px;
        margin-right: 30px;
    }
    .case img {
        /* width: 100%; */
        height: auto;
        width: 370px;
        margin-bottom: 10px;
    }

    .footer {
        flex-direction: row;
        text-align: center;
    }
    .footer .social-icons {
        margin-bottom: 10px;
        justify-content: center;
        text-align: center;
    }
    .footer p {
        margin: 5px 0;
        font-size: 14px;
        text-align: center;
    }
    
   .footer nav {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        overflow-x: hidden;
    }
    .footer nav a {
        margin: 3px 9px;
        text-decoration: none;
        color: white;
        font-size: 14px;
        letter-spacing: 1px;
    }

}