/********** Template CSS **********/

:root {
    --primary: #ed4407;
    --secondary: #001064;
    --light: #F6F7F8;
    --dark: #010A35;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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;
}

h1{
        text-transform: capitalize;
}
.navbar{
    padding-top: 0;
    padding-bottom: 0;
}
/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.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;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 80px;
    
}
.navbar-expand .navbar-nav .dropdown-menu{
    min-width: max-content !important;
}
.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 400;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--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-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item > .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        /* left: 50%;
        transform: translateX(-50%); */
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover > .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar .nav-item > .dropdown-menu:hover > .dropdown-menu{
        right: 0;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(1, 10, 53, .8);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(1, 10, 53, .8), rgba(1, 10, 53, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header h1{
        text-transform: capitalize;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Facts ***/
.facts {
    position: relative;
}

.facts * {
    position: relative;
    z-index: 1;
}

.facts::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 10, 53, .8);
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .container.quote .quote-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.quote .quote-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.quote .quote-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.quote .quote-text,
.container.quote .quote-form {
    position: relative;
}

.container.quote .quote-text *,
.container.quote .quote-form * {
    position: relative;
    z-index: 1;
}

.container.quote .quote-text::after,
.container.quote .quote-form::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.container.quote .quote-text::after {
    background: rgba(1, 10, 53, .8);
}

.container.quote .quote-form::after {
    background: rgba(255, 255, 255, .8);
}

.container.quote .quote-text .h-100,
.container.quote .quote-form .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}


/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 10, 53, .8);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}

/* -------------clien section ------------  */
.client_section .testimonial-item {
    margin: 0 10px;
    border: 1px solid #fcf6f6e8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.client_section .owl-stage-outer {
    padding: 15px 0;
}

.client_section .testimonial-item .image {
    height: 10rem;
    width: 10rem;

}


.client_section .testimonial-item .image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.client_section .owl-nav .owl-prev,
.client_section .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background-color: #ed4407;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.client_section .owl-nav .owl-next {
    right: 0;
}

/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

/* ---------------------ducting_section----------- */

.ducting_section .image_div {
    position: relative;
}

.ducting_section .image_div .image1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25rem;
    background-color: #001064;
}

.ducting_section .image_div .image1 img,
.ducting_section .image_div .image2 img {
    width: 100%;
    height: 100%;
}

.ducting_section .image_div .image2 {
    position: absolute;
    bottom: 2px;
    right: -20px;
    width: 80%;
    height: 15rem;
    border: 3px solid #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
}

.tdf-section {
    background-color: #fff;

    margin: auto;
    padding: 30px;

}

.tdf-section img {
    width: 100%;

    margin-bottom: 20px;
}



.tdf-section ul {
    list-style: disc;
    padding-left: 20px;
    color: #333;

}

.tdf-section li {
    margin-bottom: 10px;
}

.tdf-section li strong {
    font-weight: bold;
}

.cleat-section {
    background-color: #fff;
    margin: auto;
    padding: 30px;

}




.cleat-images {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cleat-images img {
    max-width: 100%;
    border-radius: 8px;
}

.main-cleat-img {
    flex: 1 1 100%;
    text-align: center;
}

.thumbs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex: 1 1 100%;
    margin-top: 20px;
}

.thumbs img {
    width: 150px;
    height: auto;
    object-fit: contain;
}


h2.Recommended {
    text-align: center;
    color: #d40000;
    font-size: 20px;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

th,
td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: center;
}

thead th {
    background-color: #0077c2;
    color: #fff;
}

thead tr:first-child th {
    background-color: #f2f9ff;
    color: #000;
    font-weight: bold;
    border-bottom: none;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

td[colspan] {
    font-weight: bold;
    background-color: #e0e0e0;
}

.highlight {
    color: #d40000;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.image-with-text__content.image-with-text__content--medium {
    position: relative;
}


.image-with-text__content.image-with-text__content--medium:before {
    content: "";
    position: absolute;
    top: 99px;
    left: -10px;
    height: 1px;
    width: 100%;
    background: #6c6b6b;
}

.image-with-text__content.image-with-text__content--medium:after {
    content: '';
    position: absolute;
    top: 91px;
    left: -24px;
    height: 16px;
    width: 16px;
    background: #fff;
    border: 1px solid #6c6b6b;
    border-radius: 50%;
}

.image-with-text__content.image-with-text__content--small{
    position: relative;
    align-items: flex-end;
}
.image-with-text__content.image-with-text__content--small:before {
    content: "";
    position: absolute;
    top: 99px;
    left: 9px;
    height: 1px;
    width: 100%;
    background: #6c6b6b;
}

.image-with-text__content.image-with-text__content--small:after {

    content: '';
    position: absolute;
    top: 91px;
    right: -22px;
    height: 16px;
    width: 16px;
    background: #fff;
    border: 1px solid #6c6b6b;
    border-radius: 50%;
}

/* ------------------about page---------------- */

.founder-area-about .image img {
    width: 100%;
    height: 100%;
}

.name_div{
      text-align: center;
    display: flex
;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.name_div .image{
    height: 8rem;
    width: 8rem;
    border-radius: 50%;
    overflow: hidden;
}
/*** Footer ***/
.footer {
    color: #010A35;
    box-shadow: 0 10px 20px #ddd;
}

.footer .footer_logo {
    width: 8rem;
}

.footer .footer_logo img {
    height: 100%;
    width: 100%;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #7F8499;
    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: #7F8499;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #7F8499;
    border: 1px solid #7F8499;
}

.footer .btn.btn-square:hover {
    color: var(--light);
    border-color: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--primary);
}

/* Desktop Hover sk--------------------*/
.dropdown-submenu {
    position: relative;
  }

  .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 99%;
    display: none;
    position: absolute;
  }
  @media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu > .dropdown-menu.list-unstyled{
    position: absolute;
    top: 0;
    left: 145%;
    opacity: 0;
    visibility: hidden;
  }

  .navbar .nav-item .dropdown-menu:hover > .dropdown-menu.list-unstyled{
    opacity: 1;
    visibility: visible;
  }
}

  /* Desktop: show submenu on hover */
  @media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
      display: block;
    }
  }

  /* Mobile: static layout (handled via JS toggle) */
  @media (max-width: 991.98px) {
    .dropdown-submenu .dropdown-menu {
      position: static;
      margin-left: 1rem;
    }
    
    .ducting_section img{
        width: 100%;
    }
.cert-grid{
     grid-template-columns: repeat(2, 1fr);
}
    .dropdown-submenu .dropdown-menu.show {
      display: block !important;
    }

    .dropdown-submenu > .dropdown-item-toggle {
      cursor: pointer;
    }
  }