
/*** Spinner Start ***/
#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;
}
/*** Spinner End ***/

/* back-to-to */
.back-to-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 50px;
    right: 40px;
    width: 50px;
    height: 40px;
    margin: 0px;
    font-size: 18px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
    z-index: 999;
    transform: skew(18deg);
}

.back-to-top a i {
    transform: skew(-18deg);
}

.back-to-top a:hover {
    background: var(--bs-dark);
    color: var(--bs-white); 
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 40px;
    height: 40px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-xl-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
    transform: skew(18deg);
    transition: 0.5s;
}
.btn.btn-primary-new{
    color:white ;
    border: none;
    transform: skew(18deg);
    transition: 0.5s;
}
.btn.btn-primary-new{
    background:#C80036;
    color: white);

}
.btn.btn-primary-new:hover{
    border: 1px solid #C80036;
    background-color:white;
    color: #0C1844;

}

.btn.btn-primary span,
.btn.btn-primary i {
    display: inline-block;
    transform: skew(-18deg);
}

.btn.btn-primary:hover {
    background: white;
    color: var(--bs-dark);

}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
    transform: skew(18deg);
    transition: 0.5s;
}

.btn.btn-light span,
.btn.btn-light i {
    display: inline-block;
    transform: skew(-18deg);
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


.btn.btn-dark {
    color: var(--bs-primary);
    border: none;
    transform: skew(18deg);
    transition: 0.5s;
}

.btn.btn-dark span,
.btn.btn-dark i {
    display: inline-block;
    transform: skew(-18deg);
}

.btn.btn-dark:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

/*** Navbar Start ***/
.header-top {
    height: 100%;
    position: relative;
}

.header-top::after {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 16%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--bs-dark);
    z-index: 1;
}

.topbar .login-btn {
    position: relative;
}

.topbar .login-btn::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    top: 0;
    right: -1px;
    background: var(--bs-primary);
    transform: skew(18deg);
}

@media (min-width: 992px) {
    .header-top::before {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 100%;
        height: 45px;
        top: 0;
        right: 0;
        background: var(--bs-dark);
        z-index: -1;
    }

    .navbar-brand-2 {
        display: none;
    }
}

@media (max-width: 991px) {
    .header-top {
        max-height: 80px;
    }

    .navbar {
        justify-content: space-between;
    }

    .header-top .container {
        max-height: 80px;
    }

    .navbar-brand {
        display: none;
    }

    .navbar-brand-2 {
        position: relative;
        overflow: hidden;
        width: 180px;
        height: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        z-index: 99;
    }

    .navbar-brand-2::before {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 100%;
        height: 600px;
        top: -200px;
        right: 18px;
        background: var(--bs-dark);
        transform: rotate(-18deg);
        z-index: -1;
    }

    .navbar.navbar-light {
        height: 100%;
        padding: 0;
    }

    .navbar .navbar-collapse {
        margin-top: -20px;
    }

}

.navbar-brand {
    position: relative;
    overflow: hidden;
    padding: 40px 50px 40px 0;
}

.navbar-brand::before {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 300px;
    height: 600px;
    top: -200px;
    right: 18px;
    background: var(--bs-dark);
    transform: rotate(-18deg);
    z-index: -1;
}

.header-top .navbar-brand {
    position: relative;
    z-index: 99;
}

