@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Sora:wght@100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Sora:wght@100..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --priamry-color: #730100;
    --secondary-color: #191A27;
}

body {
    font-family: "Manrope", sans-serif;
    color: #000000;
    line-height: 1.6;
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter Tight", sans-serif;
    margin-bottom: 15px;
    text-align: left;
}

img {
    max-width: 100%;
    height: auto;

}

.container {
    max-width: 1320px;
    margin: 0 auto;
}

/* header section start */
.header-main {
    background: transparent;
    width: 100%;
    z-index: 9999;
    position: absolute;
}

.header-main .container {
    max-width: 1340px;
    margin: 0px auto;
    background: #ffffffb8;
    border-radius: 48px;
}

ul.navbar-nav {
    margin-left: 10px;
    gap: 20px;
}

.nav-item a {
    color: #000000;
}

.mega-menu-title {
    color: #000;
}

#mega-menu-wrap-header_menu #mega-menu-header_menu>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link {
    padding: 6px 0px !important;
}

#mega-menu-wrap-header_menu #mega-menu-header_menu>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link:hover {
    background: rgb(233, 233, 233) !important;
}

span.mega-menu-description {
    display: none !important;


}

#mega-menu-wrap-header_menu #mega-menu-header_menu>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link:hover span.mega-menu-description {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: normal !important;

}

#mega-menu-wrap-header_menu #mega-menu-header_menu>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link:hover {
    border-radius: 15px !important;
}

.dropdown-toggle::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    border: none !important;
    margin-left: 0.5rem;
    vertical-align: 0 !important;
}

h1.hero-heading {
    font-size: 60px;
    font-weight: bold;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

#animated-text{
    display: inline-block;
    font-weight: 600;
    color: #730100;
    letter-spacing: 0.5px;
    font-size: 16px;
}

#animated-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeDown 0.5s ease-out forwards;
}

@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bounce effect for entire word */
.bounce {
    animation: bounceText 1s ease infinite;
}

@keyframes bounceText {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-6px);
    }

    60% {
        transform: translateY(-3px);
    }
}








.contact-info hr {
    border-top: 2px solid var(--priamry-color);
    width: 100%;
}

.contact-info hr,
.contact-info span,
.contact-info i {
    color: var(--priamry-color);
}

/* header section  end*/


.header-btn {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-section {
    background: url('/wp-content/themes/fordfirmlaw/assets/img/hero-banner.png') no-repeat center center/cover;
    padding-top: 150px;
    font-size: 18px;
    overflow: hidden;
}

.line-heading {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 200;
}

.line-heading:after {
    content: "";
    width: 15%;
    height: 1px;
    background: #F6FF00;
    display: inline-block;
    margin-left: 20px;
}

.owl-theme .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.owl-theme .owl-nav button {
    background: rgba(0, 0, 0, 0.4);
    color: #fff !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.owl-theme .owl-nav button:hover {
    background: none !important;
}

.owl-theme .owl-nav .owl-prev {
    left: -70px;
}

.owl-theme .owl-nav .owl-next {
    right: -70px;
}

.owl-theme .owl-nav button i {
    font-size: 40px;
    line-height: 50px;
}

.owl-dots {
    position: absolute;
    bottom: 25px;

}

button.owl-dot.active {
    border: 1px solid white;
    border-radius: 50%;
    padding: 3px 1px !important;
}

button.owl-dot.active span {
    background: white;
}

.owl-theme .owl-dots .owl-dot span {
    height: 5px;
    width: 5px;
    background: white !important;

}

a.btn.btn-primary {
    padding: 10px 22px;
    border-radius: 36px;
    background-color: var(--priamry-color);
    border: none;
}

/* counter section start  */
.stats-section {
    background: #F4F4F4;
}


/* counte section end   */

/* law section start  */


.accident-law {
    background: url('/wp-content/themes/fordfirmlaw/assets/img/overlay-1.png') no-repeat center center/cover;
    padding: 70px 70px;
    color: #fff;
    font-size: 20px;
}

.criminal-law {
    background: url('/wp-content/themes/fordfirmlaw/assets/img/overlay-2.png') no-repeat center center/cover;
    padding: 60px 70px;
    color: #fff;
    font-size: 20px;


}

a.read-more-btn {
    color: white;
    text-decoration: none;
    border: 1px solid white;
    padding: 10px 15px;
    border-radius: 30px;
}

p.line-heading.white::after {
    background: white;
    width: 8%;
}

p.line-heading.black::after {
    background: black;
    width: 8%;
}

.firm-img {
    height: 80px;
}

/* law section end   */

/* about section start    */
.about-content h2 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--priamry-color);

}

