body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    /* background-color: #1d2b40; */
    color: #fff;
    overflow-x: hidden;
}
.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Ensure it appears above other content */
}

/* Modal Content */
.modal-content {
    background-color: #1d2b40;
    padding: 20px;
    /* border-radius: 10px; */
    text-align: center;
    max-width: 500px;
    width: 90%;//90
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Buttons */
button {

    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#accept-btn {
    background-color: #cf881c;;
    color: white;
}

#decline-btn {
    background-color: #dfb952;
    color: white;
}

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

/* Responsive Design */
@media (max-width: 480px) {
    .modal-content {
        width: 70%; /* Slightly wider on small screens */
        padding: 15px;
        margin-left: 0px;
    }

    button {
        width: 50%; /* Buttons fill the width of the container */
        font-size: 14px;
    }
}
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: 53px; /* Adjust this value based on the height of your header */
      background-color: #1d2b40;
    }
  
    .nav-links li {
      text-align: center;
      margin: 0;
    }
  
    .nav-links li a {
      padding: 5px;
      width: 100%;
      display: block;
      text-align: center;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .dropdown-content {
      position: static;
      background-color: #1d2b40;
    }
  }

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 100px;
    background-color: #1d2b40;
    height: 500px;
}

.content {
    max-width: 600px;
    letter-spacing: 2px;

}

.content h2 {
    font-size: 16px;
    color: #d4a259;
    margin-bottom: 10px;
    font-weight: normal;
}

.content h1 {
    font-size: 48px;
    margin: 0;
    line-height: 5rem;
}

.content h1 span {
    color: #d4a259;
    font-family: 'Playfair Display', serif;
}

.button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #cf881c;
    color: white;
    text-align: center;
    text-decoration: none;
    margin-left: 0%;
    font-size: 28px;
    font-weight: normal;
   /* border-radius: 5px;*/
   height: 40px;
   width: 200px;
}

.button:hover {
    background-color: #b5894e;
    scale: 1.05;
}

.image img {
    max-width: 100%;
   /* height: auto;*/
    padding-right: 40px;
    padding-top: 30px;
    height: 450px;
}
/* Our Practice Areas Section */
/* Existing Styles */
.practice-areas {
    background-color: #fff;
    color: #1d2b40;
    text-align: center;
    /* padding: 30px 20px; */
    font-family: 'Roboto', sans-serif;
    /* overflow-y: hidden; */
    overflow-x : hidden;
}

.practice-areas h2 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: #1d2b40;
    margin-top: 10px;
    margin-bottom: 20px;
}

.practice-areas p {
    font-size: 22px;
    max-width: 1200px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

/* Slider Styles */
 /* .slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}  */

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
}

.slide {
    min-width: 25%; /* Ensure only four slides are visible at once */
    transition: transform 0.3s ease;
    position: relative;
}

.card {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.card img {
    width: 100%;
    height: auto;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #d4a259;
    /* padding: 15px; */
    margin-right: 100px;
    text-align: center;
}

/* Text Overlay Styles */
.text-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
  /*  background-color: rgba(0, 0, 0, 0.5);*/
    padding: 50px;
  /*  border-radius: 5px;*/
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    text-align: center;
    width: calc(100% - 40px); /* Ensure the overlay is properly contained within the card */
}

/* Slider Controls Styles */
.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom : 40px;
}

.slider-controls button {
    background-color: #d4a259;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background-color: #b5894e;
}

.our-lawyers {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
    color: #1d2b40;
    font-size: 20px;
}

.our-lawyers h2 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: #1d2b40;
    margin-bottom: 20px;
}

.our-lawyers p {
    font-size: 22px;
    max-width: 1000px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: #1d2b40;
    padding: 20px 0;
}

.stat-item {
    background-color: #1d2b40;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    display: block;
}

.stat-item p {
    margin-top: 10px;
    font-size: 18px;
}



.block-content {
    background-color: #1d2b40;
    display: flex;
    padding: 50px;
}

.image-section {
    background-color: #C59545; /* Yellow background */
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    /* background-color: #FFFFFF; White background for the image */
    padding: 10px;
}