.nav-bar .navbar {
    z-index: 9;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 20px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 12px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        margin-left: 50px;
        background: var(--bs-light);
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        flex-direction: column;
    }

    .navbar .navbar-nav .nav-btn a.btn {
        margin-right: 15px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: none;
        background: var(--bs-primary);
        color: var(--bs-dark);
        transform: skew(18deg);
    }

    .navbar.navbar-expand-lg .navbar-toggler span {
        transform: skew(-18deg);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-btn {
        display: inline-flex;
        margin-left: auto;
        background: transparent;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 19px;
        background: var(--bs-white);
        transition: .5s;
        opacity: 1;
    }

    .navbar-nav {
        background: transparent !important;
    }

    .nav-shaps-1 {
        position: absolute;
        overflow: hidden;
        min-width: calc(100% - 81%);
        height: 100%;
        top: 0;
        right: 0;
        transform: skew(18deg);
        background: var(--bs-dark);
        z-index: -1;
    }

    .nav-shaps-2 {
        position: absolute;
        overflow: hidden;
        width: 12%;
        height: 100%;
        top: 0;
        right: 0;
        background: var(--bs-dark);
        z-index: -1;
    }
}
/*** Navbar End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(19, 53, 123, 0.5), rgba(19, 53, 123, 0.5)), url(../img/flanges-background.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 150px 0 50px 0;
    margin-bottom: 40px;
}

.bg-breadcrumb .breadcrumb-item a {
    color: white;
}
/*** Single Page Hero Header End ***/


/*** About Start ***/
.about .container .section-about-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.about .container .section-about-title::before {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}
/*** About End ***/
/*** Single Page Hero Header End ***/


/*** Carousel Hero Header Start ***/


/*** Carousel Hero Header Start ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the text horizontally and vertically */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    padding: 0 15px; /* Prevents text from touching edges on smaller screens */
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@media (max-width: 768px) {
    /* Ensure the carousel item is relative and allows full background coverage */
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px; /* Increase the min-height as per your need */
    }

    /* Ensure the background image is fully visible and stretched */
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        top: 0; /* Align the image to the top */
        left: 50%;
        transform: translateX(-50%); /* Center the image horizontally */
        object-fit: fill; /* Stretches the image to fill the space without zooming */
        object-position: top center; /* Aligns the image to the top center */
    }

    /* Adjust text for mobile responsiveness */
    .carousel-caption {
        padding: 15px; /* Add padding to prevent text from touching edges */
        text-align: center; /* Center the text */
    }

    .carousel-caption p,
    .carousel-caption h5,
    .carousel-caption h1 {
        font-size: 1rem; /* Reduced text size for mobile */
        margin-bottom: 10px; /* Adjust margin for better spacing */
    }

    /* Heading size adjustment for mobile devices */
    .carousel-caption h5 {
        font-size: 1.5rem; /* Adjust for heading size */
    }

    .carousel-caption h1 {
        font-size: 2rem; /* Adjust heading size for mobile */
    }

    /* Optional: Adjust the gradient for better text readability */
    .carousel-caption {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    }
}

/* General setup for the images in the carousel */
.carousel-item img {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* First image: Fade in and slide from the left */
.carousel-item:nth-child(1) img {
    transform: translateX(-20%);
}

.carousel-item:nth-child(1).active img {
    opacity: 1;
    transform: translateX(0);
}

/* Second image: Fade in and scale up */
.carousel-item:nth-child(2) img {
    transform: scale(0.8);
}

.carousel-item:nth-child(2).active img {
    opacity: 1;
    transform: scale(1);
}

/* Third image: Fade in and slide from the bottom */
.carousel-item:nth-child(3) img {
    transform: translateY(20%);
}

.carousel-item:nth-child(3).active img {
    opacity: 1;
    transform: translateY(0);
}

/* Fourth image: Zoom-in effect */
.carousel-item:nth-child(4) img {
    transform: scale(1.2);
}

.carousel-item:nth-child(4).active img {
    opacity: 1;
    transform: scale(1);
}

/* Caption animation: All captions fade in with slight upward movement */
.carousel-caption {
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease;
    transform: translateY(20px); /* Slide caption from the bottom */
}

.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Smooth transition for carousel controls */
.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    transition: transform 0.5s ease-in-out;
}

.carousel-item.active img {
    animation: zoomEffect 5s ease-in-out infinite;
}

/* Zoom Keyframe Animation */
@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


/*** Carousel Hero Header End ***/
/* feature section main code  */
.feature {
    overflow: hidden;
}

