@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    transition: all .3s linear;
}

:root {

    --primary-clr: #034AA6;
    --secondary-clr: #D90D1E;
    --accent-clr: rgba(183, 214, 255, 0.50);
    --primary-text-clr: #1E1E1E;
    --secondary-text-clr: #424242;
    --accent-text-clr: #787878;
    --black: #000;
    --white: #fff;
    --card-radius: 10px;
    --card-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.25);
    --transition: all .3s linear;
    --main-title-fs: clamp(1.25rem, 1.1447rem + 0.5263vw, 1.5rem);
    --sub-title-fs: clamp(1rem, 0.9474rem + 0.2632vw, 1.125rem);
}

a {
    text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.base-text, .base-text p {
    font-size: clamp(0.875rem, 0.8224rem + 0.2632vw, 1rem);
    font-weight: 400;
}

.btn {
    border-radius: var(--card-radius);
    min-width: 180px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1) !important;
}

.btn-primary {
    background: var(--secondary-clr);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #990915;
    box-shadow: none;
}

.btn-secondary {
    background-color: var(--primary-clr);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #022655;
    box-shadow: none;
}
/* text-justify */
.text-justify{
    text-align: justify;
}
.custom-img-fluid img{
    max-width: 100% !important;
    height: auto !important;
}
/* Banner styling */
.banner {
    /* padding: 1rem 0; */
    background: linear-gradient(-45deg, #BF0D1B 0.32%, #003282 50.05%, #000 99.77%);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.banner-header {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Navbar styling */
header {
    position: relative;
}

.nav-bg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    background-color: var(--white);
}

.wrapper-navbar {
    background: rgba(255, 255, 255, 0.80);
    /* box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25); */
}

.navbar-brand,
.footer-brand {
    width: clamp(6.25rem, 4.9342rem + 6.5789vw, 9.375rem);
    /* height: 80px; */
}


.navbar .offcanvas-body .navbar-nav .nav-link {
    font-size: clamp(0.75rem, 0.6759rem + 0.3704vw, 1rem);
    font-weight: 500;
    color: var(--primary-text-clr);
}

.navbar .offcanvas-body .navbar-nav .nav-link:hover {
    color: var(--secondary-clr);

}

.navbar .offcanvas-body .navbar-nav .nav-link.active {
    color: var(--primary-text-clr);
}

.navbar .offcanvas-body .navbar-nav .dropdown .dropdown-menu {
    border-radius: 10px;
    padding: 16px 12px 22px 12px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: none;
}

@media(max-width:992px) {
    .navbar .offcanvas-body .navbar-nav .dropdown .dropdown-menu {
        box-shadow: none;
        padding: 0rem;
      }

    .navbar .offcanvas-body .navbar-nav .nav-link {
        font-size: clamp(1rem, 0.6759rem + 0.3704vw, 1.5rem);
        color: var(--white);
    }

    .navbar-brand-light img {
        filter: brightness(0%) invert(1);
    }

    /* .offcanvas-end{
      background-color: var(--ind-orange);
  } */
}

.offcanvas-end {
    width: 300px;
    background: var(--primary-clr);

}

.navbar .offcanvas-body .navbar-nav .dropdown .dropdown-menu .dropdown-item {
    font-size: clamp(0.75rem, 0.6759rem + 0.3704vw, .9rem);
    font-weight: 500;
    color: var(--primary-text-clr);

}

.navbar .offcanvas-body .navbar-nav .dropdown .dropdown-menu .dropdown-item:is(:hover, :focus) {
    border-radius: 10px;
}

.navbar .offcanvas-body .navbar-nav .dropdown .dropdown-menu .dropdown-item:active {
    background: var(--uae-red);
    color: #fff !important;
    border-radius: 10px;
}

.cta-button {
    overflow: hidden;
}

.cta-button .cta-btn {
    border: 1px solid var(--uae-red);
    text-decoration: none;
    font-size: clamp(0.75rem, 0.6759rem + 0.3704vw, .9rem);
    font-weight: 500;
    padding: 10px 38px;
    color: var(--white);
    border-radius: 10px;
    /* transition: all 0.3s ease-in-out; */

}

.cta-button a {
    text-decoration: none;
}

/* .cta-button .cta-btn:hover {
    background-color: var(--secondary-heading-clr);
    border: 1px solid var(--secondary-heading-clr);
    border-radius: 16px;
} */

.cta-button i {
    font-size: 2rem;
    color: var(--secondary-clr);
    transition: color .3s ease-in-out;
    transform: translateY(-70px);
}

/* .cta-button i:hover {
    color: var(--secondary-heading-clr);
    cursor: pointer;
} */

.navbar-light .navbar-toggler {
    color: var(--primary-heading-clr);
    border: none;
}

.navbar-light .navbar-toggler:focus {
    box-shadow: none;
}

@media(min-width:992px) {
    .dropdown-menu {
        display: block;
        opacity: 0;
        pointer-events: none;
        transition: all .3s linear;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        pointer-events: visible;
    }

}


@media (max-width:992px) {

    .cta-button .cta-btn,
    .cta-button .cta-btn:is(:hover, :focus) {
        border: none;
        width: 100%;
        padding: 0.5rem 0;
        background-color: transparent;
        border-radius: 0;
        color: var(--secondary-heading-clr);
        text-align: left;
    }

}

/* Footer styling */
.footer-bg {
    background-image: url('../images/jingbo-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: auto;
    position: relative;
}

.footer-head h5,
.footer-address h5 {
    color: var(--primary-clr);
    position: relative;
}

.footer-head h5::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-clr);
    bottom: -10px;
    left: 0;
}

