body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    background-color: #f8f9fa;
}

.top-bar {
    display: inline-block;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20px;
    height: 171px;
    border-bottom: 1px solid #ddd;
}

.fa-size a {
    font-size: large !important;
    color: black;
}

.logo img {
    height: 110px;
    padding-bottom: 6px;
}

.contact-info {
    text-align: center;
    font-size: 14px;
    color: #333;
    display: flex;
    vertical-align: middle;
    white-space: normal;
    font-weight: bold;
}

.social-icons {
    display: flex;
    gap: 10px;
}

@media (max-width: 1413px) {
    .contact-info .email {
        font-size: 13px;
    }

    .contact-info .tel {
        font-size: 13px;
    }

    .contact-info .address {
        font-size: 13px;
    }
}
@media (max-width: 1370px) {
    .contact-info .email {
        font-size: 12px;
    }

    .contact-info .tel {
        font-size: 12px;
    }

    .contact-info .address {
        font-size: 12px;
    }
    @media (max-width: 1243px) {
        .contact-info .email {
            display: none;
        }
    }
}
/* Hide the ADDRESS span on very small screens */
@media (max-width: 1200px) {
    .top-bar {
        height: 120px;
    }

    .contact-info .email {
        font-size: 12px;
    }

    .contact-info .tel {
        font-size: 12px;
    }

    .search-icon {
        display: none;
    }

    .logo img {
        height: 60px;
        width: 70px;
    }

    @media (max-width: 860px) {
    
        .contact-info .tel{
            display: none;
        }
    }
}

/* Adjust margins and font sizes for smaller screens */
@media (max-width: 768px) {

    .contact-info .address{
        display: none;
    }

    .fa-size a {
        margin: 10px 10px;
        /* Reduce horizontal margin */
    }

    .fa-size i {
        font-size: 18px;
        /* Decrease icon size */
    }

    .contact-info .email {
        display: none;
    }

    .contact-info .tel {
        display: none;
    }

    .mobile-row {
        display: flex;
        flex-wrap: nowrap !important;
    }
}

/* Further adjust for even smaller screens */
@media (max-width: 576px) {
    .top-bar {
        height: 70px;
    }

    .fa-size a {
        margin: 0 5px;
        /* Further reduce margin */
    }

    .fa-size i {
        font-size: 16px;
        /* Further decrease icon size */
    }

    .logo img {
        height: 59px;
        width: 59px;
    }

    .contact-info .email {
        display: none;
    }

    .contact-info .tel {
        display: none;
    }
}

/* styles.css */


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

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 560px;
    background-size: cover;
    background-position: center 13%;
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    /* height: 100vh; */
    /* Full viewport height */
    position: relative;
}

.slide .content {
    text-decoration: none;
    position: absolute;
    font-family: Roboto;
    /* font-weight: 300; */
    font-size: 40px;
    line-height: 30px;
    left: 50%;
    /* Center horizontally */
    transform: translateX(-50%);
    /* Horizontally center */
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent background */
    padding: 20px 30px;
    color: white;
    opacity: 0.7;
    transition: opacity 0.1s ease-in-out, top 0.5s ease-in-out;
    animation: slideDown 0.8s forwards ease-in-out;
    width: 68%;
    height: 100px;
    text-align: center;
    text-transform: capitalize;
}

.slide .content h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    /* Light font weight */
    font-size: 40px;
    /* Adjust font size to be larger */
    line-height: 1.2;
    /* Adjust line height for better spacing */
    color: white;
    /* White text */
    text-align: center;
    /* Center the text */
    text-transform: none;
    /* Capitalize based on the text content */
    margin: 0;
    /* Remove default margin */
    padding: 0;
    /* Remove default padding */
}

.slide .title {
    text-decoration: none;
    position: absolute;
    font-family: Roboto;
    /* font-weight: 300; */
    font-size: 40px;
    line-height: 30px;
    left: 20%;
    /* Center horizontally */
    transform: translateX(-50%);
    /* Horizontally center */
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent background */
    padding: 8px 15px;
    color: white;
    opacity: 0.7;
    transition: opacity 0.1s ease-in-out, top 0.5s ease-in-out;
    animation: slideTop 0.8s forwards ease-in-out;
    width: 25%;
    height: auto;
    text-align: center;
    text-transform: capitalize;
}