.about-img {
    border-radius: 40px;
    box-shadow: -15px 0 30px rgba(115, 1, 0, 0.5);
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
}

.img-wrapper img {
    transition: transform 0.6s ease;
    /* smooth zoom effect */
}

.img-wrapper:hover img {
    transform: scale(1.08);
}

p.line-heading.primary::after {
    background: var(--priamry-color);
}

/* about section end  */
/* /* why choose us section start  */
.why-choose-us-section {
    background: #F4F4F4;
}

.why-choose-us-section h2 {
    font-weight: 700;
    line-height: 1.3;
}

.why-choose-us-section .img-container img {
    object-fit: contain;
}

.video-wrapper video {
    object-fit: cover;
    border-bottom-left-radius: 170px;
}

/* /* why choose us section start  */



.practice-areas {
    background-color: #191A27;
}

.practice-areas h2 {
    font-size: 42px;
    margin-bottom: 40px;
    font-weight: 700;
}

.practice-areas h2 span {
    color: var(--priamry-color);
}

.practice-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border-radius: 25px;
    height: 300px;
}

.practice-card img {
    object-fit: cover;
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
}

.practice-grid {
    width: 75%;
}

.practice-area2 {
    flex: auto;
}

.practice-card:hover .acc-img {
    transform: scale(1.1);
}

.practice-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.practice-card:hover .overlay {
    background: rgb(140 32 32 / 80%);
}

.practice-card .overlay img {
    margin-bottom: 10px;
    object-fit: none;
    height: auto;
    width: auto;
}

.practice-card .overlay h5 {
    font-weight: 600;
}

.hidden-font span {
    display: inline-block;
    font-size: 302px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.05;
    line-height: 0;

}

.testimonial-section {
    margin-top: -75px;
}

.testimonial-section .container {
    background: #420303;
    border-radius: 56px;
    padding: 40px 80px;
}

.testimonial-section h2 {
    font-size: 42px;
}