.feature-carousel.owl-carousel {
    z-index: 9;
    padding: 0 60px;
    transform: skew(10deg);
}

.feature .feature-shaps {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
    margin-top: -200px;
    transform: skewX(-10deg);
    border: 3px solid var(--bs-primary);
    z-index: 2;
}

@media (max-width: 576px) {
    .feature .feature-shaps {
        width: 90%;
        margin-left: 5%;
    }
}

.feature .feature-item {
    position: relative;
}

.feature .feature-item .feature-img {
    position: relative;
    overflow: hidden;
}

.feature .feature-item .feature-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: rgba(255, 245, 225, .5);
    transition: 0.5s;
}

.feature .feature-item:hover .feature-img::after {
    height: 100%;
    transform: scaleX(-1.1);
}

.feature .feature-item .feature-img img {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-img img {
    transform: scaleX(-1.1);
}

.feature .feature-item .feature-content {
    position: relative;
    background: var(--bs-white);
    z-index: 1;
}

.feature .feature-item .feature-content h4 {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-content h4 {
    color: var(--bs-primary);
}

.feature .feature-item .feature-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: -1;
}

.feature .feature-item:hover .feature-content::after {
    height: 100%;
}

.feature-carousel .owl-nav .owl-prev,
.feature-carousel .owl-nav .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: -122px;
    transform: skew(18deg);
    background: var(--bs-dark);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.feature-carousel .owl-nav .owl-prev i,
.feature-carousel .owl-nav .owl-next i {
    transform: skew(-18deg);
}

.feature-carousel .owl-nav .owl-prev {
    left: 0;
}
.feature-carousel .owl-nav .owl-next {
    right: 150px;
}

.feature-carousel .owl-nav .owl-prev:hover,
.feature-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}
/* feature section end  */

/*** About Start ***/
.about .about-item .about-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;
}

.about .about-item .about-item-inner .about-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    background: var(--bs-primary);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

.about .about-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    
}

.about .about-img .img-1 {
    height: 85%;
    margin-right: 50px;
}

.about .about-img .img-2 {
    position: absolute;
    width: 100%; 
    bottom: 0; 
    right: 0;
    padding-left: 50px;
    border-radius: 10px;
}

.about .about-img::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 98%;
    top: 0;
    right: 0;
    border-radius: 10px;
    background: var(--bs-primary);
    z-index: -1;
}

.about .about-item .text-item {
    position: relative;
    padding-left: 25px;
}

.about .about-item .text-item::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-secondary);
}

/*  */
/*** About End ***/

/*** Fitness Goal Start ***/
.goal {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(255, 245, 225, 0.9), rgba(12, 24, 68, 0.9)), url(../img/bg-crum-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.goal::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 100%;
    top: 0;
    right: 0;
    margin-right: -200px;
    transform: skew(18deg);
    /* background: rgba(200, 0, 54, .1); */
}

.goal .goal-item {
    transform: skew(10deg);
    box-shadow: 0 0 45px rgba(12, 24, 68, 0.4);
    margin: 0 15px 15px 15px;
}

@media (min-width: 992px) {
    .goal .goal-content {
        padding-bottom: 80px;
    }
}

@media (max-width: 991px) {
    .goal .goal-content {
        padding-bottom: 0;
    }
}
/*** Fitness Goal End ***/

