/*
============================
Name:  Justlaw Law and Attorney Template
Version: 1.0.0
Description: Justlaw Law and Attorney Template
Author: Vikiglab
Author URI: https://themeforest.net/user/vikinglab/portfolio
Location:
============================
*/
.marquee-section{
    width: 100%;
    overflow: hidden;
    background: #0d1b2a;
    padding: 1px 0;
}

.marquee{
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee span{
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-right: 60px;
    white-space: nowrap;
    font-family: serif;
    letter-spacing: 1px;
}

/* .marquee span {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-right: 25px;
    /* low gap between parallel texts 
    white-space: nowrap;
    font-family: serif;
    letter-spacing: 1px; */
/* } */
@keyframes marquee{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-50%);
    }
}

.img6{
    width: 70px;
    height: 70px;
    border-radius: 50%;
}
.right-card iframe {
    width: 30%;
    height: 240px;
    display: block;
    border-radius: 25px 25px 0 0;
}
.space5{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
     align-items: center;
     
}
.contact-map-section {
    padding: 120px 0;
    background: #f8f8f8;
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    flex-wrap: wrap;
}

/* LEFT SIDE */
.contact-content {
    flex: 1;
    min-width: 320px;
}

.contact-content .sub-title {
    color: #c59d5f;
    font-size: 18px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 18px;
}

.contact-content h2 {
    font-size: 58px;
    line-height: 1.2;
    font-weight: 400;
    color: #111;
    margin-bottom: 60px;
}

/* CONTACT BOX */
.contact-box {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-box .icon {
    width: 72px;
    height: 72px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #c59d5f;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.contact-box .text span {
    display: block;
    color: #b5b5b5;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-box .text a {
    color: #111;
    text-decoration: none;
    font-size: 32px;
    font-weight: 400;
    transition: .3s;
}

.contact-box .text a:hover {
    color: #c59d5f;
}

/* MAP */
.map-area {
    flex: 1;
    min-width: 320px;
}

.map-area iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 4px;
}

