/********** Template CSS **********/
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
	background:#CC1F32;
	color:white;
}
.back-to-top:hover {
	background:white;
	color:black !important;
	border:1px solid grey;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.MainBtn1 {
    color: #FFFFFF;
	background:#CC1F32;
}

.MainBtn2 {
    color: #FFFFFF;
	background:#191A73;
}

.MainBtn1,.MainBtn2:hover
{
	color: #FFFFFF !important;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*Top Navbar*/
.TopNav
{
background:#191A73;
color:white;
padding: 10px 70px;
}
.TopNav a
{
	color:white;
	text-decoration:none;
}
.TopNav a:hover
{
	color:white;
}
/*end of Top Navbar*/
/*navbar css*/
.navbar {
    background-color: #333;
    color: #fff;
    padding: 10px 70px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
}

.brand {
    font-size: 24px;
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
    color: black !important;
    text-decoration: none !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    font-size: 22px;
    font-weight: 600;
	font-family:ariel;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    gap: 21px;
    list-style: none;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.line1, .line2, .line3 {
    width: 20px;
    height: 3px;
    background-color: black;
    margin: 3px;
    transition: all 0.3s ease;
}


/* Media query for mobile */

@media screen and (max-width: 991px) {
    .nav-links {
		list-style: none;
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 58px;
		left: -100%; /* Initially off-screen to the left */
		width:50%;
		padding: 20px;
		box-sizing: border-box;
		transition: left 0.5s ease-in-out; /* Add transition */
	}
	.nav-item .nav-link
{
	margin-top:-30px;
	margin-left:10px;
	font-weight:300;
}
	.nav-links.active {
		left: 0; /* Slide into view */
	}

    .burger {
        display: flex;
	}
}
/*css for topnavbar media query*/
@media screen and (max-width: 1030px) {
.TopNavContent
{
display:none;
}
}

/*css for navbar gap*/
.MenuGap
{
width:600px;
}

/*media query for navbar*/

@media (max-width: 743px) {
	 .navbar {
		 padding: 10px 40px;
}
.TopNav
{
 padding: 10px 40px;
}
}

@media (max-width: 500px) {
	.navbar {
		 padding: 10px 10px;
}
.TopNav
{
 padding: 10px 10px;
}
.LogoCss
{
	width:220px;
	height:60px;
}
}
/*css for selected menu*/
.selectedmenu .nav-link
{
  color:#CC1F32 !important;
  font-weight:bold;
  font-size:22px;
}

/**end of navbar*/

/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

@media (max-width: 600px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 400px;
    }
}

@media (max-width: 450px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 300px;
    }
}
.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: #191A73;
    border-color: #191A73;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(https://houstonlawyer.com/wp-content/uploads/2018/03/gavel2.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: white;
}


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: #CC1F32 !important;
}

/*About Card*/
.AboutCard
{
	padding:40px;
	border:none;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	text-align:justify;
}

.AboutCard .CardImg img
{
height:40px;
width:40px;
}
.AboutCard .CardImg
{
	background:#dff0e1;
	height:70px;
	width:70px;
	padding:15px;
	margin-bottom:15px;
	border-radius:50%;
	 transition: transform 0.5s ease-in-out; /* Transition effect */
}

.AboutCard h4
{
	color:black;
}

@media(max-width:523px)
{
	.AboutCard
{
	padding:20px;
}
}
@media(max-width:378px)
{
	.AboutCard
{
	padding:10px;
}
}

/*css for About WorkCounter*/
.CounterBack
{
    height:200px;
	background-image:url(../img/CounterBack.jpg);
	background-position:cover;
	 background-attachment: fixed;
}
.CounterCard
{
	padding:40px 10px;
	text-align:center;
	border:none;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
	margin-top:20px;
}
.CounterCard h4
{
color:grey;
}
.CounterCard h1
{
	color:black;
}
/*end css for About WorkCounter*/

/*css for why choose us*/
.ChooseCard h4
{
	color:black;
	margin-top:10px;

}
.ChooseCard
{
padding:20px 10px;
text-align:center;
}
/*end of css for why choose us*/

/*css for contact box*/
.ContactBox
{
border-right:1px solid grey ;
padding:25px 10px;
}
@media(max-width:767px)
{
.ContactBox
{
box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
border:none;
}
}

@media(max-width:991px)
{
.DisappearBox
{
border:none;
}
}
/*end css for contact box*/

/*Contact Page Back Img*/
.MapBackImg
{
	height:300px;
	 position: relative;
    width: 100%;
    background: linear-gradient(rgba(217, 218, 222, .7), rgba(217, 218, 222, .7)), url(../img/ContactBack.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}
/*end Contact Page Back Img*/

/*Syllabus*/
.SyllabusDiv
{
	 border-right:1px solid grey;padding-left:30px;
}

@media(max-width:767px)
{
.SyllabusDiv
{
	 border-bottom:1px solid grey;
	 border-left:none;
	 margin-bottom:30px;
}
}
/*End Syllabus*/

/*CSS of principal message*/
.discount {
    position: relative;
    width: 100%;
    padding: 60px 0;
    background: linear-gradient(rgba(217, 218, 222, .7), rgba(217, 218, 222, .7)), url(../img/IndianCourt.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.discount .container {
    max-width: 100%;
    text-align: center;
}

.discount .section-header {
    margin-bottom: 20px;

}

.discount .section-header p::after {
    display: none;
}

.discount .section-header h2 span {
    color: #191A73;
    font-size: 40px;
}

.discount .section-header h2 {
    color: #CC1F32;
    font-size: 40px;
}

.discount .discount-text p
{

    padding: 0px 100px;
	 color: #343148;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 881px)
{
.discount {
    padding: 50px 0;
}
.discount .discount-text p
{

    padding: 0px 0px;
}
}

/*Principal Message*/
.PrincipalMsg
{
	padding:50px;
}
@media(max-width:500px)
{
.PrincipalMsg
{
	padding:15px;
}
}

/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
text-align: center;
}
.team-item .team-text h3
{
color:#191A73;
}
.team-item:hover .team-text {
    border-color: #CC1F32;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #191A73;
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: #CC1F32;
}


/*** Footer ***/
.footer
{
padding:50px 90px;
}
.footer .ContentLink
{
	color:#8F95B4;
}
.footer .ContentLink:hover
{
	color:#CC1F32;
}
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: #CC1F32;
    background: #CC1F32;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;

}

.footer .btn.btn-link:hover {
    color: #CC1F32 !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 15px 0px;
	margin-top:20px;
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: #CC1F32 !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

@media (max-width: 1218px)
{
.LogoCss
{
	width:290px;
	height:80px;
}
}
@media (max-width: 743px) {
.footer
{
padding:50px 40px;
}
}

@media (max-width: 500px) {
	.footer
{
padding:50px 20px;
}
.LogoCss
{
	width:220px;
	height:60px;
}
}