/*** Courses Start ***/
.courses {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(12, 24, 68, 0.7), rgba(12, 24, 68, 0.7)), url(../img/bg-crum-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.courses .courses-item {
    position: relative;
    overflow: hidden;
}

.courses .courses-item p {
    color: var(--bs-white);
    transition: 0.5s;
}

.courses .courses-item:hover p {
    color: var(--bs-body);
}

.courses-item .courses-item-inner {
    position: relative;
    transform: skew(4deg);
    margin: 0 15px;
    background: rgba(255, 245, 225, .5);
    transition: 0.5s;
   
}
.new-edit{
    border: 2px solid;}

.courses-item:hover .courses-item-inner {
    background: none;
}

.courses-item .courses-item-inner:hover {
    transform: skew(-4deg);
}

.courses-item .courses-item-inner .data-info .courses-trainer {
    color: var(--bs-white);
    transition: 0.5s;
}

.courses-item:hover .courses-item-inner .data-info .courses-trainer {
    color: var(--bs-body);
}

.courses-item .courses-item-inner .data-info .courses-date {
    font-size: 13px;
}

.courses-item .courses-item-inner .courses-icon-img {
    width: 80px; 
    height: 80px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.courses-item .courses-item-inner .courses-icon-img img {
    filter: grayscale(100%);
    transition: 0.5s;
}

.courses-item:hover .courses-item-inner .courses-icon-img img {
    filter: grayscale(0%);
}

.courses-item-inner:hover a {
    color: var(--bs-white);
    transition: 0.5s;
}

.courses-item-inner:hover a:hover {
    color: var(--bs-primary);
}

.courses-item-inner::after {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 4px;
    bottom: 0;
    left: 0;
    background: rgba(12, 24, 68, 0.9);
    transition: 0.5s;
    z-index: -1;
}

.courses-item-inner:hover:after {
    height: 100%;
}
/*** Courses End ***/

/*** Blog Start ***/
.blog {
    overflow: hidden;
}

.blog .blog-item {
    position: relative;
    border: 1px solid var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item .blog-img::after {
    /* content: "";
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: skew(100deg);
    /* background: rgba(200, 0, 54, 1); */
    /* background-image: url(../img/copper-sheet.jpg); */
    /* border: none; */
    /* transition: 0.5s; */
    /* z-index: -1; */ */
}

.blog .blog-item .blog-img::before {
    /* content: "";
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: skew(-100deg);
    background: rgba(12, 24, 68, 1);
    border: none;
    transition: 0.5s;
    z-index: -1; */
}

.blog-content .blog-comment {
    transform: skew(8deg);
    background: rgba(12, 24, 68, 1);
}

.blog-content .blog-comment div.small,
.blog-content .blog-comment span {
    transform: skew(-4deg);
}

.blog-carousel .owl-stage-outer {
    margin-right: -1px;
}

.blog-carousel .owl-dots {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    margin: 30px 10px 0 10px;
    background: var(--bs-dark);
    transform: skew(18deg);
    transition: 0.5s;
}

.blog-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 50px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    margin-right: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-white);
    height: 30px;
    margin-top: 10px;
}

.blog-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-primary);
    transition: 0.5s;
}
/*** Blog End ***/

/*** Explore Fitness Start ***/
.explore {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%), url(../img/top-nothch-back.jpg);;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 100px;
}
/*** Explore Fitness End ***/

/*** Team Start ***/
.team {
    overflow: hidden;
}

.team .team-item {
    position: relative;
}
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    transform: matrix(1, -0.1, 0, 1, 0, 0);
    transition: 0.5s;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    transition: 0.5s;
    z-index: 1;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 245, 225, .5);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.team .team-item .team-img .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-img .team-icon a  {
    margin: 0 7px;
}

.team .team-item .team-content {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 25px;
    border: 1px solid var(--bs-primary);
    border-top: none;
    transform: matrix(1, -0.1, 0, 1, 0, 0);
    transition: 0.5s;
}

.team .team-item .team-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover .team-content,
.team .team-item:hover .team-img {
    transform: matrix(1, 0.1, 0, 1, 0, 0);
    border: none;
}

.team .team-item:hover .team-content::after {
    height: 100%;
    background: var(--bs-dark);
}

.team .team-item .team-content h4 {
    transition: 0.5s;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(12, 24, 68, 0.9), rgba(12, 24, 68, 0.9)), url(../img/services-img.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-item .quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--bs-white);
}

.testimonial-item .testimonial-img {
    border: 2px solid var(--bs-primary);
}

