/********** Template CSS **********/
:root {
    --primary: #3a1d00;
    --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;
  
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #3a1d00;
}

@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: #000000;
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: 0;
    transition: .5s;
    z-index: 9999;
}


@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, .1)), url(../img/carousel-11.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

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

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

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

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

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



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

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


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


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


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


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


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


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


.page-header-sp {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .1)), url(../img/sp.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: #3a1d00;
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: #3a1d00;
    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: #fff5ec;
    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: var(--primary) !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: var(--primary);
    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:600px;
    max-width:90%;
    background:#fff;
    border-radius:10px;
    padding:35px;
    box-sizing:border-box;
}

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


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

/* Button */
#acceptBtn{
    background:#3a1d00;
    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:#8d4600;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(143,75,0,.35);
}


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


.hero{

height:100vh;
 height:auto;

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:#713800;

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:#713800;

padding:16px 40px;

color:#fff;

text-decoration:none;

border-radius:40px;

margin-right:15px;

}

.btn2{

border:2px solid #3a1d00;

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:#a55a06;
border-color:#a55a06;
}

h2{
font-weight:700;
}

.text-primary{
color:#3a1d00!important;
}






.industry-item {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    transition: all 0.35s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f1f1;
}

.industry-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}



.service-item {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    transition: all .35s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    border: 1px solid #f3f3f3;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,.15);
}





.key-differentiators{
    padding:80px 0;
    background:#f8f9fb;
}

.section-title{
    text-align:center;
    margin-bottom:30px;
}

.section-title h5{
    color:#8f4b00;
    font-size:16px;
	
    letter-spacing:2px;
    font-weight:700;
    margin-bottom:10px;
}

.section-title h2{
    font-size:42px;
    font-weight:700;
    color:#0f2747;
    margin-bottom:15px;
}

.section-title p{
    max-width:750px;
	text-align: center;
    margin:auto;
    color:#666;
    line-height:1.8;
}

.diff-wrapper{
    display:grid;
    grid-template-columns:420px 1fr;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.diff-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.diff-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
}

.diff-card{
    padding:35px 25px;
    text-align:center;
    border-bottom:1px solid #ececec;
    border-right:1px solid #ececec;
    transition:.35s;
}

.diff-card:nth-child(3),
.diff-card:nth-child(6){
    border-right:none;
}

.diff-card:nth-child(4),
.diff-card:nth-child(5),
.diff-card:nth-child(6){
    border-bottom:none;
}

.diff-card:hover{
    background:#0f2747;
    color:#fff;
    transform:translateY(-5px);
}

.diff-card:hover h4,
.diff-card:hover p{
    color:#fff;
}

.icon{
    width:70px;
    height:70px;
    margin:0 auto 20px;
    border-radius:50%;
    background:#0f2747;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    transition:.3s;
}

.diff-card:hover .icon{
    background:#8f4b00;
}

.diff-card h4{
    font-size:22px;
    color:#0f2747;
    margin-bottom:15px;
    font-weight:700;
}

.diff-card p{
    color:#000000;
    line-height:1.7;
    margin:0;
}

/* Tablet */

@media(max-width:992px){

.diff-wrapper{
    grid-template-columns:1fr;
}

.diff-image{
    height:350px;
}

.diff-grid{
    grid-template-columns:repeat(2,1fr);
}

.diff-card:nth-child(2),
.diff-card:nth-child(4){
    border-right:none;
}

}

/* Mobile */

@media(max-width:768px){

.section-title h2{
    font-size:32px;
	text-align: center;
}

.diff-grid{
    grid-template-columns:1fr;
}

.diff-card{
    border-right:none;
    border-bottom:1px solid #eee;
}

.diff-card:last-child{
    border-bottom:none;
}

}




/* ==============================
   HERO MOBILE RESPONSIVE
=================================*/
@media (max-width:768px){

.hero{
    min-height:auto;
    padding:110px 0 60px;
}

.hero-content{
    flex-direction:column-reverse;
    justify-content:center;
    text-align:center;
}

.hero-left,
.hero-right{
    width:100%;
}

.hero-right{
    margin-bottom:0px;
}

.hero-left{
    margin-top:-20px;
}

.lawyer{
    max-width:280px;
    width:80%;
    margin:auto;
    display:block;
}

.tag{
    font-size:13px;
    padding:7px 15px;
}

.title{
    font-size:36px;
    line-height:1.2;
    margin-bottom:15px;
}

.subtitle{
    font-size:16px;
    line-height:1.7;
    margin:15px auto 25px;
}

.buttons{
    display:flex;
    justify-content:center;
}

.btn1{
    padding:14px 28px;
    font-size:15px;
}
}



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

    .popup-overlay{
        padding:10px !important;
        align-items:flex-start !important;
        overflow-y:auto !important;
        overflow-x:hidden !important;
    }

    .popup-box{
        width:90% !important;
        max-width:90% !important;
        min-width:0 !important;
        margin:20px auto !important;
        padding:18px !important;
        box-sizing:border-box !important;
        max-height:85vh !important;
        overflow-y:auto !important;
        overflow-x:hidden !important;
    }

    .popup-title{
        font-size:14px !important;
        margin-bottom:12px !important;
    }

    .popup-box p,
    .popup-box li{
        font-size:10px !important;
        line-height:1.5 !important;
    }

    .popup-box ul{
        padding-left:20px !important;
    }

    #acceptBtn{
        font-size:10px !important;
        padding:10px 20px !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;
}

}



.leader-box:hover{
    transform:translateY(-8px) scale(1.02);
    box-shadow:0 20px 45px rgba(0,0,0,0.25);
}






.counter-box{
    background:#f5f5f5;
    border:1px solid #e5e5e5;
    border-radius:15px;
    padding:25px 15px;
    transition:.35s;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    height:100%;
}

.counter-box:hover{
    transform:translateY(-8px) scale(1.03);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}

.counter-box i{
    color:#05317c;
    margin-bottom:12px;
}

.counter-box h1{
    font-size:42px;      /* Reduced from 60px */
    font-weight:700;
    color:#05317c;
    margin-bottom:8px;
}

.counter-box p{
    font-size:15px;      /* Reduced from 17px */
    color:#555;
    margin:0;
    font-weight:500;
}





/* Prevent horizontal scrolling on mobile */

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

@media (max-width: 768px) {

    .hero,
    .hero-content,
    .container,
    .container-fluid {
        max-width: 100% !important;
    }

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


/* LOCK MENU WHILE PAGE SCROLLS */
.navbar.sticky-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
}

/* Space for fixed menu */
body {
    padding-top: 100px !important;
}