.testimonial-card {
    background: #fff;
    border-radius: 25px;
    padding: 25px;
    text-align: center;
    color: #000;
    height: 400px;
    max-width: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card:hover {
    background: linear-gradient(to bottom, #FFFFFF 70%, #F6FF00 100%);
}

.testimonial-card a {
    text-decoration: none;
    color: #000;
}

.testimonial-card .client-img {
    width: auto !important;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.testimonial-card .stars {
    color: #f8c52c;
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex !important;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.testimonial-carousel .owl-nav button i {
    pointer-events: auto;
    border: 1px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
}


.testimonial-carousel .owl-nav .owl-prev {
    position: absolute;
    left: -60px;

}

.testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    right: -60px;

}



.book-consultation {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.book-consultation .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.book-consultation .video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-consultation .container {
    position: relative;
    z-index: 2;
}

.glass-bg {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 65px;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    padding: 80px 50px;
    font-size: 19px;
}

.glass-bg h2 {
    font-size: 48px;
    font-weight: bold;
}

/* 
section.contact-us-section .container:before {
    content: "Get In Touch";
    font-size: 260px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    position: absolute;
    z-index: -1;
    opacity: 5%;
    line-height: 1.2;
    left: -50px;
} */

.map-wrapper {
    font-size: 18px;
    height: 100%;
    margin: 0;
}

.map-wrapper iframe {
    border-radius: 34px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 1rem 0.75rem;
    background-color: var(--bs-body-bg);
    border-radius: 15px;
    border: 1px solid #AEAEAE;
}

.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #AEAEAE;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(196, 196, 196, 0.141);
}

span.horizontal-line {
    width: 6px;
    background: var(--priamry-color);
    display: inline-block;
    margin-right: 15px;
    height: 90px;
    margin-top: 10px;
    align-self: flex-start;
}

.contact-card-sec {
    position: relative;
}

.contact-card {
    background: linear-gradient(to right, #FDFFDB 0%, #FFFFFF 100%);
    color: #000;
    padding: 2.5rem;
    font-size: 16px;
    border: 1px solid #D0D0D0;
    border-radius: 44px;
    position: relative;
    top: 65px;
}

.contact-card .col-md-2 {
    width: 18%;
    border-right: 1px solid;
}

.contact-card .col-md-3 {
    border-right: 1px solid;
}

.contact-card h5 {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.9;
    margin: 0;
    border-right: 1px solid;
    padding: 0 10px;
}

.btn.btn-primary.consulting-btn {
    padding: 10px;
}

.contact-card p {
    margin-bottom: 0px;
}

.footer {
    background-color: #4d0000;
    /* dark red */
    color: #fff;
    padding-top: 100px;
    font-size: 18px;

}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.newsletter-input {
    max-width: 100%;
    border-radius: 12px;
}

.footer-bottom {

    padding: 1rem 0;
    font-size: 16px;
}


.newsletter-wrapper {
    flex: 0 0 auto;
    width: 40%;
    PADDING: 0px 60px 0 0;
}

.link-wrap {
    width: 20%;
}

.sign-up-btn {
    padding: .7rem .3rem;
    background: var(--priamry-color);
    border: none;
    color: white;
    font-size: 18px;
    border-radius: 12px;
}

ul.list-unstyled {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.firm-logo {
    border-radius: 10px;
}

/* -------- Added By Kousik-------- */
a.nav-link.active {
    color: red !important;
}

/* ------------ */
.accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
}

.accordion-button {
    background-color: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    background-color: #e0e7ff;
    color: #1e40af;
}

.accordion-button::after {
    transition: transform 0.3s ease;
}

.accordion-button.collapsed::after {
    transform: rotate(0deg);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    background: #ffffff;
}

.accordion-collapse {
    transition: max-height 0.3s ease;
}

/* ------------- */

#premium-contact {
    background: linear-gradient(135deg, #f3f6f9, #e2e8f0);
}

#premium-contact-form {
    border: 1px solid #e0e0e0;
}

#premium-contact-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* ----------- */
.card-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.breadcrumbs a {
    text-decoration: none;
    color: yellow;
}

.accordion {
    --bs-accordion-btn-icon: url('http://fordfirmlaw.ezmarketingtech.com/wp-content/uploads/2025/09/plus_14440532.png');
    --bs-accordion-btn-active-icon: url('http://fordfirmlaw.ezmarketingtech.com/wp-content/uploads/2025/09/minus_14441015.png');
}

.card-about {
    min-height: 120px !important;
}

.card-about:hover {
    background: var(--priamry-color);
    color: #fff;
}

.card-about:hover .badge {
    background: #f8f9fa !important;
    color: #000;
}

.accordion-item {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    border-bottom: 1px solid black !important;
    box-shadow: none !important;
}

button.accordion-button.collapsed {
    background: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    color: black !important;
    background-color: #fff !important;
    box-shadow: none !important;
}

.accordion-body {
    color: #000 !important;
}

.cta-buttons {
    display: none;
}

#mega-menu-wrap-header_menu #mega-menu-header_menu>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link:hover .cta-buttons {
    display: flex;
    gap: 5px;
    justify-content: flex-start;
    margin: 20px 0;
}

.btn-cta {
    background-color: #730100;
    color: #fff;
    padding: 6px 8px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-cta:hover {
    background-color: #a50202;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#mega-menu-wrap-header_menu #mega-menu-header_menu a.mega-menu-link .mega-description-group {
    padding: 10px;

}

ul#mega-menu-quick_links {
    display: flex !important;
    flex-direction: column;
}

ul#mega-menu-quick_links .mega-menu-link {
    color: #fff !important;
    font-size: 16px !important;
}
.mega-description-group .mega-menu-title {
    font-size: 16px;
}

input[type="submit"],
input#esfpx_email_0fe74ada6116e {
    width: 100%;
    padding: .75rem .5rem;
    border-radius: 12px;
}