.testimonial-item .testimonial-img img {
    width: 100px; 
    height: 100px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    transform: skew(18deg);
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev i,
.testimonial-carousel .owl-nav .owl-next i {
    transform: skew(-18deg);
}

.testimonial-carousel .owl-nav .owl-prev {
    left: 0;
}
.testimonial-carousel .owl-nav .owl-next {
    right: 0;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-white);
    color: var(--bs-primary);
}
/*** Testimonial End ***/

/*** Conatct Start ***/
.contact {
    overflow: hidden;
}

.contact .form-section form .form-section-col {
    transform: skewX(18deg);
    margin: 0 12px;
}

.contact .contact-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    border: 2px solid var(--bs-dark);
    background: linear-gradient(rgba(255, 245, 225, 0.2), rgba(12, 24, 68, 0.1), rgba(200, 0, 54, 0.3));
}

.contact .contact-banner::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    bottom: 0;
    right: 0;
    background-image: url(../img/contact-banner.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.contact form button {
    border: none;
    transition: 0.5s;
}

.contact form button:hover {
    background: var(--bs-white);
    color: var(--bs-primary);
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url(../img/footer-main-back.png);
    /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/footer-main-back.png) center center; */
    /* background: linear-gradient(rgba(12, 24, 68, 0.9), rgba(12, 24, 68, 0.9)), url(../img/footer-main-back.png); */
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer button {
    border: none;
    transition: 0.5s;
}

.footer button:hover {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item .footer-item-img {
    transform: matrix(1, -0.09, 0, 1, 0, 0);
    transition: 0.5s;
}

.footer .footer-item .footer-item-img:hover {
    transform: matrix(1, 0.09, 0, 1, 0, 0);
}

.footer .footer-item .footer-item-img img {
    filter: grayscale(50%);
    transition: 0.5s;
}

.footer .footer-item .footer-item-img:hover img {
    filter: grayscale(0%);
}

.footer .footer-item a {
    line-height: 35px;
    font-size: 16px;
    font-weight: 500;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}
/*** copyright end ***/





.courses-item-inner img {
    width: 100%; /* Ensure the image takes full width of the container */
    height: auto; /* Maintain aspect ratio */
}
.new-bg{
    /* background-image: url(../img/pipes.png); */
}


.circle-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* The circle of text */
.circle-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: center center;
    animation: rotateAround 10s linear infinite;
}

/* Individual letter styling */
.circle-text span {
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    transform-origin: center center;
}
.main-logo{
    width: 125px;
    height: 60px;
    margin-top: 15px;
}

/* Keyframes to rotate the entire circle of text */
@keyframes rotateAround {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
}


.footer-item h4 {
    position: relative;
    display: inline-block;
    margin-bottom: 0; /* Remove space below the heading */
}

.underline {
    width: 30%; /* Default width for larger screens */
    height: 2px;
    background-color: #fff;
    margin-top: -3px;
    margin-bottom: 15px;
}

.new-under{
    width: 30%; /* Default width for larger screens */
    height: 2px;
    background-color: #fff;
    margin-top: -18px;
    margin-bottom: 17px;
}
.new-under-2{
    width: 30%; /* Default width for larger screens */
    height: 2px;
    background-color: #fff;
    margin-top: -4px;
    margin-bottom: 32px;
}
/* Media query for mobile devices */
@media (max-width: 768px) {
    .underline {
        width: 100%; /* Full width on smaller screens */
    }
}


/* suscribe */


.subscribe {
    position: relative;
    height: 450px;
    overflow: hidden;
    margin-bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.subscribe::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: -1;
}

.subscribe .container {
    position: relative;
    z-index: 1;
    color: white;
}

.subscribe h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}


.circle-images {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2vw;
    z-index: 1;
}

.circle-images img {
    width: 8vw; /* Responsive size based on viewport width */
    max-width: 60px; /* Limit maximum size */
    height: auto;
    aspect-ratio: 1 / 1; /* Maintain circular aspect ratio */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}