.slide .title h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    /* Light font weight */
    font-size: 40px;
    /* Adjust font size to be larger */
    line-height: 1.5;
    /* Adjust line height for better spacing */
    color: white;
    /* White text */
    text-align: center;
    /* Center the text */
    text-transform: none;
    /* Capitalize based on the text content */
    margin: 0;
    /* Remove default margin */
    padding: 0;
    /* Remove default padding */
}

/***  testimonial sliders ***/

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

.testimonials {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 13%;
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    /* height: 100vh; */
    /* Full viewport height */
    position: relative;
    margin-top: 40px;
}

.testimonial .content {
    text-decoration: none;
    position: relative;
    font-family: Roboto;
    /* font-weight: 300; */
    font-size: 40px;
    line-height: 30px;
    padding: 0px 80px;
    color: black;
    opacity: 0.7;
    transition: opacity 0.1s ease-in-out, top 0.5s ease-in-out;
    /* animation: slideDown 0.8s forwards ease-in-out; */
    width: auto;
    height: auto;
    text-align: left;
}

.testimonial .content h5 {
    font-family: Roboto;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;

}

.testimonial .content i.fas.fa-quote-left {
    font-size: 40px;
    padding-right: 30px;
    padding-bottom: 30px;
    display: inline-block;
    background-image: none !important;
    mask-image: none !important;
    color: #000; /* Customize color */
}

.testimonial-container {
    font-family: "Your Desired Font"; /* Adjust to the appropriate font family */
    background-color: #f7f7f7; /* Adjust the background color to match the one in your image */
    padding: 20px; /* Adjust padding as needed */
    max-width: 600px; /* Define a maximum width for the container */
    border-left: 5px solid #43b1e7; /* This can be adjusted for the quote style */
    margin: 0 auto; /* Center the container */
}

.first-three-lines {
    display: inline-block;
    font-size: 18px; /* Adjust font size as needed */
    line-height: 1.5; /* Adjust line spacing */
}
.custom-line {
    width: 50px;
    height: 0;
    border-top: 2px solid;
    content: '-';
    opacity: 0.4;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.medium-text {
    font-size: 13px; /* Adjust the size to what you consider 'medium' */
    font-weight: bold;
}

.remaining-text {
    display: inline-block;
    font-size: 18px; /* Make sure font size matches */
    line-height: 1.5;
}

.testimonial-container::before {
    content: "“"; /* Add an opening quote */
    font-size: 50px; /* Adjust for your styling */
    color: #000; /* Adjust color to match */
    position: relative;
    top: 10px; /* Adjust positioning */
}

.testimonial-container::after {
    content: "”"; /* Add a closing quote */
    font-size: 50px;
    color: #000;
    position: relative;
    bottom: -10px; /* Adjust positioning */
    display: inline-block;
}

.testimonial .content {
    background-image: none !important; /* Ensure no background image is interfering */
}

@media (max-width: 768px) {
    .testimonial .content i.fas.fa-quote-left {
        font-size: 30px; /* Adjust icon size for mobile */
        padding-right: 15px;
        padding-bottom: 15px;
    }
    .slide .content {
        font-size: 30px;
        padding: 15px 20px;
        width: 85%;
        height: 100px;
    }
    
    .slide .content h2 {
        font-size: 22px;
    }

}

/*** end ***/



@keyframes slideDown {
    0% {
        top: 80%;
        /* Start slightly above the bottom */
        opacity: 0;
    }

    100% {
        top: 86.5%;
        /* End near the bottom of the container */
        opacity: 0.7;
    }
}

@keyframes slideTop {
    0% {
        top: -10%;
        /* Start slightly above the bottom */
        opacity: 0;
    }

    100% {
        top: 0%;
        /* End near the bottom of the container */
        opacity: 0.5;
    }
}



.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    z-index: 1000;
}

.tnav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: white;
    color: black;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    z-index: 1000;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