/* RESPONSIVE */
@media(max-width:991px) {

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-content h2 {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .contact-box .text a {
        font-size: 24px;
    }

    .map-area iframe {
        height: 350px;
    }
}

@media(max-width:576px) {

    .contact-content h2 {
        font-size: 34px;
    }

    .contact-box {
        gap: 15px;
    }

    .contact-box .icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .contact-box .text a {
        font-size: 20px;
        word-break: break-word;
    }
}
/* =========================================================
COMPLETE MOBILE RESPONSIVE CODE
USING YOUR EXISTING CLASSES
========================================================= */

/* GLOBAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* =========================================================
HEADER
========================================================= */

.header-elements {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo img {
    max-width: 180px;
    height: auto !important;
}

/* MENU */

.main-menu ul {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.main-menu ul li a {
    text-decoration: none;
}

/* =========================================================
MOBILE HEADER
========================================================= */

.mobile-header {
    padding: 15px 0;
    background: #fff;
}

.mobile-header-elements {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo img {
    max-width: 140px;
}

.mobile-nav-icon i {
    font-size: 28px;
    cursor: pointer;
}

/* MOBILE SIDEBAR */

.mobile-sidebar {
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
}

.mobile-nav ul {
    padding-left: 0;
}

.mobile-nav ul li {
    list-style: none;
}

.mobile-nav ul li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
}

/* =========================================================
HERO SECTION
========================================================= */

.hero-area1 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.main-hadding h1 {
    font-size: 64px;
    line-height: 1.2;
    font-weight: 700;
}

.hero1-main-img-box {
    margin-top: 30px;
}

.hero1-main-img-box img {
    border-radius: 20px;
}

.hero1-side-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero1-side-img1 img,
.hero1-side-img2 img {
    border-radius: 16px;
}

/* =========================================================
ABOUT SECTION
========================================================= */

.about1 {
    padding: 80px 0;
}

.about1 .row {
    row-gap: 30px;
}

.about1-image img {
    border-radius: 20px;
}

/* =========================================================
SERVICE SECTION
========================================================= */

.service1 {
    padding: 80px 0;
}

.service1-box {
    background: #fff;
    padding: 30px 25px;
    border-radius: 20px;
    margin-bottom: 30px;
    height: 100%;
    transition: 0.3s;
}

.service1-box:hover {
    transform: translateY(-5px);
}

.service1-box .icon img {
    width: 70px;
    margin: auto;
}

.service1-box h4 {
    font-size: 22px;
    line-height: 1.4;
}

.service1-box p {
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================================
CHOOSE SECTION
========================================================= */

.chosse1 {
    padding: 80px 0;
}

.choose-img img {
    border-radius: 20px;
}

.counter-boxs {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.counter-box {
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
}

/* =========================================================
CASE SECTION
========================================================= */

.case1 {
    padding: 80px 0;
}

.case2-box {
    margin-bottom: 30px;
}

.case1-img img {
    border-radius: 20px;
}

/* =========================================================
TESTIMONIAL
========================================================= */

.tes1 {
    padding: 80px 0;
}

.tes1-single-slider {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author .img img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

/* =========================================================
BLOG
========================================================= */

.blog1 {
    padding: 80px 0;
}

.blog1-box {
    margin-bottom: 30px;
}

.blog1-img img {
    border-radius: 20px;
}

/* =========================================================
CTA
========================================================= */

.cta {
    padding: 60px 0;
}

.cta-contact-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* =========================================================
CONTACT + MAP
========================================================= */

.contact-map-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-content {
    width: 40%;
}

.map-area {
    width: 60%;
}

.map-area iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 20px;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.contact-box .icon img {
    width: 50px;
}

/* =========================================================
FOOTER
========================================================= */

.footer {
    padding-top: 80px;
}

.footer .logo img {
    max-width: 220px;
    height: auto !important;
}

.footer-menu-list ul {
    padding-left: 0;
}

.footer-menu-list ul li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-menu-list ul li a {
    text-decoration: none;
}

.social {
    display: flex;
    gap: 15px;
    padding-left: 0;
}

.social li {
    list-style: none;
}

.footer-bottom1 {
    padding: 20px 0;
}

/* =========================================================
BUTTONS
========================================================= */

.theme-btn1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* =========================================================
MARQUEE
========================================================= */

.marquee-section {
    overflow: hidden;
}

.marquee {
    display: flex;
    gap: 40px;
    white-space: nowrap;
}

/* =========================================================
TABLET RESPONSIVE
========================================================= */

@media only screen and (max-width:991px) {

 .main-menu {
        display: none;
    }

    .main-hadding h1 {
        font-size: 42px;
        text-align: center;
    }

    .hadding1 h1,
    .hadding1 h2 {
        font-size: 34px;
        line-height: 1.3;
        text-align: center;
    }

    .hadding1 p {
        text-align: center;
    }

    .hero1-side-images {
        flex-direction: row;
        margin-top: 30px;
    }

    .counter-boxs {
        flex-direction: column;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-content,
    .map-area {
        width: 100%;
    }

    .cta {
        text-align: center;
    }

    .cta-contact-box {
        justify-content: center;
        margin-top: 30px;
    }

}

/* =========================================================
MOBILE RESPONSIVE
========================================================= */

@media only screen and (max-width:767px) {


    /* HEADINGS */

    .main-hadding h1 {
        font-size: 30px;
        line-height: 1.4;
        text-align: center;
    }

    .hadding1 h1,
    .hadding1 h2 {
        font-size: 26px;
        line-height: 1.4;
        text-align: center;
    }

    .hadding1 p {
        font-size: 15px;
        line-height: 1.8;
        text-align: center;
    }

    /* BUTTON */

    .theme-btn1 {
        width: 100%;
    }

    /* HERO */

    .hero-area1 {
        padding-top: 91px;
        padding-bottom: 0px;
    }

    .hero1-side-images {
        flex-direction: column;
    }

    /* SERVICE */

    .service1-box {
        padding: 20px;
    }

    .service1-box h4 {
        font-size: 20px;
    }

    /* TESTIMONIAL */

    .tes1-single-slider {
        padding: 25px 20px;
    }

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

    /* CONTACT */

    .map-area iframe {
        height: 300px;
    }

    /* FOOTER */

    .footer {
        text-align: center;
    }

    .footer .row>div {
        margin-bottom: 0px;
    }

    .social {
        justify-content: center;
    }

    .copyright {
        text-align: center;
    }

    .treams {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
        flex-wrap: wrap;
    }

    /* SPACING */

    .space90,
    .space60,
    .space50,
    .space40,
    .space30 {
        height: 25px !important;
    }

}
