:root {
    --text: hsl(273, 50%, 8%);
    --background: hsl(0, 0%, 98%);
    --primary: hsl(275, 48%, 54%);
    --secondary: hsl(58, 49%, 70%);
    --accent: hsl(103, 48%, 62%);
    
    --alternate: hsl(56, 51%, 72%);
    --optional: hsl(206, 85%, 74%);
       
}

/*========Utility Classes=========*/

body {
    font-weight: 300;
    line-height: 1.8rem;
}

p {
    font-weight: 200;
    line-height: 1.8rem;
}

h1 {
    font-size:  55px;
    font-weight: 700;
}

h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.my-mt {
    margin-top: 100px;
}

.myf-w-lg {
    font-size: 72px;
    font-weight: 800;
    line-height: 5.2rem;
}

.my-lh {
    line-height: 3.5rem;
    font-weight: 200px;
}

@media screen and (max-width: 768px) {
    .myf-w-lg {
        font-size: 40px;
        line-height: 3rem;
    }

    .my-lh {
    line-height: 1.8rem;
    font-weight: 200px;
}
    
}

.myd-color {
 color:rgb(231, 63, 7)
}

.myblue-color {
    color: rgb(18, 37, 114);
}

.myblue-bg {
    background-color: rgb(18, 37, 114);
}

.myhover-box {
    position: relative;
}

.box-box{
    z-index: 4;
    background-color: #f8f9fa;
}

.box-box:hover {
    background-color: #603a2d;
    color: #fff;
    transition: all .2s ease-in-out;
}

.box-box:hover h3 {
    color: #fff;
}

.link-color {
    color: #130000 !important;     /* light color for links */
    text-decoration: none;         /* no underline by default */
}

.box-box:hover .link-color {
    color: #ffffff !important;     /* light color on hover */
    text-decoration: underline;    /* optional for affordance */
}
.box-box:focus .link-color {
  color: #ffffff !important;     /* light color on hover */
  text-decoration: underline;    /* optional for affordance */
}


/*========End Utility Classes=========*/
/* =========================================================
   LEGAL HERO
========================================================= */

.legal-hero {
    position: relative;
    background: #fff;
}


/* =========================================================
   CAROUSEL
========================================================= */

#bgFlexCarousel {
    position: relative;
    z-index: 1;
}

#bgFlexCarousel .carousel-item {
    height: 650px;
    min-height: 650px;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    position: relative;
}


/* =========================================================
   DARK OVERLAY
========================================================= */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.52) 48%,
            rgba(0, 0, 0, 0.42) 100%
        );

    z-index: 1;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;
    z-index: 3;

    height: 100%;

    display: flex;
    align-items: flex-start;

    padding-top: 255px;
    padding-bottom: 80px;
}


/* =========================================================
   LEFT HEADING
========================================================= */

.hero-left {
    padding-left: 40px;
    padding-right: 60px;
}

.hero-left h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(3rem, 5vw, 5.4rem);
    font-weight: 800;

    line-height: .98;
    letter-spacing: -2.5px;

    max-width: 610px;
}


/* =========================================================
   RIGHT TEXT
========================================================= */

.hero-right {
    padding-left: 45px;
    padding-right: 35px;

    padding-top: 5px;
}

.hero-right p {
    margin: 0;

    color: #fff;

    font-size: clamp(1.2rem, 1.7vw, 1.75rem);

    line-height: 1.65;

    font-weight: 400;

    max-width: 650px;
}


/* =========================================================
   CONSULTATION BUTTON
========================================================= */

.consultation-btn {
    display: inline-block;

    margin-top: 28px;

    padding: 15px 42px;

    border: none;
    border-radius: 5px;

    color: #222;

    font-size: 16px;
    font-weight: 600;

    transition: all .25s ease;
}

.consultation-btn:hover {
    transform: translateY(-3px);

    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}


/* =========================================================
   TEAM IMAGE
========================================================= */

.team-overlap {
    position: absolute;

    z-index: 10;

    top: 590px;
    left: 0;
    right: 0;

    display: flex;
    justify-content: center;

    pointer-events: none;
	overflow: hidden:
}

