/* Nav links */
.navbar-nav .nav-link {
  font-size: 15px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
}

.m-top{
    margin-top: 80px;
}

.title-color{
    color: var(--bs-primary);
}

/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** 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: 44px;
    height: 44px;
}

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

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-light:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/*** Section Title Start ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title::before {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.section-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}


/* ================================
   NAV LINKS (BASE)
================================ */
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    padding: 12px 15px; 
    color: var(--bs-white) !important;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition: color .3s ease;
    z-index: 1;
}

/* Sticky navbar links */
.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 15px;
    color: var(--bs-dark) !important;
}

/* Hover & active text color */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-white) !important;
}

/* ================================
   NAVBAR BRAND
================================ */
.navbar-light .navbar-brand h1 {
    color: var(--bs-white);
}

.sticky-top.navbar-light .navbar-brand h1 {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

/* ================================
   DROPDOWN ICON (FONT AWESOME)
================================ */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 6px;
    font-size: 0.7rem;
}

/* ================================
   DROPDOWN MENU (DESKTOP)
================================ */
@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .4s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    opacity: 1;
}

/* Dropdown items */
.dropdown .dropdown-menu a {
    padding: 10px 18px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/* ================================
   MOBILE STYLES
================================ */
@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar-light .navbar-brand h1 {
        color: var(--bs-primary);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--bs-dark) !important;
    }

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

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

/* ================================
   DESKTOP NAVBAR POSITION
================================ */
@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        inset: 4px 0; 
        background: var(--bs-primary);
        border-radius: 6px;
        opacity: 0;
        transition: .3s ease;
        z-index: -1;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}


/*** Carousel Hero Header Start ***/
.carousel-header .carousel-control-prev,
.carousel-header .carousel-control-next {
    background: transparent;
}

.carousel-header .carousel-control-prev .carousel-control-prev-icon {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 25px 30px;
    border-top-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 50px;
    background-size: 60% 60%;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    padding: 25px 30px;
    border-top-left-radius: 50px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 0;
    background-size: 60% 60%;

}

.carousel-header .carousel .carousel-indicators li {
    opacity: 0;
}

.carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh 
}

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

.carousel-header .carousel-inner .carousel-item .carousel-caption  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0.5));
    background-size: cover;
}

@media (max-width: 768px) {
    .carousel-header .carousel-inner .carousel-item img,
    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        height: 700px;
        margin-top: -100px;
    }

    .carousel-header {
        height: 700px !important;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        opacity: 0;
    }
    
    .search-bar {
        margin-top: -100px;
        transition: 0.5s;
    }
}
/* Make VIDEO behave like IMAGE */
.carousel-header .carousel-inner .carousel-item video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-media {
    position: absolute;
    top: 0;
    left: 0;
}
/*** Carousel Hero Header End ***/


/* ================================
   SERVICE SECTION
================================ */
.services-float {
  margin-top: -120px;
  z-index: 10;
}

/* Card */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease;
  text-align: center;
  height: 100%;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.services-float .bi-truck,
.services-float .bi-hammer,
.services-float .bi-airplane {
  font-size: 2rem;
  border-radius: 50%;
  border: 1px solid var(--bs-primary);
  padding: 8px;
  color: #fff;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* ================================
   ABOUT US SECTION
================================ */
.about-us-section {
  background: #f8f9fa;
}

/* Badge */
.about-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--bs-primary);
  font-weight: 600;
  border-radius: 20px;
  font-size: 14px;
}

/* Title */
.about-title {
  font-weight: 800;
  color: var(--bs-primary);
  line-height: 1.3;
}

/* Text */
.about-text {
  font-size: 15.5px;
  line-height: 1.7;
  color: #555;
}

/* List */
.about-list {
  list-style: none;
  padding-left: 0;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
  color: #333;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bs-primary);
  font-weight: bold;
}

/* Image */
.about-image-wrapper {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-image {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.05);
}

/* Mobile */
@media (max-width: 991px) {
  .about-title {
    font-size: 26px;
  }
}


/* ================================
   FEATURED SERVICES CARDS
================================ */
.featured-services {
  background-color: #ffffff;
}

/* Card */
.feature-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

/* Card Image */
.feature-card img {
  width: 100%;
  object-fit: cover;
  height: 180px;
  transition: transform 0.3s ease;
}

.feature-card:hover img {
  transform: scale(1.05);
}

/* Title */
.feature-card h5 {
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
}

/* Description */
.feature-card p {
  font-size: 0.9rem;
  color: #555;
}

/* Button */
.feature-card .btn {
  font-size: 0.85rem;
  padding: 5px 15px;
  transition: all 0.3s ease;
}

.feature-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* More Services Button */
.featured-services .btn-outline-primary {
  border-width: 2px;
  transition: all 0.3s ease;
}

