/********** Template CSS **********/
:root {
    --primary: #006cc2;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
}

.btn-outline-body {
    color: #047fce;
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #047fce;
    background: white;
    border-color: white;
}


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

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 26px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color:#087dc7;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../newimages/aboutheronew.jpeg) center center no-repeat;
    background-size: cover;
}
.page-header1 {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../newimages/beg1.jpeg) center center no-repeat;
    background-size: cover;
}
.page-header2 {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../newimages/beg2.jpeg) center center no-repeat;
    background-size: cover;
}
.page-header3 {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../newimages/back4.jpeg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: #016cc0;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid #0377c5;
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: #016cc1;
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: #016cc1;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: #0272c3;
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: #0272c3;
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #016cc1;
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    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:#016cc1;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #016cc1;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: #0f77c1;
}



.fact-icon{
    height: 100px;
    width: 100px;
    padding: 5rem;
}
.logofooter{
    height: 100px;
    width: 200px;
    padding: 5px;
}
.logoheader{
    height: auto;
    width: 160px;
}
.text-primary1 {
    color: #016cc1 !important;
}
.btn-primary1 {
    background-color: #016cc1 !important;
    color: white;
}
.btn-primary1:hover {
    background-color: #053863 !important;
    color: white;
}
.border-primary1 {
    border-color: #0187d0 !important;
}

.whatsapp-float img{
    width: 50px;
    position: fixed;
    bottom: 40px;
    left: 20px;
    border-radius: 10px;
    z-index: 1;
}
.img-fluid1{
    height: auto;
    width: 300px;
}
@media(max-width:768px){
    .img-fluid1 {
        height: auto;
        width: 328px;
    }
}


/* features starts */
/* Keyframe for entry animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Updated fact-item style */
.fact-item {
    position: relative;
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    overflow: hidden;
    z-index: 1;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

/* Hover effect with motion */
.fact-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Decorative dots */
.fact-item::before,
.fact-item::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.08);
    z-index: 0;
    transition: all 0.4s ease-in-out;
}

.fact-item::before {
    width: 120px;
    height: 120px;
    top: -30px;
    right: -30px;
}

.fact-item::after {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: -20px;
}

.fact-item:hover::before,
.fact-item:hover::after {
    transform: scale(1.2) rotate(15deg);
    background: rgba(0, 123, 255, 0.12);
}

/* Icon background & hover */
.fact-icon {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #e9f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease-in-out;
}

.fact-item:hover .fact-icon {
    background: #007bff;
    transform: rotate(10deg) scale(1.1);
}
.fact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.fact-icon i {
    font-size: 30px;
    color: #007bff;
    transition: all 0.4s ease;
}

.fact-item:hover .fact-icon i {
    color: #fff;
}

/* Title & text */
.fact-item h3 {
    position: relative;
    z-index: 2;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.fact-item:hover h3 {
    color: #007bff;
}

.fact-item p {
    position: relative;
    z-index: 2;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}
/* features ebnds */


/* services starts */
.service-box {
    background: linear-gradient(135deg, #cce5ff, #99ccff);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-img {
    width: 100%;
    height: 246px;
    object-fit: cover;
    padding: 20px;
}


.service-content {
    padding: 20px;
    text-align: left;
}

.service-content h5 {
    font-weight: 600;
    margin-top: 10px;
}

.service-content p {
    font-size: 15px;
    color: #141414;
    margin: 10px 0 15px;
    text-align: justify;
}

.icon-wrap {
    font-size: 24px;
    color: #0d6efd;
}

.read-link {
    color: #0d6efd;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.read-link:hover {
    color: #084298;
}

/* services ends */

/* mission starts */
.card img {
    object-fit: contain;
}
.card-title {
    font-weight: 600;
    margin-top: 15px;
}

.card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.card:hover {
    transform: translateY(-10px); /* Lift the card on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

.card-img-top {
    transition: transform 0.3s ease; /* Smooth transition for image */
}

.card:hover .card-img-top {
    transform: scale(1.1); 
}


.card-title,
.card-text {
    transition: color 0.3s ease; 
    text-align: justify;
}
.card:hover .card-title,
.card:hover .card-text {
    color: #3b12f3; 
}
.card.shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* mission ends */

/* product starts */
.product-section {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 40px;
    background-color: #f9f9f9;
  }
  
  .product-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }
  
  .product-item.reverse {
    flex-direction: row-reverse;
  }
  
  .product-image img {
    width: 500px;
    height: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .product-content {
    max-width: 600px;
    text-align: justify;
  }
  
  @media (max-width: 768px) {
    .product-item,
    .product-item.reverse {
      flex-direction: column;
      text-align: center;
    }
  
    .product-image img {
      width: 100%;
      max-width: 100%;
    }
  
    .product-content {
      padding: 0 20px;
    }
    .product-image img {
        width: 500px;
        height: 250px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      }
  }
  
/* products ends */

/* equipment starts */

.equipment-section {
    padding: 50px 20px;
   
    
    text-align: center;
}

.equipment-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: bold;
}

.subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: justify;
}

/* Image Grid Styling */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
    margin-bottom: 40px;
}

.image-box {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.image-box:hover img {
    transform: scale(1.1);
}

.view-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    background-color: #3498db;
    color: #fff;
    font-size: 1.1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.image-box:hover .view-btn {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

/* Content Box Styling */
.content-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left;
    font-size: 1rem;
    color: #333;
}

.product-details h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: bold;
}

.product-details ul {
    list-style-type: none;
    padding: 0;
}

.product-details li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-details li strong {
    color: #3498db;
}
/* Modal Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999; /* Ensure the modal stays on top of all other content */
    left: 0;
    top: 90px;
    width: 100%;
    height: 80%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Black background with opacity */
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

/* Modal Content (Image) */
.modal-content {
    max-width: 60%;
    max-height: 90%;
    margin: auto;
    display: block;
    
    border-radius: 10px;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000; /* Ensure the close button is above everything else */
}

.close:hover,
.close:focus {
    color: #f39c12;
}

/* Navbar z-index to be below modal */
.navbar {
    z-index: 99999;
}

/* Adding fade-in effect when modal is displayed */
.modal.show {
    display: flex;
    opacity: 1;
}


/* equipment ends */


.owl-carousel.owl-loaded {
    z-index: 0;
}
@media(max-width:768px){
    .logoheader {
        height: auto;
        width: 130px;
        
    }
    .shadow-sm{
        padding-top: 30px;
    }
    .modal-content {
        top: 34%;
        max-width: 88%;
        max-height: 100%;
    }
}


.aboutpara p, .tab-pane  p, .content-box p{
    text-align: justify;
}