/********** Template CSS **********/
:root {
    --primary: #064fa9;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** 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-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 40px;
   
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #309c3f;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 100px;
}

.navbar-light .navbar-nav .nav-link {
    color: #05317c;
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header carousel ***/
@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-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;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/about-banner.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: #309c3f;
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: #309c3f;
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    background: #ddeaff;
    transition: .5s;
}

.service-item1 {
   
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

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

.service-item:hover * {
    color: var(--light) !important;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: #064fa9!important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: #05317c;
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

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

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



/* Overlay */
.popup-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.78);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:opacity .45s ease;
    z-index:999999;
}

/* Show Popup */
.popup-overlay.active{
    opacity:1;
    visibility:visible;
}

/* Popup Box */
.popup-box{
    width:90%;
    max-width:760px;
    background:#fff;
    border-radius:10px;
    padding:35px;
    box-shadow:0 25px 60px rgba(0,0,0,.35);

    transform:translateY(40px) scale(.90);
    opacity:0;

    transition:
        transform .55s cubic-bezier(.22,1,.36,1),
        opacity .55s ease;
}

/* Animation */
.popup-overlay.active .popup-box{
    transform:translateY(0) scale(1);
    opacity:1;
}


/* Heading */
.popup-title{
    color:#8f4b00;
    font-size:30px;
    font-weight:700;
    margin-bottom:20px;
    text-align:center;
}

/* Button */
#acceptBtn{
    background:#8f4b00;
    color:#fff;
    border:none;
    padding:12px 35px;
    border-radius:5px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:all .3s ease;
}

/* Button Hover */
#acceptBtn:hover{
    background:#733d00;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(143,75,0,.35);
}


#acceptBtn{
    display:block;
    margin:30px auto 0;
    background:#8f4b00;
    color:#fff;
    border:none;
    padding:12px 40px;
    border-radius:5px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}


.hero{

height:100vh;

background:#111;

position:relative;

overflow:hidden;

display:flex;

align-items:center;

}

.overlay{

position:absolute;

width:100%;

height:100%;

/*
background:

radial-gradient(circle at 20% 30%,
rgba(143,75,0,.35),
transparent 45%),

radial-gradient(circle at 80% 20%,
rgba(255,180,80,.15),
transparent 30%);

}*/

.hero-content{

display:flex;

align-items:center;

justify-content:space-between;

position:relative;

z-index:5;

}

.hero-left{

width:50%;

}

.hero-right{

width:45%;

text-align:right;

}

.lawyer{

max-width:500px;

width:100%;

}

.tag{

display:inline-block;

padding:8px 18px;

background:#8f4b00;

color:#fff;

border-radius:30px;

margin-bottom:20px;

}

.title{

font-size:65px;

font-weight:700;

color:#fff;

line-height:1.1;

}

.subtitle{

font-size:20px;

color:#ddd;

margin:25px 0;

line-height:1.7;

}

.btn1{

background:#8f4b00;

padding:16px 40px;

color:#fff;

text-decoration:none;

border-radius:40px;

margin-right:15px;

}

.btn2{

border:2px solid #8f4b00;

padding:16px 40px;

color:#fff;

text-decoration:none;

border-radius:40px;

}

.hero::before{

content:"";

position:absolute;

width:500px;

height:500px;

background:#8f4b00;

filter:blur(180px);

opacity:.18;

top:-120px;

right:-120px;

animation:glow 6s infinite alternate;

}

@keyframes glow{

to{

transform:translateY(50px);

}

}












.particles span{

position:absolute;

width:6px;

height:6px;

background:#8f4b00;

border-radius:50%;

animation:float 10s linear infinite;

}

@keyframes float{

0%{

transform:translateY(100vh);

opacity:0;

}

20%{

opacity:1;

}

100%{

transform:translateY(-100px);

opacity:0;

}

}















.shadow{
box-shadow:0 15px 40px rgba(0,0,0,.08)!important;
}

.rounded{
border-radius:15px!important;
}

.btn-primary{
background:#8f4b00;
border-color:#8f4b00;
}

.btn-primary:hover{
background:#198754;
border-color:#198754;
}

h2{
font-weight:700;
}

.text-primary{
color:#8f4b00!important;
}







#heroTitle{
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 991px){
    #heroTitle{
        font-size: 3rem;
    }
}

@media (max-width: 767px){
    #heroTitle{
        font-size: 3s.2rem;
    }
}



.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
}

.hero-img{
    max-width:500px;
    animation:float 4s ease-in-out infinite;
}

@keyframes float{
    0%{transform:translateY(0);}
    50%{transform:translateY(-15px);}
    100%{transform:translateY(0);}
}



@media (max-width: 991px) {
    /* Hide your desktop inline menu links */
    .your-desktop-menu-class, .navbar-nav {
        display: none !important; 
        flex-direction: column;
        width: 100%;
    }
    
    /* Reveal your mobile button wrapper */
    .navbar-toggler, .mobile-toggle-btn {
        display: block !important;
    }
}





/* About page image */
.about-image{
    width:100%;
}

.about-image img{
    width:100%;
    height:auto;
    display:block;
    border-radius:15px;
}

/* Mobile */
@media (max-width:768px){

.about-image{
    margin-bottom:30px;
}

.about-image img{
    width:100%;
    height:auto;
    max-height:320px;
    object-fit:cover;
}

}



/* ===========================
   WhatsApp Floating Button
=========================== */
#whatsapp-btn{
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    z-index: 999999;
    transition: transform .3s ease;
}

#whatsapp-btn:hover{
    transform: scale(1.1);
}

#whatsapp-btn img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}


/* WhatsApp Floating Button */
#whatsapp-btn{
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

#whatsapp-btn img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    transition: .3s;
}

#whatsapp-btn:hover img{
    transform: scale(1.08);
}

/* Mobile */
@media (max-width:768px){

    #whatsapp-btn{
        right: 15px;
       bottom: calc(80px + env(safe-area-inset-bottom));
        width: 50px;
        height: 50px;
    }

    #whatsapp-btn img{
        width: 50px;
        height: 50px;
    }

}






.testimonial-section{
    background:#f8fbff;
}

.sub-title{
    color:#309c3f;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

.main-title{
    color:#05317c;
    font-size:42px;
    font-weight:700;
    margin-bottom:15px;
}

.testimonial-card{
    background:#fff;
    padding:35px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
    height:100%;
    border-top:5px solid #309c3f;
}

.testimonial-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(5,49,124,.18);
}

.quote{
    font-size:60px;
    color:#309c3f;
    line-height:1;
    margin-bottom:15px;
}

.testimonial-card p{
    color:#555;
    line-height:1.8;
    font-size:16px;
    margin-bottom:25px;
}

.client-info{
    display:flex;
    align-items:center;
}

.client-info img{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
    margin-right:15px;
    border:3px solid #309c3f;
}

.client-info h5{
    margin:0;
    color:#05317c;
    font-weight:700;
}

.client-info span{
    color:#777;
    font-size:14px;
}

@media(max-width:991px){

.main-title{
    font-size:34px;
}

.testimonial-card{
    padding:25px;
}

}






.consultation-btn{
    background-color:#05317c !important;
    border-color:#05317c !important;
    transition:0.3s ease;
}

.consultation-btn:hover,
.consultation-btn:focus{
    background-color:#309c3f !important;   /* Green */
    border-color:#309c3f !important;
    color:#fff !important;
}

.consultation-btn:hover h4,
.consultation-btn:hover{
    color:#fff !important;
}






#consultationModal .modal-dialog {
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 800px;
}

#consultationModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}