.image-wrapper img {
    max-width: 100%;
    height:auto;
}

.text-section {
    margin-left: 6%;
    max-width: 650px;
}

.text-section .small-text {
    font-size: 15px;
    letter-spacing: 1px;
    /* font-family: 'Playfair Display', serif; */
}

.text-section h1 {
    font-size: 36px;
    margin: 10px 0;
    font-family: 'Playfair Display', serif;
}

.text-section h2 {
    font-size: 28px;
    color: #C59545; /* Gold color */
    margin: 10px 0;
    font-family: 'Playfair Display', serif;
}

.text-section .description {
    font-size: 22px;
    line-height: 1.5;
    margin: 20px 0;
    text-align: justify;
}

.text-section button {
    background-color: #C59545; /* Gold color */
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.text-section button:hover {
    background-color: #B4843B;
}
/* .our-lawyers { */
    /* padding: 20px; */
    /* text-align: center;
    margin-top: 50px;
    color: #1d2b40;
    font-size: 22px; */
    /* background-color: #1d2b40; */
/* } */

/* .our-lawyers h2 {
    color: #b68a3d;
    font-size: 2em;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.our-lawyers p {
    margin-bottom: 20px;
    margin-left: 30%;
    margin-right: 30%;
    color: black;
    font-size: 18px;
} */



.lawyers {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.lawyer h3 {
    text-align: center;
    margin-left: 50px;
}
.lawyer p {
    margin-left: 60px;
    font-size: 18px;
}

.lawyer-photo {
    width: 150px;
    height: 150px;
    background-color: #acb7ca;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 40px;
    margin-left: 50px;
}
.lawyer-photo img {
    width: 210px;
    height: 210px;
    /* background-color: #ccc; */
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 40px;
    margin-left: -70px;
    margin-top: -70px;
}


.testimonials {
    text-align: center;
    background-color: #1d2b40;
    color: white;
    padding: 50px 0;
}

.testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.testimonials p {
    font-size: 1.1em;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}
    .button1 {
        display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #cf881c;
    color: white;
    text-align: center;
    text-decoration: none;
    
    font-size: 18px;
    font-weight: normal;
    /* border-radius: 5px; */
   
    }

.testimonial {
    background: white;
    color: #1d2b40;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
}

.stars {
    color: gold;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.follow-us {
    text-align: center;
    padding: 30px 0;
}

.follow-us .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.follow-us .social-icons a {
    display: inline-block;
}

.follow-us .social-icons img {
    width: 50px;
    height: 50px;
}

.carousel h3{
    text-align: center;
    color: #1d2b40;
    font-size: 44px;
    font-family: 'Playfair Display', serif;
}
.carousel {
    /* width: 80%; */
    overflow: hidden;
    position: relative;
    /* margin-left: 15%;
    margin-right: 15%; */
    margin-top: 20px;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    background-color: #f0f0f0;
}

.carousel-track {
    display: flex;
    width: calc(250px * 5); /* Width of one card times the number of cards */
    animation: scroll 40s linear infinite;
}

.carousel-card {
    width: 400px;
    height: 300px;
    margin-right: 20px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
.footer {
    background-color: #1b2a3c;
    padding: 20px 0;
    padding-bottom: 0px;
    margin-bottom: -30px;
    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;
}

/* Base styles here (already provided) */

/* @media (max-width: 1200px) {
    .logo {
        font-size: 1.8rem;
        margin-left: 0;
    }

    nav ul {
        flex-direction: row;
        align-items: center;
        gap: 30px;
        justify-content:right;
    }

    nav ul li {
        margin: 10px 0;
    }
    nav ul li a {
        font-size: 1.5rem;
    }

    .hero {
        flex-direction: column;
        padding-left: 20px;
    }

    .content h1 {
        font-size: 36px;
        line-height: 4rem;
    }

    .content h2 {
        font-size: 14px;
    }

    .button {
        font-size: 20px;
        width: 150px;
        height: 50%;
    }

    .image img {
        padding: 20px 0;
    }

    .practice-areas h2, .statistics h2 {
        font-size: 36px;
    }

    .practice-areas p, .statistics p {
        font-size: 18px;
    }

    .slide {
        min-width: 50%; 
    } */

    /* .stats-container {
        flex-direction: column;
        align-items: center;
        background-color: white;
    }

    .stat-item {
        width: 98%;
        margin-bottom: 20px;
    }
    .card h3{
    text-align: center;
        margin-bottom: 5%;
        margin-left: -12%;}
} */

@media (max-width: 768px) {
    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;
    }


    .hero {
        flex-direction: column;
        padding: 10px;
    }

    .content {
        max-width: 100%;
        text-align: center;
    }

    .content h1 {
        font-size: 28px;
        line-height: 3rem;
    }

    .content h2 {
        font-size: 12px;
    }

    .button {
        font-size: 20px;
        width: 120px;
        height: 50%;
    }

     .image-section{
        height: 25vh;
        margin-left: 2%;
        display: none;
    
     }
    .image img {
        padding: 10px 0;
    }

    .practice-areas h2, .statistics h2 {
        font-size: 28px;
    }

    .practice-areas p, .statistics p {
        font-size: 16px;
    }

    .slide {
        min-width: 100%; /* Show one slide at a time */
    }
    .card h3{
        text-align: center;
        margin-bottom: 5%;
        margin-left: -12%;
    }

    .text-section {
        margin-left: 0;
        padding: 20px;
    }

    .stats-container {
        flex-direction: column;
        background-color: white;
    }

    .stat-item {
        width: 99%;
        margin-bottom: 10px;
    }
    .block-content{
        flex-wrap: wrap;
        height: 550px;
        padding-bottom: 0px;
        padding-top: 10px;
    }
    .image-wrapper img {
        width: 137px;
        display: none;
    }

    .lawyers {
        flex-direction: column;
        align-items: center;
    }

    .lawyer-photo {
        width: 100px;
        height: 100px;
        padding: 20px;
        margin-left: 10%;
    }
      
    .lawyer h3{
        margin-left:-3%;
        padding-bottom: 0%;
        margin-bottom: 0%;
    }
    .lawyer p{
        margin-left:30%;
        /* padding: 0%; */
        margin: 0%;
    }   
    .testimonial {
        width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
   
    .hero {
        flex-direction: column;
        padding: 10px;
        /* overflow-x: hidden; */
    }

    .content {
        max-width: 100%;
        text-align: center;
        overflow-x: hidden;
    }

    .content h1 {
        font-size: 26px;
        line-height: 2.5rem;
        overflow-x: hidden;
    }

    .content h2 {
        font-size: 12px;
        overflow-x: hidden;
    }
    .text-section h2{
        font-size: 15px;
    }

    .button {
        font-size: 16px;
        width: 100px;
        padding-bottom: 18px;
        height: 7%;
        padding-top: 10px;
        /* overflow-x: hidden; */
    }

    .button1 {
        font-size: 16px;
        width: 100px;
        padding-bottom: 18px;
        height: 2%;
        padding-top: 10px;
        overflow-x: hidden;
    }

    .image img {
        padding: 5px 0;
        overflow-x: hidden;
        height: 307px;
        margin-bottom: -17px;
    }


    .carousel-card {
        width: 342px;
        height: 250px;
        margin-right: 20px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .slide {
        /* min-width: 100%; Show one slide at a time */
        overflow-x: hidden;

    }
    .card img {
        /* width: 100%; */
        height: 313px;
        width: 261px;
        /* height: auto; */
    }
    .slider-controls {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .card h3{
        display:inline;
        text-align: center;
        margin-left: -20%;
        overflow-x: hidden;
        font-size: 14px;
    }

    .text-section {
        margin-left: 0;
        padding: 10px;
        overflow-x: hidden;
    }

    .stats-container {
        flex-direction: column;
        background-color: white;
        overflow-x: hidden;
    }

    .stat-item {
        width: 100%;
        margin-bottom: 10px;
        width: 95%;
        overflow-x: hidden;
    }
    .text-section .description {
        font-size: 18px;
        line-height: 1.5;
        margin: 20px 0;
        text-align: justify;
    }
    .lawyers {
        flex-direction: row;
        align-items: center;
        overflow-x: hidden;
    }
    .lawyer h3{
        font-size: 16px;
    }
    .lawyer-photo {
        width: 100px;
        height: 100px;
        padding: 0px;
        margin-left: 0px;
        justify-content: center;
        overflow-x: hidden;
        overflow-y: hidden;
    }
    .lawyer-photo img {
        width: 95px;
        height: 95px;
        /* background-color: #ccc; */
        border-radius: 50%;
        margin: 0 auto 10px auto;
        padding: 40px;
        overflow-y: hidden;
        margin-left: -37px;
        margin-top: -38px;
    }
    .our-lawyers h2{
        margin-left: 2%;
        padding-bottom: 0%;
        margin-bottom: 5%;
        font-size: 39px;
        margin-top: 0px;
        text-align: center;
        overflow-x: hidden;
    }
    .our-lawyers p{
        font-size: 18px;
        text-align: center;
    }
    .lawyer p{
        margin-left:30%;
        /* padding: 0%; */
        margin: 0%;
        overflow-x: hidden;
        text-align: center;
        font-size: 14px;
        text-align: center;
    }

    .testimonial {
        width: 100%;
        margin: 10px 0;
        overflow-x: hidden;
    }
    
}

    @media (min-width: 600px) and (max-width: 767px) {
        .image img {
            height: 300px;
            padding: 0px 0;
            /* padding-left: 350px; */
        }
        .practice-areas h2, .statistics h2 {
            font-size: 36px;
        }
        .card img {
            width: 50%;
            height: auto;
        }
        .button {
            font-size: 20px;
            width: 120px;
            height: 14%;
        }
        .text-section .description {
            font-size: 16px;
            line-height: 1.5;
            margin: 20px 0;
            text-align: justify;
        }
        .lawyer-photo img {
            width: 130px;
            height: 130px;
            /* background-color: #ccc; */
            border-radius: 50%;
            margin: 0 auto 10px auto;
            padding: 40px;
            margin-left: -55px;
            margin-top: -55px;
        }
        
        .our-lawyers h2 {
            font-family: 'Playfair Display', serif;
            font-size: 36px;
            color: #1d2b40;
            margin-bottom: 20px;
        }
        
        .our-lawyers p {
            font-size: 16px;
            /* max-width: 1000px; */
            margin: 0 auto 40px;
            line-height: 1.5;
        }
        .lawyer p {
            font-size: 14px;
            /* margin-left: 30%; */
            /* padding: 0%; */
            margin: 0%;
            margin-right: -36px;
            text-align: center;
        }
        .lawyer h3 {
            margin-left: 24%;
            padding-bottom: 0%;
            font-size: 18px;
            margin-bottom: 0%;
        }
        .lawyers {
            flex-direction: row;
            align-items: center;
        }
        .carousel h3 {
            text-align: center;
            color: #1d2b40;
            font-size: 36px;
            font-family: 'Playfair Display', serif;
        }
        .carousel-card {
            width: 350px;
            height: 250px;
            margin-right: 20px;
            object-fit: cover;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .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){
    
    .logo {
        font-family: 'Playfair Display', serif;
        color: #d4a259;
        font-size: 15px;
        font-weight: bold;
        margin-left: 15px;
    }
    nav ul li a {
        text-decoration: none;
        color: #fff;
        font-size: 14px;
    }
    .image img {
        padding: 0px 0;
        height: 230px;
        padding-right: -39px;
        margin-top: 50px;
        margin-right: 11px;
    }
    .button {
        font-size: 20px;
        width: 150px;
        height: 5%;
        margin-bottom: -11px;
        margin-top: 11px;
    }
    .practice-areas h2, .statistics h2 {
        font-size: 38px;
    }
    .content h1 {
        font-size: 44px;
        margin: 0;
        line-height: 5rem;
    }
    .lawyer-photo img {
        width: 200px;
        height: 200px;
        /* background-color: #ccc; */
        border-radius: 50%;
        margin: 0 auto 10px auto;
        padding: 40px;
        margin-left: -75px;
        margin-top: -76px;
    }
    .practice-areas p, .statistics p {
        font-size: 20px;
    }
    .card img {
        /* width: 100%; */
        height: 370px;
    }
    .lawyer-photo {
        width: 130px;
        height: 130px;
       
        border-radius: 50%;
        margin: 0 auto 10px auto;
        padding: 40px;
        margin-left: 50px;
    }
    .card h3 {
        text-align: center;
        margin-bottom: -2%;
        margin-left: 0%;
    }
    .our-lawyers h2 {
        font-family: 'Playfair Display', serif;
        font-size: 38px;
        color: #1d2b40;
        margin-bottom: 20px;
    }
    .our-lawyers p {
        font-size: 20px;
        max-width: 1000px;
        margin: 0 auto 40px;
        line-height: 1.5;
    }
    .lawyers {
        flex-direction: row;
        align-items: center;
    }
    .lawyer h3 {
        margin-left: 13%;
        padding-bottom: 0%;
        margin-bottom: 0%;
    }
    .lawyer p {
        margin-left: 30%;
        /* padding: 0%; */
        margin: 0%;
        margin-left: 26px;
    }
    .carousel h3 {
        text-align: center;
        color: #1d2b40;
    }
        
    .image-section {
        background-color: #C59545;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 300px;
        margin-bottom: 6px;
        margin-top: 151px;
        display: none;
    }

    .image-wrapper img {
        /* max-width: 100%; */
        /* height: auto; */
        height: 250px;
        display: none;
    }
    
    .footer nav a {
        margin: 0 15px;
        text-decoration: none;
        color: white;
        text-align: center;
        font-size: 15px;
        letter-spacing: 1px;
    }
    .footer .social-icons {
        margin-bottom: 10px;
        text-align: center;
    }
    .footer p {
        margin: 5px 0;
        font-size: 14px;
        text-align: center;
    }
}


@media (min-width: 992px) and (max-width:1199px){
    
    .image img {
        padding: 20px 0;
        margin-left: 7px;
        margin-top: 43px;
        height: 460px;
    }
    .content h1 {
        font-size: 36px;
        line-height: 4rem;
        margin-left: -49px;
    }
    .content h2 {
        font-size: 14px;
        margin-left: -46px;
    }
    .button {
        font-size: 20px;
        width: 150px;
        height: 10%;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .our-lawyers h2 {
        font-family: 'Playfair Display', serif;
        font-size: 40px;
        color: #1d2b40;
        margin-bottom: 20px;
    }
    .practice-areas h2, .statistics h2 {
        font-size: 40px;
    }
    .practice-areas p, .statistics p {
        font-size: 20px;
    }
    .our-lawyers p {
        font-size: 20px;
       
        margin: 0 auto 40px;
        line-height: 1.5;
        margin-left: 59px;
    }
    .card img {
        width: 70%;
        height: auto;
    }
    
    .carousel h3 {
        text-align: center;
        color: #1d2b40;
        font-size: 40px;
        font-family: 'Playfair Display', serif;
    }
    .image-wrapper img {
        max-width: 368%;
        margin-top: 13px;
        height: 354px;
    }
    .image-section {
        background-color: #C59545;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 350px;
        height: 414px;
        margin-top: 121px;
    }
    .image-wrapper {
        padding: 10px;
        width: 259px;
    }

}
@media(min-width: 1200px){
    .image img {
        max-width: 100%;
       /* height: auto;*/
        padding-right: 40px;
        padding-top: 3px;
        height: 500px;
    }
    .image-wrapper img {
        max-width: 100%;
      
        height: 412px;

    }
    .button {
        font-size: 20px;
        width: 150px;
        height: 7%;
    }
    .card img {
        width: 78%;
        /* height: auto; */
    }
    .practice-areas h2, .statistics h2 {
        font-size: 48px;
    }

    .our-lawyers h2 {
        font-family: 'Playfair Display', serif;
        font-size: 48px;
        color: #1d2b40;
        margin-bottom: 20px;
    }
    .carousel h3 {
        text-align: center;
        color: #1d2b40;
        font-size: 48px;
        font-family: 'Playfair Display', serif;
    }
    .footer p {
        margin: 5px 0;
        font-size: 16px;
    }
    .content h1 {
        font-size: 36px;
        line-height: 4rem;
        margin-left: -48px;
    }
    .content h2 {
        font-size: 14px;
        margin-left: -45px;
    }
    /* .image img { */
        /* padding: 20px 0;
        margin-left: 643px;
        margin-top: -225px;
        height: 460px;
    }
    .content h1 {
        font-size: 36px;
        line-height: 4rem;
        margin-left: -49px;
    }
    .content h2 {
        font-size: 14px;
        margin-left: -46px;
    }
    .button {
        font-size: 20px;
        width: 150px;
        height: 10%;
        padding-top: 15px;
        padding-bottom: 15px;
    } */
}

@media (min-width: 320px) and (max-width: 459px){
    .content h1 {
        font-size: 24px;
        line-height: 2.5rem;
        overflow-x: hidden;
    }
    .image img {
        padding: 5px 0;
        overflow-x: hidden;
        height: 290px;
        margin-bottom: -17px;
    }
    .text-section h1 {
        font-size: 28px;
        margin: 10px 0;
        font-family: 'Playfair Display', serif;
    }
    .text-section .description {
        font-size: 15px;
        line-height: 1.5;
        margin: 20px 0;
        text-align: justify;
    }
    .block-content {
        flex-wrap: wrap;
        height: 670px;
        padding-bottom: 0px;
        padding-top: 10px;
    }
    .our-lawyers h2 {
        margin-left: 2%;
        padding-bottom: 0%;
        margin-bottom: 5%;
        font-size: 28px;
        margin-top: 0px;
        text-align: center;
        overflow-x: hidden;
    }
    .practice-areas p, .statistics p {
        font-size: 16px;
        margin-left: 16px;
        margin-right: 16px;
        text-align: justify;
    }
    .our-lawyers p {
        font-size: 14px;
        text-align: center;
    }

    .carousel h3 {
        text-align: center;
        color: #1d2b40;
        font-size: 28px;
        font-family: 'Playfair Display', serif;
    }
    .footer {
        flex-direction: row;
        text-align: center;
        margin-bottom: -33px;
    }
    .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 (min-width: 481px) and (max-width:599px){



    .content h1 {
        font-size: 26px;
        line-height: 3rem;
    }
    .image img {
        padding: 10px 0;
        height: 323px;
        margin-top: -13px;
    }
    .practice-areas h2, .statistics h2 {
        font-size: 32px;
    }
    .text-section h1 {
        font-size: 32px;
        margin: 10px 0;
        font-family: 'Playfair Display', serif;
    }
    .text-section .description {
        font-size: 16px;
        line-height: 1.5;
        margin: 20px 0;
        text-align: justify;
    }
    .our-lawyers h2 {
        font-family: 'Playfair Display', serif;
        font-size: 32px;
        color: #1d2b40;
        margin-bottom: 20px;
    }
    .our-lawyers p {
        font-size: 16px;
        max-width: 1000px;
        margin: 0 auto 40px;
        line-height: 1.5;
    }
    .lawyers {
        flex-direction: row;
        align-items: center;
    }
    .lawyer h3 {
        margin-left: 23%;
        padding-bottom: 0%;
        margin-bottom: 0%;
        font-size: 18px;
    }
    .lawyer p {
        margin-left: 30%;
        /* padding: 0%; */
        margin: 0%;
        font-size: 14px;
        margin-left: 33px;
    }

    .carousel h3 {
        text-align: center;
        color: #1d2b40;
        font-size: 32px;
        font-family: 'Playfair Display', serif;
    }
    .carousel-card {
        width: 350px;
        height: 250px;
        margin-right: 20px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .button {
        font-size: 20px;
        width: 120px;
        height: 10px;
    }
    .card img {
        /* width: 100%; */
        width: 275px;
        height: auto;
    }


    .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;
    }
}


@media (max-width: 480px) {
    .practice-areas{
        overflow-x: hidden;
    }
}

.know-more {
  text-decoration: none;
  color: #e74c3c;
}
.know-more:hover {
  text-decoration: underline;
}
