/********** Template CSS **********/

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

/*** Floating Contact Buttons ***/
.floating-contact {
    position: fixed;
    left: 25px;
    bottom: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.floating-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-white);
    font-size: 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transition: transform .3s ease;
}

.floating-btn:hover {
    transform: scale(1.08);
    color: var(--bs-white);
}

.floating-btn.whatsapp-btn {
    background: #25D366;
    animation: pulseWhatsapp 2.2s infinite;
}

.floating-btn.call-btn {
    background: var(--bs-primary);
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, .25), 0 0 0 0 rgba(37, 211, 102, .55);
    }
    70% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, .25), 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, .25), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 575.98px) {
    .floating-contact {
        left: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }
}

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

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** 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 {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

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

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

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

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 16px 0;
        border-bottom: 1px solid #EEEEEE;
    }

    .navbar .navbar-nav {
        margin-top: 0;
        border-top: none;
    }

    /*** Off-canvas drawer ***/
    .navbar-collapse {
        display: block !important;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        margin: 0;
        background: var(--bs-white);
        z-index: 1045;
        padding: 5.5rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -25px 0 50px rgba(0, 0, 0, .2);
        overflow-y: auto;
    }

    body.nav-open .navbar-collapse {
        transform: translateX(0);
    }

    .navbar-collapse .navbar-brand img {
        max-height: 48px !important;
    }

    .nav-drawer-close {
        position: absolute;
        top: 1.75rem;
        right: 1.75rem;
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 50%;
        background: var(--bs-primary);
        color: var(--bs-white);
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .3s;
    }

    .nav-drawer-close:hover {
        background: var(--bs-dark);
        color: var(--bs-white);
    }

    .navbar-collapse .btn-primary {
        margin-top: 1.5rem;
        width: 100%;
    }

    .nav-backdrop {
        display: none;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(20, 20, 20, .6);
        z-index: 1040;
        opacity: 0;
        animation: navBackdropIn .45s ease forwards;
    }

    @keyframes navBackdropIn {
        to { opacity: 1; }
    }
}

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

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.heroSwiper,
.heroSwiper .swiper-slide {
    /* Locks the container to the exact 1080x400 (2.7:1) ratio of the source
       banners, so cover-fit never has to crop the left/right edges where
       the baked-in headline text sits — height simply scales with width. */
    aspect-ratio: 1080 / 400;
    height: auto;
    min-height: 160px;
    max-height: 620px;
}

.heroSwiper .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.heroSwiper .hero-slide-click {
    position: absolute;
    inset: 0;
    display: block;
}

.heroSwiper .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .72) 40%, rgba(0, 0, 0, .45) 70%, rgba(0, 0, 0, .25) 100%);
}

.heroSwiper .hero-caption {
    position: relative;
    z-index: 1;
    height: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.heroSwiper .swiper-slide-active .hero-anim {
    animation: heroFadeUp .8s ease both;
}

.heroSwiper .swiper-slide-active .hero-anim:nth-child(2) {
    animation-delay: .15s;
}

.heroSwiper .swiper-slide-active .hero-anim:nth-child(3) {
    animation-delay: .3s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.heroSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--bs-white);
    opacity: .6;
}

.heroSwiper .swiper-pagination-bullet-active {
    background: var(--bs-primary);
    opacity: 1;
}

.heroSwiper .swiper-button-prev,
.heroSwiper .swiper-button-next {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: .3s;
}

.heroSwiper .swiper-button-prev:hover,
.heroSwiper .swiper-button-next:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.heroSwiper .swiper-button-prev::after,
.heroSwiper .swiper-button-next::after {
    font-size: 18px;
    color: var(--bs-white);
}

@media (max-width: 991.98px) {
    .heroSwiper .swiper-button-prev,
    .heroSwiper .swiper-button-next {
        display: none;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .72), rgba(0, 0, 0, .72)), url(../img/Our-Manufacturing.png) center center no-repeat;
    background-size: cover;
}


/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .05), rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .85) 100%), url(../img/Our-Manufacturing.png) center center no-repeat;
    background-size: cover;
}