.featured-services .btn-outline-primary:hover {
  background: var(--bs-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .feature-card img {
    height: 160px;
  }
}

@media (max-width: 575px) {
  .feature-card img {
    height: 140px;
  }
  .feature-card h5 {
    font-size: 1rem;
  }
  .feature-card p {
    font-size: 0.85rem;
  }
  .featured-services .btn-outline-primary {
    font-size: 0.85rem;
    padding: 5px 12px;
  }
}



/* ================================
   OUR PROJECTS SECTION
================================ */
.projects-section {
  background: #f9f9f9;
}

/* Project Card */
.project-card {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Overlay */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(67, 78, 90, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 15px;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h5 {
  font-weight: 600;
  font-size: 1.1rem;
}

.project-overlay p {
  font-size: 0.85rem;
}

/* More Projects Button */
.projects-section .btn-outline-primary {
  border-width: 2px;
  transition: all 0.3s ease;
}

.projects-section .btn-outline-primary:hover {
  background: var(--bs-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .project-card img {
    height: 180px;
  }
}

@media (max-width: 575px) {
  .project-card img {
    height: 140px;
  }
  .project-overlay h5 {
    font-size: 1rem;
  }
  .project-overlay p {
    font-size: 0.8rem;
  }
  .projects-section .btn-outline-primary {
    font-size: 0.85rem;
    padding: 5px 12px;
  }
}


/* ================================
   BLOG & NEWS MAGAZINE STYLE
================================ */
.blog-magazine-section {
  background: #fdfdfd;
}

/* Featured Blog */
.featured-blog {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 100%;
}

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

.featured-blog:hover img {
  transform: scale(1.1);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.featured-overlay h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.featured-overlay p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Small Blog Cards */
.small-blog-card {
  transition: all 0.3s ease;
}

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

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

.small-blog-card h6 {
  font-size: 1rem;
  font-weight: 500;
}

.small-read-more {
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.small-read-more:hover {
  color: var(--bs-primary);
}

/* Responsive */
@media (max-width: 991px) {
  .featured-overlay h3 {
    font-size: 1.25rem;
  }
  .featured-overlay p {
    font-size: 0.85rem;
  }
  .small-blog-card img {
    height: 120px;
  }
}

@media (max-width: 575px) {
  .featured-overlay h3 {
    font-size: 1.1rem;
  }
  .featured-overlay p {
    font-size: 0.8rem;
  }
  .small-blog-card img {
    height: 100px;
  }
  .small-blog-card h6 {
    font-size: 0.9rem;
  }
}

/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

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

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



/* Footer Modern Section */
.footer-modern-section {
  background:var(--bs-primary); /* primary blue */
  color: #f1f1f1;
  position: relative;
  z-index: 1;
}

.footer-modern-section h4,
.footer-modern-section h5,
.footer-modern-section h6 {
  color: #fff;
}

.footer-modern-section a {
  color: #f1f1f1;
  text-decoration: none;
  transition: 0.3s;
}

.footer-modern-section a:hover {
  color: var(--bs-light); /* golden highlight on hover */
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li i {
  color: var(--bs-light); /* icons in services */
}

.social-icon {
  width: 35px;
  height: 35px;
  background: #fff1;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.social-icon:hover {
  transform: scale(1.1);
}

.footer-divider {
  border-top: 1px solid #ffffff33;
}

@media (max-width: 991px) {
  .footer-modern-section {
    text-align: center;
  }
  .footer-modern-section .row > div {
    margin-bottom: 30px;
  }
}

/* ================================
   PAGES STYLE
================================ */
/* PAGE */
.page-header {
    background: url('../img/carousel-two.jpg') center center no-repeat;
    background-size: cover;
    height: 300px;
}

.page-header::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
}

.page-header-inner {
    position: relative;
    height: 400px;
    z-index: 1;
}

/* ABOUT US PAGE */
.team-item {
    transition: 0.3s;
}

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

.team-img img {
    height: 300px;
    object-fit: cover;
}

.about-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Projects */
.project-card img {
    transition: transform 0.4s ease;
}
.project-card:hover img {
    transform: scale(1.05);
}
.project-card .card-body {
    transition: transform 0.3s ease;
}
.project-card:hover .card-body {
    transform: translateY(-5px);
}

/* BLOG PAGE */
.blog-img-container {
    height: 200px; /* Fixed image height */
    overflow: hidden;
}
.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop & scale image proportionally */
    transition: transform 0.4s ease;
}
.blog-card:hover img {
    transform: scale(1.05);
}
.blog-card .card-body {
    transition: transform 0.3s ease;
}
.blog-card:hover .card-body {
    transform: translateY(-5px);
}

/* CONTACT US PAGE */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}
.hours-table .hour-item span {
    font-size: 0.95rem;
}

/* EQUIPMENT PAGE */
.equipment-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.equipment-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.equipment-img {
    height: 250px; 
    object-fit: cover;
}

/* SERVICE PAGE */
.service-sidebar {
    transition: 0.3s ease;
}

.service-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-link-item i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.service-link-item:hover {
    background: var(--bs-primary);
    color: #fff;
    transform: translateX(5px);
}

.service-link-item:hover i {
    transform: translateX(5px);
}


/* BLOG DETAILS PAGE */
.blog-details p {
    line-height: 1.8;
    color: #555;
}


.blog-sidebar a:hover {
    color: var(--bs-primary) !important;
    transition: 0.3s ease;
}

.recent-post {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

blockquote {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}


.video-card {
    cursor: pointer;
    transition: 0.3s ease;
}

.video-card:hover {
    transform: translateY(-6px);
}

/* Video preview */
.video-thumb video {
    transition: 0.3s ease;
    border-radius: 6px;
}

.video-card:hover video {
    transform: scale(1.05);
}

/* Play button */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}