/* Navigation Bar */
.navbar {
    background-color: white;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: right;
    height: 52px;
    /* Center the navigation items */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar ul li {
    position: relative;
    padding: 0px 20px;
    font-weight: 500;
    height: 46px;
    display: flex;
    align-items: center;
    text-align: left;
    /* Font weight for normal items */
}

.navbar ul li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 500;
    height: 52px;
    display: flex;
    align-items: center;
    text-align: center;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

/* Underline effect on hover and active */
/* .navbar ul li:hover,
.navbar ul li:active, */
.navbar ul li a:hover {
    background-color: white;
    border-bottom: #4054B2 3px solid;
    color: #4054B2;
}

.navbar ul li ul {
    display: none;
    position: absolute;
    border-top: #4054B2 3px solid;
    top: 100% !important;
    /* Position below the parent <li> */
    left: 0;
    background-color: rgba(247, 248, 248, 1);
    /* Same background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    /* Remove padding */
    margin: 0;
    width: 200px;
    z-index: 10;
}

/* Show dropdown on hover */
/* .navbar ul li:hover ul {
    display: block;
} */

/* Dropdown item styles */
.navbar ul li ul li {
    display: block;
    font-weight: 400;
    /* Lighter font weight for dropdown items */
    border-bottom: 1px solid #e0e0e0;
    /* Bottom border between items */
    height: 50px;
    /* Same height for all dropdown items */
    line-height: 50px;
    /* Vertically center text */
}

.navbar ul li ul li:last-child {
    border-bottom: none;
    /* Remove bottom border from last item */
}

.navbar ul li ul li a {
    display: block;
    padding: 0 20px;
    /* Padding only on the sides */
    white-space: nowrap;
    height: 100%;
    /* Fill the full height of the li */
    text-decoration: none;
    line-height: inherit;
    /* Inherit the line-height from li */
    font-weight: 400;
    font-size: 15px;
    text-align: left;
}

/* Hover effect */
.navbar ul li ul li:hover,
.navbar ul li ul li a:hover {
    background-color: white;
    /* Blue hover background */
    min-width: 100%;
    min-height: 100%;
    color: #43b1e7;
    border-bottom: none;
}

/* Show dropdown on hover */
/* .navbar ul li:hover ul {
    display: block;
} */

/* Mobile Styles */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 20px;
    /* Move the hamburger icon to the left */
    top: 10px;
    /* Adjust vertical alignment */
}

.arrow-768-plus {
    display: block;
    margin-left: 7px;
}

.arrow {
    display: none;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: black;
    margin: 4px 0;
    transition: 0.4s;
}

.navbar-toggle.active .bar:nth-child(1) {
    transform: rotate(50deg) translate(4px, 11px);
}

.navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .bar:nth-child(3) {
    transform: rotate(-50deg) translate(4px, -11px);
}

@media screen and (max-width: 1175px) {
    .slide .content h2 {
        font-size: 30px;
        padding-top:15px;
    }
    .slide .title h2{
        font-size: 30px;
    }
}

@media screen and (max-width: 900px) {
    .slide .content h2 {
        font-size: 20px;
        /* padding-top:15px; */
    }
    .slide .title h2{
        font-size: 20px;
    }
}

@media screen and (max-width: 630px) {
    .tnav {
        background-color: unset;
    }
    .prev {
        left: -12px;
    }
    .next {
        right: -12px;
    }
    .testimonial .content{
        padding: 0px 23px;
    }
    .slide .content h2 {
        font-size: 14px;
        /* padding-top:15px; */
    }
    .slide .content {
        font-size: 24px;
        padding: 15px 20px;
        width: 92%;
        height: 100px;
    }
    .slide .title{
        width: 33%;
    }
    .slide .title h2{
        font-size: 12px;
    }
}

@media screen and (max-width: 780) {
    .slide .content {
        font-size: 30px;
        padding: 15px 20px;
        width: 92%;
        height: 100px;
    }
}