.footer-body {
    list-style: none;
    padding-inline-start: 0;
    margin-top: 1rem;
}

.footer-body li {
    display: flex;
    gap: 5px;
    align-items: center;
    padding-bottom: .5rem;
    transform: translateX(0);
    overflow-wrap: anywhere;
}

.footer-body li:hover {
    color: var(--primary-text-clr);
    transform: translateX(5px);
}

.footer-body li a {
    color: var(--secondary-text-clr);
    font-weight: 400;
    font-size: 13px;
}

.footer-content a,
.footer-content p {
    font-weight: 400;
    font-size: 14px;
}

.footer-content a:hover {
    color: var(--primary-text-clr);
}

.footer-body li p {
    margin: 0;
}

.divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, #D90D1E 0%, #034AA6 51.56%, #000 100%);
}

.totop-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.totop-btn svg {
    color: var(--primary-clr);
    font-size: 30px;
}

.totop-btn:hover {
    background-color: var(--primary-clr);
}

.totop-btn:hover svg {
    color: var(--white);
}

@media(max-width:586px) {
    .totop-btn {
        position: relative;
    }
}


/* hero section styling */

.hero-bg {
    /* background-color: #000; */
    height: 100vh;
}

video {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-content {
    padding-top: 5rem;
}

.feature-points {
    border-radius: var(--card-radius);
    background: rgba(217, 217, 217, 0.18);
    backdrop-filter: blur(9px);
    padding: 2rem;
}

.feature-points ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding-inline-start: 0px;
    gap: 10px;
}

.feature-points ul li {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-grow: 1;
    /* margin-bottom: 1rem; */
}

.feature-points ul li img {
    width: 32px;
    height: 32px;
}

.feature-points ul li p {
    margin: 0;
    font-weight: 500;
    color: var(--white);
}

@media (max-width:400px) {
    video {
        height: calc(100vh + 10vh);
    }
}

/* client slider and about-us styling */
.about-wrapper {
    background-image: url('../images/diagonal-lines-2.png');
    padding: 2rem 1rem;
}

.about-img {
    transform: translate(-50px, 50px);
    aspect-ratio: 16/9;
}

.about-content {
    height: 260px;
    max-width: 500px;
}
.about-clip{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
}

.main-title {
    font-size: var(--main-title-fs);
    font-weight: 500;
    color: var(--primary-clr);
}

.client-carousel .item {
    width: 150px;
    height: 150px;
}

.sub-title {
    font-size: var(--sub-title-fs);
    font-weight: 400;
    color: var(--accent-text-clr);
}

.title {
    font-size: var(--sub-title-fs);
    color: var(--primary-text-clr);
    font-weight: 500;
}

@media(max-width:922px) {
    .about-img {

        transform: translate(0);
    }
}

#counter {
    padding: 25px;
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding-inline-start: 0;
    gap: 1rem;
    flex-wrap: wrap;

}

#counter li {
    background-image: url('../images/diagonal-lines-2.png');
    flex: 1;
    /* text-align: center; */
    font-size: var(--main-title-fs);
    font-weight: 500;
    color: var(--secondary-clr);
    padding: 10px;

}

#counter span.percent:after {
    content: "%";
    display: inline-block;
}

#counter li p {
    max-width: 120px;
    margin: 0;
}


/* product carousel slider */
.product-carousel .owl-item a {
    position: relative;
}

.product-carousel .owl-item p {
    position: absolute;
    bottom: 0;
    margin: 0;
    padding: 10px;
    z-index: 1;
    color: var(--white);
}

.product-carousel .owl-item img {
    width: 300px;
    height: 400px;
    object-fit: cover;
}