input[type="submit"] {
    background: var(--priamry-color);
    color: #fff !important;
    font-size: 18px;
    border: none !important;

}
.e-n-accordion-item{
    transition: .3 all ease-in !important;
}
.e-n-accordion-item:hover {
    transform: translateY(3px) !important;
}
input.wpcf7-submit {
    display: inline-block;
    width: max-content;
    padding: 10px 30px;
}

.accordion-button::after {
  flex-shrink: 0;
  margin-left: auto;
  font-family: "Font Awesome 6 Free";
  font-weight: 900; 
  content: "\f067"; 
  font-size: 1.2rem;
  color: #730600;
  transition: transform 0.3s ease;
  background-image: none !important;

}

.accordion-button:not(.collapsed)::after {
  content: "\f068";
  background-image: none !important;
}
.btn-danger{
    background: var(--priamry-color) !important;
    border: none !important;
}

.areas-inner-cards:hover .elementor-widget-text-editor,
.areas-inner-cards:hover span{
    color: #fff !important;
}
.areas-inner-cards ul{
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.areas-inner-cards li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.areas-inner-cards li::before {
  font-family: "Font Awesome 6 Free";
  content: "\f068"; 
  font-weight: 900; 
  position: absolute;
  left: 0;
  top: 0;
  color: #730600; 
  font-size: 16px;
}
.areas-inner-cards :hover li::before{
    color: #ffffff;
}
.heading-container .elementor-heading-title{
    text-align: center;
}

.es_subscription_message.error {
    color: #ff0000;
    font-size: 16px;
    border: 1px solid red;
    padding: 5px;
    background: white;

}
.es_subscription_message.success {
    color: #23e523 !important;
    font-size: 16px;
    border: 1px solid green;
    padding: 5px;
    background: white;
}

@media (min-width: 1300px) {
    #mega-menu-wrap-header_menu #mega-menu-header_menu {
        display: flex !important;
        gap: 20px !important;
    }
}

/* responsive css  */
@media (max-width: 1300px) {
    .header-btn {
        gap: 10px;
    }

    #mega-menu-wrap-header_menu #mega-menu-header_menu {
        gap: 10px;
    }
}

@media (max-width: 1200px) {
    .header-btn {
        gap: 5px;
    }

    #mega-menu-wrap-header_menu #mega-menu-header_menu {
        gap: 5px;
    }

    h1.hero-heading {
        font-size: 48px;
        font-weight: bold;
    }

    p.hero-subheading {
        font-size: 15px;
    }

    .law {
        font-size: 16px;
    }

    .glass-bg h2 {
        font-size: 38px;
    }

    .contact-card {
        padding: 2rem;
        border-radius: 30px;
        top: 40px;
    }

    .contact-card h5 {
        font-size: 24px;
    }

    a.navbar-brand img {
        width: 200px;
    }

    .btn-free-consulting a {
        font-size: 14px;
    }


}

@media (max-width: 1150px) {
    ul.navbar-nav {
        margin: 0;
    }

    a.navbar-brand img {
        width: 160px;
    }

    .contact-card h5 {
        font-size: 20px;
    }

    a.mega-menu-link {
        padding: 0px 6px !important;
    }
}

@media (max-width: 1100px) {
    a.nav-link {
        font-size: 14px;
    }
}

@media (max-width: 1060px) {
    .law {
        font-size: 14px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    a.navbar-brand img {
        width: 130px;
    }

    .contact-info {
        font-size: 12px;
    }

    .firm-img {
        height: 100px;
    }

    .btn-free-consulting a {
        font-size: 12px;
    }

    a.mega-menu-link {
        padding: 0 6px !important;
    }

    #animated-text {
        font-size: 12px;
    }
}


