:root {
    font-size: 16px;
}

/* Tablet styles */
@media (max-width: 1023px) {



}

/* Mobile styles */
@media (max-width: 767px) and (orientation: portrait) {
/* PRELOADER */
#company-n {
    font-size: 2rem;
}

#company-d {
    font-size: 1.15rem;
    text-align: left;
    margin: 0.3rem;
}

/* SLIDER */
.slider-wrap {
    width: 100% !important;
    height: 30vh !important;
}

#home-slider {
    height: 30vh !important;
    width: 100% !important;
}

/* HEADER */
header {
    margin-top: 0;
}

header li {
    font-size: 1.2rem;
}
.header_wrapper {
    z-index: 10;
    left: 0;
    position: fixed;
    width: 100%;
    background-color: #fff;
}

#header_logo {
    width: 3rem;
}

.logo span {
    font-size: 1.5rem;
    text-align: left;
}

.branding {
    font-size: 1.2rem;
    margin: 0;
}

.branding_wrapper {
    margin: 1rem;
}

/* NAVIGATION */
.nav-container {
    margin: 0.8rem;
}
nav {
    display: none;
    width: 100%;
    height: 100vh;
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgb(255 255 255);
    flex-direction: column;
    align-items: center;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
}

.nav-flex div {
    margin: 0 1rem 0 1rem;
}

.nav-flex img {
    width: 3rem;
    height: 3rem;
    
}

nav ul {
    width: 100%;
    list-style-type: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}

nav ul li {
    width: 100%;
}

nav ul li a {
    display: block;
    padding: 0.5rem 0;
    width: 100%;
    text-align: start; /* Center the menu text */
    padding: 1rem; /* Add a separator line */
}

nav li img {
width: 5rem;
}

.nav_number {
    display: inline;
}
.hamburger {
    display: block; /* show the button */
    background: none;
    border: none;
    font-size: 24px;
    z-index: 3;
}

.phone_wrapper {
    display: none;
}

/* SLIDER */
.swiper-image-left {
    padding: 0.5rem !important;
}

.slider-wrap h1 {
    font-size: 1.3rem !important;
    margin: auto 0 auto 0 !important;
}

.slider-wrap h1 + p {
    padding-right: unset !important;
    font-size: 0.6rem !important;
}

.slider-wrap p.paragraph {
    font-size: 0.9rem !important;
}

.swiper-image-inner {
    width: unset !important;
}

/* MAIN CONTENT */
.our_services h1, our_team h1 {
    margin-top: 0.5rem !important;
    font-size: 1.5rem;
}

/* SERVICES */
.all_services {
    width: 95%;
}

.item {
    margin-left: unset !important;
    margin-right: unset !important;
    max-width: unset !important;
    min-height: 330px;
}

.item img {
    width: 35vw;
    border-radius: 20%;
    object-fit: cover;
    height: 100%;
}

.service_description {
    font-size: 0.8rem;
}

.service_heading {
    font-size: 1rem !important;
}

.service_headings {
    width: 95%;
}

#all_services {
    font-size: 1rem;
}


/* OUR TEAM */
.lawyers, .leadership {
    width: 100%;
    margin-top: 1rem;
    justify-content: space-around;
}

.our_team {
    width: 95%;
}

.our_team h1 {
    font-size: 1.2rem;
    margin: 0;
}

.t-controls {
    font-size: 1rem;
}

.t-item {
    margin: unset !important;
}

.t-item-c {
    width: 100%;
    max-width: unset;
    font-size: 0.7rem;
}

.t-item img {
    width: 8rem;
    height: 12rem;
    border-radius: 30%;
}

.t-img_name {
    font-size: 1rem;
}

.t-img_position {
    font-size: 0.8rem;
    width: 30vw;
}
/* CONTACT US */
.contact {
    width: 95%;
}

/* FOOTER */
.footer_wrapper {
    width: 95% !important;
    justify-content: space-around;
}

.footer_wrapper:hover {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 75%;
    margin: 0 auto;
    filter: none;
}

.footer_branding {
    display: flex;
    flex-direction: column;
}

.footer_branding img {
    width: 8rem;
}

.footer_logo_text {
    display: none;
}

.footer_contact {
    width: 50%;
    font-size: 1rem;
}

.footer_copyright {
    font-size: 1rem;
    text-align: center;
}
}