@media screen and (max-width: 885px) {
    .navbar ul li a {
        font-size: 14px;
        font-weight: 600;
    }

    .contact-info .email {
        font-size: 12px;
    }

    .contact-info .tel {
        font-size: 12px;
    }
    /* Styles for max-width: 815px, which will override the above */
    @media screen and (max-width: 815px) {
        .navbar ul li a {
            font-size: 12px;
            font-weight: 600;
        }
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .navbar-menu {
        height: 0;
        /* Keep it collapsed initially */
    }

    .navbar-menu li a[style] {
        border-bottom: none !important;
    }
    .navbar-menu.active {
        height: 110vh;
        /* Fullscreen when active */
    }

    .navbar ul li ul {
        border-top: none !important;
        box-shadow: none;
        width: 100%;
    }

    .navbar ul li ul li {
        border-bottom: none !important;
        background-color: white;
        line-height: 0px;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        background-color: white;
        z-index: 10000;
        padding: 10px 10px 10px 10px;
        margin-top: 40px;
    }

    .navbar ul li {
        height: 50px !important;
        padding: 10px 10px 10px 10px;
    }

    /* Make the "Practice Areas" link take the full width and align the chevron right */
    .menu-item-has-children {
        width: 100% !important;
    }

    .menu-item-has-children a {
        position: relative;
        display: block;
        padding: 15px;
        font-size: 18px;
        font-weight: bold;
        color: black;
        text-decoration: none;
        width: 100%;
    }

    .menu-item-has-children a:hover {
        border-bottom: none!important;
    }
    
    /* Force the chevron icon to float right */
    .menu-item-has-children a .fa-chevron-right {
        float: right;
        /* This forces it to the right */
        transition: transform 0.3s ease;
        margin-top: 4px;
        /* Adjust vertical alignment */
    }

    /* Rotate the chevron when the menu is open */
    .menu-item-has-children.open a .fa-chevron-right {
        transform: rotate(90deg);
        /* Rotate chevron to point down when open */
    }

    .arrow-768-plus {
        display: none;
    }

    .arrow {
        display: block;
    }

    .navbar ul li {
        width: 100%;
    }

    .navbar ul li a {
        padding: 15px;
        color: black;
        font-size: 18px;
        font-weight: bold;
    }

    .navbar ul.active {
        display: flex;
        width: 100vw;
        /* Make the ul take full width */
        flex-direction: column;
        /* Stack items vertically */
        position: absolute;
        /* Ensure it's positioned over other content if needed */
        top: 0;
        /* Align it to the top if necessary */
        left: 0;
        /* Align it to the left edge of the screen */
        background-color: #fff;
        /* Set background color to ensure visibility */
        padding: 10px;
        /* Optional: Add padding for aesthetics */
        z-index: 100000;
        /* Optional: Ensure it appears above other elements */
    }

    .navbar ul.active li {
        width: 100%;
    }

    .navbar-toggle {
        display: flex;
    }

    /* Submenu Styling */
    .sub-nav {
        display: none;
        padding-left: 20px;
        background-color: #f7f7f7;
        margin-top: 10px;
    }

    .sub-nav li a {
        color: gray;
        font-size: 16px;
    }

    /* Menu item with children (Practice Areas) */
    .menu-item-has-children a {
        display: flex;
        justify-content: space-between;
        /* This moves the arrow to the right side */
        align-items: center;
    }

    .menu-item-has-children .arrow {
        transition: transform 0.3s ease;
    }

    /* Rotate the arrow when the menu is opened */
    .menu-item-has-children.open .arrow {
        transform: rotate(90deg);
        /* Rotate the arrow on open */
    }

    ul.sub-nav {
        display: none;
        position: absolute;
        top: 100%;
        /* Adjust based on your design */
        left: 0;
        background-color: #fff;
    }

    /* li.menu-item-has-children:hover ul.sub-nav {
        display: block;
    } */

    li.menu-item-has-children {
        position: relative;
    }

    ul.sub-nav li {
        padding: 10px;
        list-style: none;
    }

    ul.sub-nav li a {
        color: #000;
        /* Adjust text color */
        text-decoration: none;
    }

    ul.sub-nav li a:hover {
        background-color: #f0f0f0;
        /* Adjust hover effect */
    }

    /* Hover effect */
    .navbar ul li ul li:hover,
    .navbar ul li ul li a:hover {
        color: #43b1e7;
        border-bottom: none;
    }

    .navbar ul li a:hover {
        border-bottom: none;
        color: #4054B2;
        /* Underline */
    }
}

.slogan_one {
    /* background-image: url('../img/box_bg_1.jpg'); */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slogan_one,
.slogan_two,
.slogan_three h2 {

    color: #ffffff;
    font-size: 36px;
    line-height: 47px;
    letter-spacing: -0.9px;
    font-family: Libre Baskerville;
    font-weight: 400;
}

.slogan_two {
    /* background-image: url('../img/box_bg_2.jpg'); */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slogan_three {
    /* background-image: url('../img/box_bg_3.jpg'); */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-heading {
    background-color: #f8f9fa;

}

.service-heading h4 {
    font-family: Roboto;
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    line-height: 40px;
}

.services {
    background-color: #f8f9fa;

}

.card {
    margin-right: -10px !important;
    margin-left: -10px !important;
    padding: 20px;
}

.card-text {
    line-height: 1.6;
    font-family: Roboto;
    font-size: 15px;
}

.section-heading {
    font-family: Roboto;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: -0.6px;
    font-weight: 400;
}

.section-subheading {
    font-size: 1.25rem;
}

.main-text {
    font-size: 15px;
    line-height: 1.6;
    font-family: Roboto;
    padding: 20px;
}

h6 {
    font-family: Roboto;
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    text-transform: uppercase;
}

.footer {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 30px 0;
}



.footer a {
    color: #abc3e1;
    text-decoration: none;
    font-size: 1em;
}

.list-unstyled li {
    line-height: 2.5;
    font-weight: 100;
}

.footer a:hover {
    color: #43b1e7;
}

.footer .address-icon {
    color: #b0bec5;
}

.footer .address {
    color: #abc3e1;
    line-height: 2.5;
    font-weight: 100;
}

.footer .terms {
    /* border-top: 1px solid #b0bec5; */
    padding-top: 15px;
    line-height: 2.5;
    font-weight: 100;
    color: #abc3e1;
}

.footer h5 {
    font-family: Roboto;
    font-size: 16px;
    text-transform: none;
    font-weight: 400;
    text-transform: uppercase;
}

.detail_page_banner {
    min-height: 560px;
    height: auto;
    background-color: white;
    background-size: contain;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    /* You can adjust this value based on your design */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0.7;
}

.detail_page_banner h1,
.detail_page_banner h2 {
    z-index: 1;
    /* Ensure the text is above the image */
}

.detail_page_banner h1 {
    font-family: Libre Baskerville;
    font-weight: 400;
    font-size: 58px;
    line-height: 72px;
    letter-spacing: -1.45px;
}

.detail_page_banner h2 {
    font-size: 13px;
    line-height: 1.5;
    padding-bottom: 0;
}

.page-content {
    text-align: left;
    font-family: "Roboto", Sans-serif;
    padding: 50px 20px;
    text-align: left;
}

.page-content p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .detail_page_banner {
        min-height: 300px;
    }

    .detail_page_banner h1 {
        font-size: 24px;
        /* Adjust font size for smaller screens */
    }

    .detail_page_banner h2 {
        font-size: 18px;
        /* Adjust font size for smaller screens */
    }
}

.service_page_banner {
    min-height: 528px;
    height: auto;
    background-color: white;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center top;
    /* You can adjust this value based on your design */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    /* opacity: 0.7; */
}
.page-content ul li {
    list-style: square!important;
    line-height: 28px;
    padding: 0 0 6px 6px!important;
}
.page-content ul li::marker {
    color: #43b1e7;
}

.service_page_banner h1,
.service_page_banner h2 {
    z-index: 1;
    /* Ensure the text is above the image */
}

.service_page_banner h1 {
    font-family: Libre Baskerville;
    font-weight: 400;
    font-size: 58px;
    line-height: 72px;
    letter-spacing: -1.45px;
}

@media (max-width: 768px) {
    .service_page_banner {
        min-height: 300px;
    }

    .service_page_banner h1 {
        font-size: 24px;
        /* Adjust font size for smaller screens */
    }

    .service_page_banner h2 {
        font-size: 18px;
        /* Adjust font size for smaller screens */
    }
}