.team-image-wrapper {
    width: min(1100px, 95%);

    background: #fff;

    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, .08);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, .20);
}

.team-image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
}


/* =========================================================
   WHITE SECTION BELOW HERO
========================================================= */

.after-hero {
    position: relative;

    background: #fff;

    min-height: 550px;

    padding-top: 280px;
}


/* =========================================================
   CAROUSEL ARROWS
========================================================= */

#bgFlexCarousel .carousel-control-prev,
#bgFlexCarousel .carousel-control-next {
    width: 70px;

    z-index: 15;

    opacity: .85;
}

#bgFlexCarousel .carousel-control-prev-icon,
#bgFlexCarousel .carousel-control-next-icon {
    width: 35px;
    height: 35px;
}


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

@media (max-width: 991.98px) {

    #bgFlexCarousel .carousel-item {
        height: 620px;
        min-height: 620px;
    }

    .hero-content {
        padding-top: 220px;
    }

    .hero-left {
        padding-left: 25px;
        padding-right: 25px;
    }

    .hero-left h1 {
        font-size: clamp(2.7rem, 5.5vw, 4.2rem);
    }

    .hero-right {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-right p {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .team-overlap {
        top: 570px;
    }

    .team-image-wrapper {
        width: 95%;
    }

    .after-hero {
        padding-top: 230px;

		min-height: 250px;
    }
}


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

@media (max-width: 767.98px) {

    #bgFlexCarousel .carousel-item {
        height: 700px;
        min-height: 700px;
    }

    .hero-content {
        height: auto;
        min-height: 700px;

        padding-top: 110px;
        padding-bottom: 170px;

        display: block;
    }

    .hero-left {
        padding: 0 25px;

        margin-bottom: 35px;
    }

    .hero-left h1 {
        font-size: clamp(2.5rem, 11vw, 4rem);

        line-height: 1;

        letter-spacing: -1px;
    }

    .hero-right {
        padding: 0 25px;
    }

    .hero-right p {
        font-size: 1.1rem;

        line-height: 1.5;
    }

    .consultation-btn {
        margin-top: 24px;

        padding: 14px 32px;
    }

    /* Put team photo clearly below carousel */
    .team-overlap {
        top: 650px;
    }

    .team-image-wrapper {
        width: 91%;
    }

    .after-hero {
        padding-top: 130px;

        min-height: 150px;
    }

    #bgFlexCarousel .carousel-control-prev,
    #bgFlexCarousel .carousel-control-next {
        width: 45px;
    }
}


/*========End Slider=========*/

/*========Testimonials=========*/
.testimonial-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.inner-testiomonials {
    width: 100%;
    height: 400px;
}
/*========End Testimonials=========*/

/*========End Page Headers=========*/
.page-header {
    background: url('img/lawhammer.jpg') no-repeat center center/cover;
    width: 100%;
    height: 300px;
    position: relative;

}


/*========End Page Headers=========*/

.col-image {
 position: relative;
 background: url('img/welcome.jpg') no-repeat center center/cover;
 height: 400px;
 filter: grayscale(20%);
}

.col-image::after {
    position: absolute;
    content: " ";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(15, 16, 15);
    opacity: .5;
}

.zed {
    position: absolute;
    z-index: 1;
    color: #fff;
}

.logo {
    width: 210px;
    transition: .2s ease-in-out;
}

.sponsor-box {
    display: flex;
    overflow: scroll;
    width: 90%;
    scroll-snap-type: x mandatory;
}

.sponsor-item {
    width: 200px;
    scroll-snap-align: start;
}

/*========End Sponsor=========*/

/*========counter Section=========*/
.counter-box {
      text-align: center;
      padding: 20px;
      background: #f8f9fa;
      border-radius: 10px;
    }
    .counter {
      font-size: 2.5rem;
      font-weight: bold;
    }


    .contex {
        position: absolute;
        bottom: -30px;
        right: 120px;
        width: 400px; 
        background-color: aliceblue;
    }

    @media screen and (max-width: 768px) {
        .contex {
            position: relative;
            bottom: 0;
            right: 0;
            width: 100%;
        }
        
    }