.compliance-band {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, .6) 55%, rgba(0, 0, 0, .88) 100%), url(../img/slider-4.jpg) center center no-repeat;
    background-size: cover;
}

.stats-band {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.stat-tile {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 5px solid var(--bs-primary);
    padding: 3rem;
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    height: 100%;
    transition: transform .35s ease;
}

.service .service-item:hover {
    transform: translateY(-8px);
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    transition: box-shadow .35s ease;
    display: flex;
    flex-direction: column;
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: height .5s ease;
    background: var(--bs-primary);
    z-index: 0;
}

.service .service-item:hover .service-inner::before {
    height: 100%;
}

.service .service-text {
    flex: 1 1 auto;
}

.service .service-inner > a {
    align-self: flex-start;
    margin-top: auto;
}

.service .service-item:hover .service-inner {
    box-shadow: 0 25px 45px rgba(0, 0, 0, .22);
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(to right, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .6) 55%, rgba(0, 0, 0, .35) 100%), url(../img/contact-us-bg.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .row.g-1 img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    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;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}


/*** Gallery ***/
.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(52, 129, 217, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay i {
    color: var(--bs-white);
    font-size: 28px;
    transform: scale(.7);
    transition: transform .4s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-item {
    cursor: pointer;
}

.gallery-item .gallery-overlay {
    flex-direction: column;
    gap: 10px;
    padding: 1.5rem;
    text-align: center;
}

.gallery-item .gallery-overlay span {
    color: var(--bs-white);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s ease .05s, transform .4s ease .05s;
}

.gallery-item:hover .gallery-overlay span {
    opacity: 1;
    transform: translateY(0);
}

/*** Gallery Filters ***/
.gallery-filters {
    gap: 10px;
}

.gallery-filter-btn {
    background: var(--bs-light);
    color: var(--bs-dark);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 26px;
    border-radius: 50px;
    transition: .3s;
}

.gallery-filter-btn:hover {
    background: rgba(52, 129, 217, .15);
    color: var(--bs-primary);
}

.gallery-filter-btn.active {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.gallery-col.gallery-hidden {
    display: none;
}

/*** Lightbox ***/
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 10, 15, .95);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.show {
    display: flex;
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.lightbox-caption {
    color: var(--bs-white);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
    margin-top: 1.25rem;
}

.lightbox-close,
.lightbox-nav {
    position: fixed;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .3);
    color: var(--bs-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: .3s;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

@media (max-width: 575.98px) {
    .lightbox-close,
    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }
}


/*** Blog ***/
.blog-card {
    background: var(--bs-white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .35s ease, transform .35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, .12);
}

.blog-card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--bs-primary);
    color: var(--bs-white);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 6px 14px;
    border-radius: 50px;
}

.blog-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.blog-card-meta {
    color: var(--bs-secondary);
    font-size: 14px;
    margin-bottom: .75rem;
}

.blog-card-body h4 {
    font-weight: 700;
}

.blog-card-body h4 a {
    color: var(--bs-dark);
    transition: color .3s ease;
}

.blog-card-body h4 a:hover {
    color: var(--bs-primary);
}

.blog-card-body p {
    color: var(--bs-secondary);
    flex: 1 1 auto;
}

.blog-card-link {
    color: var(--bs-primary);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
}

.blog-card-link i {
    transition: transform .3s ease;
    display: inline-block;
    margin-left: 4px;
}

.blog-card-link:hover i {
    transform: translateX(5px);
}


/*** Blog Article ***/
.article-body p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--bs-secondary);
}

.article-body h2,
.article-body h3 {
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body ul {
    padding-left: 1.25rem;
}

.article-body li {
    font-size: 17px;
    line-height: 1.9;
    color: var(--bs-secondary);
    margin-bottom: .5rem;
}

.article-meta {
    color: var(--bs-secondary);
    font-size: 15px;
}

.article-meta span:not(:last-child)::after {
    content: "•";
    margin: 0 12px;
    color: var(--bs-secondary);
}

.article-tag {
    display: inline-block;
    background: var(--bs-primary);
    color: var(--bs-white);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
}


/*** Honeypot (spam trap, hidden from real visitors) ***/
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}