/* product section editing  */
/* table data  */
.table-data {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.table-data th {
    background-color: #f5f5f5 ;
    color: black;
    text-align: left;
    padding: 12px 15px;
    font-weight: bold;
    border: 1px solid #ddd;
}

.table-data td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 14px;
    color: #000;
}

.unique {
    background-color: #f2f2f2;
    font-weight: bold;
}

.unique-2 {
    /* font-style: italic; */
}

.table-data tr:hover {
    background-color: #f1f1f1;
}
.product-description{
    background: linear-gradient(rgba(12, 24, 68, 0.7), rgba(12, 24, 68, 0.7)), url(../img/fastners-back.jpg);
    color: white;
}
/* end table data */
/* main product .product-description */
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
     background: linear-gradient(rgba(12, 24, 68, 0.9), rgba(12, 24, 68, 0.9)), url(../img/flanges-1.webp);
    border: 1px solid transparent;
    transition: 0.5s;
    overflow: hidden; /* Hide any overflow when image is zoomed */
    position: relative; /* Ensure correct positioning of elements */
}

.feature .feature-item:hover {
    border: 1px solid #FF5E14 ;
}

/* Image Zoom on Hover */
.feature .feature-item img.main-logo-2 {
    transition: transform 0.5s ease; /* Smooth zoom effect */
    width: 100%; /* Ensure the image covers the full width of its container */
    height: auto; /* Keep the image's height proportional */
}

/* Apply zoom effect without affecting height */
.feature .feature-item:hover img.main-logo-2 {
    transform: scale(1.1); /* Zoom in the image */
    object-fit: cover; /* Ensure the image scales properly */
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}

/* Responsive Layout for .col-xl-3q */
@media (min-width: 1200px) {
    .col-xl-3q {
        flex: 0 0 auto;
        width: 33%;
    }
}
.responsive-video {
    width: 100%;
    height: 500px; /* Reduced height */
    object-fit: cover; /* Ensures the video covers the area without stretching */
}

  /* TESTING IMPORTANT  */

.chemical-1 {
    width: 100%;
    height: auto;
    margin-top: 30px;
    /* padding: 50px; */
}
@media (max-width: 576px) { /* Target phones */
    .main-logo-media {
        width: 100px;
    }
}
/* .icon-flange{
    width: 30px;
    margin-bottom: 7px;
} */

  
  .icon-flange {
    width: 80px; /* Adjust size as needed */
    display: block;
    animation: moveSideToSide 2s ease-in-out infinite;
  }
  
  @keyframes moveSideToSide {
    0% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(40px); /* Move 40px to the right */
    }
    100% {
      transform: translateX(0); /* Return to the starting point */
    }
  }
  .main-logo-media {
    width: 100px; /* Default size */
  }
  
  @media (min-width: 600px) and (max-width: 768px) {
    .main-logo-media {
      width: 30px;
    }
  }
  .image-wrapper {
    display: inline-block;
    border: 3px solid #030f27;
    border-radius: 10px;
    overflow: hidden;
    /* padding: 5px; */
    width: 250px;
    /* padding: 30px; */
    margin-top: 30px;
}


@media (max-width: 768px) {
    .content-section {
        padding: 10px;
    }
    .image-wrapper{
        margin-top: 1px;
    }
}
.adjust{
    line-height: 27px;
    letter-spacing: 1px;
}

   /* Add responsiveness to the table */
   @media screen and (max-width: 768px) {
       .ideal {
           display: block;
           overflow-x: auto;
           white-space: nowrap;
       }
       table {
           width: 100%;
           border: 0;
       }
       th, td {
           text-align: center;
           padding: 10px;
       }
       th {
           background-color: #f9f9f9;
       }
   }
   
   /* Small mobile screens (portrait view) */
   @media screen and (max-width: 480px) {
       th, td {
           padding: 6px;
           font-size: 12px;
       }
   }
   .new-image{
    height: 400px;
   }
   @media only screen and (max-width: 600px) {
    .new-image {
      width: 100%;
      height: auto;
    }
  }
