:root {
    --jg-blue: #22418b;
    --jg-yellow: #448745;
    --jg-dark: #0d1333;
    --jg-gray: #6c757d;
    --jg-white: #ffffff;

    /* #22418b
#448745 */
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* font-family: "Poppins", sans-serif; */
    font-family: 'Roboto', sans-serif;


}

body,
html {
    scroll-behavior: smooth;
 
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Navbar */
.navbar {
    background-color: transparent;
    transition: background-color 0.5s ease;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInNav 1s ease forwards;
    z-index: 999;
}

.navbar.scrolled {
    background-color: rgb(247, 247, 247) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link {
    color: var(--jg-black) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* .navbar .nav-link:hover {
    color: var(--jg-yellow) !important;
} */

#service-section h5 {
    font-weight: 600;
}

#service-section .srv-box img {
    display: block;
    margin: 0 auto;
}

#service-section .srv-box a.read-more:hover {
    text-decoration: underline;
}


.navbar-brand {
    color: var(--jg-black) !important;
    font-weight: bold;
    font-size: 1.4rem;
}

.btn-outline-light:hover {
    background-color: white !important;
    color: rgb(255, 249, 249) !important;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(245, 237, 237);
    text-align: center;
    position: relative;
    animation: fadeIn 1.5s ease-in-out;
}

.hero h1 {
    /* font-size: 3rem; */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

/* Sections */
section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideIn 1s ease forwards;
}

section:nth-of-type(odd) {
    animation-delay: 0.3s;
}

section:nth-of-type(even) {
    animation-delay: 0.6s;
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
    outline: none;
}

a,
a:active,
a:focus {
    color: #6f6f6f;
    text-decoration: none;
    transition-timing-function: ease-in-out;
    -ms-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-duration: .2s;
    -ms-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 60px 0;
    /* min-height: 100vh;*/
}

.sec-title {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.sec-title .title {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 24px;
    color: #ff2222;
    font-weight: 500;
    margin-bottom: 15px;
}

.sec-title h2 {
    position: relative;
    display: block;
    font-size: 50px;
    line-height: 1.28em;
    color: #222222;
    font-weight: 600;
    padding-bottom: 18px;
}

.sec-title h2:before {
    position: absolute;
    content: '';
    left: 0px;
    bottom: 0px;
    width: 50px;
    height: 3px;
    background-color: #d1d2d6;
}

.sec-title .text {
    position: relative;
    font-size: 16px;
    line-height: 26px;
    color: #848484;
    font-weight: 400;
    margin-top: 35px;
}

.sec-title.light h2 {
    color: #ffffff;
}

.sec-title.text-center h2:before {
    left: 50%;
    margin-left: -25px;
}

.list-style-one {
    position: relative;
}

.list-style-one li {
    position: relative;
    font-size: 16px;
    line-height: 26px;
    color: #222222;
    font-weight: 400;
    padding-left: 35px;
    margin-bottom: 12px;
}

.list-style-one li:before {
    content: "\f058";
    position: absolute;
    left: 0;
    top: 0px;
    display: block;
    font-size: 18px;
    padding: 0px;
    color: #ff2222;
    font-weight: 600;
    -moz-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1.6;
}

.list-style-one li a:hover {
    color: #44bce2;
}

.btn-style-one {
    position: relative;
    display: inline-block;
    font-size: 17px;
    line-height: 30px;
    color: #ffffff;
    padding: 10px 30px;
    font-weight: 600;
    overflow: hidden;
    letter-spacing: 0.02em;
    background-color: #ff2222;
}

.btn-style-one:hover {
    background-color: #001e57;
    color: #ffffff;
}

.about-section {
    background-color: #f1f1f1;
    position: relative;
    padding: 120px 0 70px;
}

.about-section .sec-title {
    margin-bottom: 45px;
}

.about-section .content-column {
    position: relative;
    margin-bottom: 50px;
}

.about-section .content-column .inner-column {
    position: relative;
    padding-left: 30px;
}

.about-section .text {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 26px;
    color: #000;
    font-weight: 400;
}

.about-section .list-style-one {
    margin-bottom: 45px;
}

.about-section .btn-box {
    position: relative;
}

.about-section .btn-box a {
    padding: 15px 50px;
}

.about-section .image-column {
    position: relative;
}

.about-section .image-column .text-layer {
    position: absolute;
    right: -110px;
    top: 50%;
    font-size: 325px;
    line-height: 1em;
    color: #ffffff;
    margin-top: -175px;
    font-weight: 500;
}

.about-section .image-column .inner-column {
    position: relative;
    padding-left: 120px;
    padding-bottom: 125px;
}

.about-section .image-column .inner-column:before {
    position: absolute;
    left: -75px;
    top: 65px;
    height: 520px;
    width: 520px;
    background-image: url(https://i.ibb.co/fxJ1jtC/about-circle-1.png);
    content: "";
}

.about-section .image-column .image-1 {
    position: relative;
}

.about-section .image-column .image-2 {
    position: absolute;
    left: 0;
    bottom: 0;
}

.about-section .image-column .image-2 img,
.about-section .image-column .image-1 img {
    box-shadow: 0 30px 50px rgba(8, 13, 62, .15);
}

.about-section .image-column .video-link {
    position: absolute;
    left: 70px;
    top: 170px;
}

.about-section .image-column .video-link .link {
    position: relative;
    display: block;
    font-size: 22px;
    color: #191e34;
    font-weight: 400;
    text-align: center;
    height: 100px;
    width: 100px;
    line-height: 100px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 30px 50px rgba(8, 13, 62, .15);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.about-section .image-column .video-link .link:hover {
    background-color: #191e34;
    color: #ffffff;
}

/* Animations */
@keyframes fadeInNav {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Buttons */
.btn-warning {
    background-color: var(--jg-yellow);
    border: none;
    color: white;
    transition: 0.3s ease-in-out;
}

.btn-warning:hover {
    background-color: #e0a800;
    color: #fff;
}


/* Footer */
footer {
    background-color: var(--jg-dark);
    color: white;
    padding: 40px 0;
}

/* Clients */
.client-logo {
    max-width: 100px;
    margin: 10px;
    opacity: 0.8;
    transition: transform 0.3s;
}

.client-logo:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
}


/* client slider  */
.client-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: calc(200%);
    /* Double to loop */
    animation: scroll 20s linear infinite;
}

.client-logo-box {
    flex: 0 0 auto;
    width: 200px;
    height: 100px;
    margin: 0 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.client-logo-box img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

.client-logo-box:hover {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* footer */

.text-orange {
    color: #f4511e;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section i {
    font-size: 1.1rem;
    color: #fff;
    transition: 0.3s;
}

.footer-section i:hover {
    transform: scale(1.1);
}

/* login */
.login-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.login-popup {
    position: relative;
    z-index: 1060;
}

.login-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.login-card input {
    height: 45px;
}

.login-popup-overlay .bi {
    cursor: pointer;
    color: #333;
}

.d-none {
    display: none !important;
}

/* login poup */

.login-popup-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* services card */
.border-animation {
    position: relative;
    transition: transform 0.4s ease;
}

.hover-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #0d6efd;
    border-radius: 0.75rem;
    transform: scaleX(0) scaleY(0);
    transform-origin: bottom right;
    transition: transform 0.5s ease;
    z-index: 0;
}

.border-animation:hover .hover-border {
    transform: scaleX(1) scaleY(1);
    transform-origin: top left;
}

.border-animation>* {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .service-card {
        text-align: center;
    }
}

/* our clients */


.client-section {
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    padding: 80px 0;
}

.client-section h2 {
    font-weight: 700;
    font-size: 2.8rem;
}

.client-section h2 span {
    color: #198754;
}

.client-section p {
    color: #555;
    max-width: 600px;
    margin: 10px auto 40px;
    font-size: 1.1rem;
}

.client-slider {
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: calc(500px * 12);
    /* 12 logos total */
    animation: scrollLeft 40s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo-box {
    width: 220px;
    height: 140px;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.client-logo-box {
    /* background-color: #c3dbf3; */
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow: hidden; */
    position: relative;
}

.client-logo-box img {
    max-width: 80%;
    max-height: 110%;
    /* object-fit: contain; */
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(0%) brightness(95%);
}

.client-logo-box:hover {
    border-color: #2c3e50;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.client-logo-box:hover img {
    transform: scale(2.1);
    filter: none;
}


@media (max-width: 768px) {
    .slider-track {
        animation-duration: 60s;
    }

    .client-logo-box {
        width: 160px;
        /* height: 100px; */
        margin: 0 10px;
    }
}


/* services Section */
/* Scoped to #service only */

#service {
    background-color: #eee;
    padding: 10px;
    margin: 10px;
    color: #555;
}

#service h1 {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
}

#service .hr-h1 {
    margin: 0 auto 35px auto;
    border: 5px solid #9C9A40;
    width: 128px;
}

#service .tab-content {
    background-color: #fff;
    min-height: 500px;
    padding: 25px;
}

#service .brand-pills li a {
    font-size: 15px;
    padding: 45px 15px;
    border-radius: 0;
    background-color: #005960;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

#service .brand-pills li.active a {
    background-color: #9C9A40;
}

