: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=========*/

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

.carousel-item {
      height: 100dvh;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .carousel-overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.5); /* dark overlay for text readability */
      display: flex;
      flex-direction: column;
      justify-content: center;
      color: #fff;
      padding: 2rem;
    }
    .carousel-text {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
    }
    .carousel-text > div {
      flex: 1 1 45%;
      min-width: 250px;
    }

    @media screen and (min-width: 768px) {
        .carousel-item {
      margin-bottom: 400px;
    }
        
    }
    
    .main-hero {
            position: absolute;
            top: 98dvh;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;         
        }



/*========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%;
        }
        
    }