@media (max-width: 992px) {



    h1.hero-heading {
        font-size: 34px;
        font-weight: bold;
    }

    .why-choose-us-section h2 {
        font-size: 32px;
    }

    .about-content {
        font-size: 14px;
    }

    .glass-bg h2 {
        font-size: 32px;
    }

    .map-wrapper {
        margin-bottom: 30px;
    }

    .practice-grid {
        width: 100%;
    }

    .practice-grid .row {
        row-gap: 25px;
    }

    .contact-card {
        text-align: center;
        top: 20px;
    }

    .contact-card .col-md-2,
    .contact-card .col-md-3 {
        width: 100%;
        border-right: none;
        margin-bottom: 15px;
    }

    .contact-card h5 {
        border-right: none;
        padding: 0;
    }

    .consulting-btn {
        margin-top: 15px;
    }

    .btn-free-consulting,
    .col-md-2 h5 {
        text-align: center !important;
    }

    .practice-card img {
        width: 100%;
        object-fit: cover;
    }

    .practice-card .overlay img {
        margin-bottom: 10px;
        width: auto;
    }

    section.contact-us-section {
        margin-bottom: 25px;
    }

    .hidden-font span {
        display: none;
    }

    .testimonial-section {
        margin-top: 50px;
    }

    .accident-law,
    .criminal-law {
        padding: 20px;
    }

    .footer {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 14px;
    }

    .about-content h2 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .line-heading {
        margin-bottom: 8px;
    }

    .header-btn {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    ul.navbar-nav {
        gap: 20px;
        align-items: flex-start !important;
        margin-bottom: 20px;
    }

    .btn-free-consulting a {
        font-size: 16px;
    }

    .footer .nav-link {
        font-size: 12px;
    }

    .lead {
        font-size: .9rem;
    }

    .card {
        padding: 1.5rem !important;
    }

    .card h3 {
        font-size: 20px;
    }

    .map .map-wrapper .card {

        padding: 0 !important;
    }

    .card-body {
        padding: 0px !important;
        font-size: 14px;
    }

    .inner-hero-section {
        min-height: 50vh !important;
    }


}

@media (max-width: 767px) {

    .contact-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .contact-card h5 {
        font-size: 20px;
        line-height: 1.5;
    }

    .contact-card p {
        font-size: 14px;
    }

    .consulting-btn {
        width: 100%;
    }

    .newsletter-wrapper {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }

    .link-wrap {
        width: 100%;
        margin-bottom: 20px;
    }

    .sign-up-btn {
        width: 100%;
    }

    ul.list-unstyled {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 15px;
    }

    .practice-area2 .row {
        row-gap: 25px;
    }

    .line-heading:after,
    p.line-heading.black::after,
    p.line-heading.white::after {
        width: 30%;
    }

    .testimonial-section h2 {
        font-size: 26px;
    }

    .line-heading {
        font-size: 16px;
    }

    .glass-bg {
        font-size: 14px;
    }

    .glass-bg h2 {
        font-size: 24px
    }

    .contact-us-form {
        padding: 1rem !important;
    }

    .image-container {
        margin-top: 15px;
    }

    .firm-img {
        height: 100px;
    }

    .footer-bottom {
        font-size: 14px;
    }

    .elementor-element {
        padding: 0 !important;
    }

    .content {
        padding: 1rem !important;
    }

    .elementor-element h1,
    .elementor-elementh2,
    .elementor-element h3 {
        font-size: 24px;
        margin-top: 10px;
    }

    .hero-banner {
        margin-top: 17px;
    }
}

@media (max-width: 576px) {
    .contact-card {
        padding: 1rem;
        top: 10px;
    }

    .contact-card h5 {
        font-size: 18px;
    }

    .contact-card p strong {
        display: block;
        margin-bottom: 5px;
    }

    .firm-logo {
        width: 110px;
    }

    h1.hero-heading {
        font-size: 26px;
        font-weight: bold;
    }
}

@media (max-width: 375.99px) {
    a.navbar-brand img {
        width: 130px;
    }

    .firm-logo {
        width: 89px;
    }
}