.product-carousel .owl-item a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 81.25%, #000 100%);
    top: 0;
    z-index: 0;

}

.product-carousel .owl-item a:hover::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(3, 74, 166, 0.50) 81.25%, #034AA6 100%);
}

.product-carousel .owl-nav {
    text-align: end;
}

@media(min-width:992px) {
    .product-content p {
        max-width: 90%;
    }
}

/* .product-carousel .owl-item {
    width: 300px !important;
  } */

/* features section styling */

.gy-custom {
    --bs-gutter-y: 4rem;
}

.features {
    background-image: url('../images/adv-bg.jfif');
    background-size: cover;
    background-position: center;
}

.custom-card {
    position: relative;
    height: 100%;
}

.custom-card img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--card-shadow);
    border-radius: 50%;
    width: 100px;
}

.card-body {
    margin-top: 4rem;
}

.cert-img img {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.cert-bg {
    background-image: url(../images/drop-bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* form stlyling */

.enq-bg {
    background: linear-gradient(90deg, #BF0D1B 0.32%, #003282 50.05%, #000 99.77%);
}

/* common inner page styling  */

.content-wrapper {
    margin: 4rem 0;
    background-color: var(--accent-clr);
    padding: 4rem 2rem;
    border-radius: var(--card-radius);
    box-shadow: -1px 1px 20px 0px rgba(0, 0, 0, 0.38);
    background-image: url(../images/box-bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom center;
    background-blend-mode: multiply;
    min-height: 500px;


}
@media(max-width:768px){
    .content-wrapper{
        padding: 4rem 1rem;
    }
}

/* about us inner page styling */

.brand-logo {
    width: 150px;
    margin-inline: auto;
}

.content-img img {
    background: radial-gradient(circle at 100% 100%, #ffffff 0, #ffffff 5px, transparent 5px) 0% 0%/10px 10px no-repeat,
        radial-gradient(circle at 0 100%, #ffffff 0, #ffffff 5px, transparent 5px) 100% 0%/10px 10px no-repeat,
        radial-gradient(circle at 100% 0, #ffffff 0, #ffffff 5px, transparent 5px) 0% 100%/10px 10px no-repeat,
        radial-gradient(circle at 0 0, #ffffff 0, #ffffff 5px, transparent 5px) 100% 100%/10px 10px no-repeat,
        linear-gradient(#ffffff, #ffffff) 50% 50%/calc(100% - 10px) calc(100% - 20px) no-repeat,
        linear-gradient(#ffffff, #ffffff) 50% 50%/calc(100% - 20px) calc(100% - 10px) no-repeat,
        linear-gradient(-90deg, transparent 0%, #003282 50%, #bf0d1b 100%);
    border-radius: var(--card-radius);
    box-sizing: border-box;
    width: 500px;
    margin-right: 1rem;
}

@media(max-width:768px) {
    .content-img img{
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Product page styling */

.custom-accordion{
    padding: 5px;
    background-color: var(--white);
    border-radius: var(--card-radius);
}
.custom-accordion .accordion-header button::after{
    display: none;
}
.custom-accordion .accordion-header svg{
    width: 1rem;
    color: var(--secondary-text-clr);
}
.custom-accordion .accordion-body ul{
    list-style: none;
    padding-inline-start: 0;
    font-size: 14px;
    margin: 0;
}
.custom-accordion .accordion-body ul li{
    font-size: 14px;
    margin: 0;
}
.custom-accordion .accordion-body ul li a{
    color: var(--secondary-clr);
}
.custom-accordion .accordion-body ul li a:hover{
    color: var(--primary-clr);
}


/* Product details page */
.product-container{
    background: var(--white);
    padding: 12px;
    border-radius: var(--card-radius);
    height: fit-content;
}
.product-content-detail{
    height: 100%;
}
.product-content-detail ul{
    list-style: none;
    padding-inline-start: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.product-content-detail ul li{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.product-content-detail ul li h6{
    display: flex;
    width: 30%;
    justify-content: space-between;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    color: var(--primary-text-clr);
}
.product-content-detail ul li p{
    width: 70%;
    padding-left: 10px;
    margin: 0;
    font-size: 14px;
    color: var(--accent-text-clr);
}

.accordion-button:focus{
    box-shadow: none;
    border-top-left-radius: var(--card-radius) !important;
    border-top-right-radius: var(--card-radius) !important;
    background: linear-gradient(90deg, rgba(231,241,255,1) 0%, rgba(231,241,255,0) 100%)
    
}
.accordion-button{
    font-weight: 600;
}

.content-text img{
    max-width: 100% !important;
    height: auto !important;
}