#service .brand-pills li.active a:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 55px solid transparent;
    border-bottom: 55px solid transparent;
    border-left: 25px solid #9C9A40;
    position: absolute;
    top: 50%;
    margin-top: -55px;
    left: 100%;
    z-index: 2;
}

#service h3.laws {
    font-size: 24px;
    text-align: center;
    font-weight: 500;
    color: #9C9A40;
}

#service p {
    font-size: 16px;
    line-height: 25px;
    text-align: left;
    font-weight: 500;
    color: rgba(15, 15, 15, 0.6);
    word-spacing: 3px;
}

.slideanim {
    visibility: hidden;
}

.slide {
    animation: slide 2s forwards;
    visibility: visible;
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(60%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

.slideanimleft {
    visibility: hidden;
}

.slideleft {
    animation: slideleft 1.5s forwards;
    visibility: visible;
}

@keyframes slideleft {
    0% {
        opacity: 0;
        transform: translateX(50%);
    }

    100% {
        opacity: 1;
        transform: translateX(0%);
    }
}

@media (max-width: 375px) {
    #service .tab-content {
        min-height: 680px;
        padding: 10px;
    }

    #service h3.laws {
        font-size: 20px;
    }

    #service p {
        line-height: 20px;
        padding: 5px;
    }

    #service .brand-pills li a {
        font-size: 14px;
        padding: 20px 15px;
    }

    #service .brand-pills li.active a:after {
        border-top: 30px solid transparent;
        border-bottom: 30px solid transparent;
        border-left: 10px solid #9C9A40;
        margin-top: -30px;
    }
}

/* navbar-hover */
.hover-underline {
    position: relative;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    display: inline-block;
    cursor: pointer;
    transition: color 0.4s ease;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    height: 2px;
    background: black;
    opacity: 0;
    transition: width 0.4s ease, opacity 0.4s ease;
    border-radius: 1px;
    z-index: -1;
}

.hover-underline:hover::after {
    width: 100%;
    opacity: 1;
    animation: fill 1s forwards;
    z-index: -1;
}

.hover-underline:hover {
    color: #fff;
    z-index: 1;
}

/* Fill animation: smooth increase in width */
@keyframes fill {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 100%;
        opacity: 1;
    }
}