@import url("https://fonts.googleapis.com/css2?family=Boldonse&family=Cal+Sans&family=Gloock&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-blue: #1086b9;
  --primary-red: #ff0000;
  --primary-red-dark: #cc0000;
  --dark-bg: #0a1922;
  --gray-light: #f4f7fc;
  --text-dark: #1e2a3e;
  --text-light: #6c757d;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Poppins", "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100%;
  position: relative;
  color: var(--text-dark);
  background-color: #fff;
}

[data-aos] {
  max-width: 100%;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  color: var(--text-dark);
}

.text-center .section-title:after {
  left: 50%;
  transform: translateX(-50%);
}

.btn-primary-custom {
  background: var(--primary-red);
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary-custom:hover {
  background: var(--primary-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
  color: white;
}

.btn-outline-custom {
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  background: transparent;
}

.btn-outline-custom:hover {
  background: var(--primary-red);
  color: white;
}

/* ========== PRELOADER ========== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a1922 0%, #0c2a3b 100%);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.8s ease;
}

.drill-loader-container {
  text-align: center;
}

.drill-animation {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.drill-bit-animation {
  width: 60px;
  height: 60px;
  background: var(--primary-red);
  clip-path: polygon(50% 0%,
      65% 30%,
      70% 50%,
      65% 70%,
      50% 100%,
      35% 70%,
      30% 50%,
      35% 30%);
  animation: drillRotate 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  margin: 20px auto;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

@keyframes drillRotate {
  0% {
    transform: rotate(0deg) scale(1);
    background: var(--primary-red);
  }

  50% {
    transform: rotate(180deg) scale(1.1);
    background: var(--primary-blue);
  }

  100% {
    transform: rotate(360deg) scale(1);
    background: var(--primary-red);
  }
}

.loader-text {
  color: white;
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 30px;
  font-size: 1.2rem;
}

.loader-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 10px;
}

/* ========== NAVBAR ========== */
.navbar {
  background: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 5px 0;
  transition: var(--transition);
}

.navbar-brand img {
  max-height: 70px;
  transition: var(--transition);
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  margin: 0 20px;
  padding: 8px 0 !important;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue) !important;
}

.nav-link.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-red);
  border-radius: 3px;
}

.btn-enquiry-nav {
  background: var(--primary-red);
  color: white;
  border-radius: 5px !important;
  padding: 8px 24px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
}

.btn-enquiry-nav:hover {
  background: var(--primary-red-dark);
  transform: scale(1.02);
  color: white;
}

.offcanvas-body .nav-link {
  padding: 12px 0 !important;
  font-size: 1.1rem;
}

/* ========== HERO SWIPER ========== */

/* ========== PRODUCT CARDS ========== */

/* ========== ABOUT SECTION ========== */
.about-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.about-img-wrapper img {
  width: 100%;
  height: auto;
  transition: transform 0.5s;
}

.about-img-wrapper:hover img {
  transform: scale(1.03);
}

.about-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.about-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-list li i {
  color: var(--primary-red);
  font-size: 1.2rem;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  /* background: white;
  border-radius: 24px;
  padding: 35px 30px;
  margin: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05); */
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12); */
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--primary-red);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 20px 0;
  font-style: italic;
}

@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .counter-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-swiper {
    height: 70vh;
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
}

/* Hero Section Container */
.hero-section {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 100%;
  min-height: 600px;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 850px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%) !important;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.3s ease;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-content .btn {
  animation: fadeInUp 0.8s ease 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== CUSTOM NAVIGATION BUTTONS ========== */
.swiper-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.swiper-nav-btn i {
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.swiper-btn-prev {
  left: 30px;
}

.swiper-btn-next {
  right: 30px;
}

.swiper-nav-btn:hover {
  background: var(--primary-red, #ff0000);
  border-color: var(--primary-red, #ff0000);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.swiper-nav-btn:hover i {
  color: white;
  transform: scale(1.1);
}

/* Active state for buttons when on hover */
.swiper-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* ========== CUSTOM PAGINATION ========== */
.custom-pagination {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1px;
  z-index: 10;
}

.custom-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  border-radius: 0px !important;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 0 4px;
}

.custom-pagination .swiper-pagination-bullet-active {
  background: var(--primary-red, #ff0000);
  width: 25px;
  border-radius: 0px;
  position: relative;
  /* box-shadow: 0 0 12px rgba(255, 0, 0, 0.6); */
}

/* Optional: Add a progress indicator effect */
.custom-pagination .swiper-pagination-bullet-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-red, #ff0000);
  border-radius: 20px;
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hover effect on pagination bullets */
.custom-pagination .swiper-pagination-bullet:hover {
  background: var(--primary-red, #ff0000);
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-swiper {
    height: 80vh;
    min-height: 550px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .swiper-nav-btn {
    width: 45px;
    height: 45px;
  }

  .swiper-nav-btn i {
    font-size: 1.2rem;
  }

  .swiper-btn-prev {
    left: 15px;
  }

  .swiper-btn-next {
    right: 15px;
  }

  .custom-pagination {
    bottom: 25px;
  }
}

@media (max-width: 768px) {
  .hero-swiper {
    height: 70vh;
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .swiper-nav-btn {
    width: 38px;
    height: 38px;
  }

  .swiper-nav-btn i {
    font-size: 1rem;
  }

  .custom-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .custom-pagination .swiper-pagination-bullet-active {
    width: 24px;
  }
}

/* Optional: Add a subtle floating animation to buttons */
@media (min-width: 992px) {
  .swiper-nav-btn {
    animation: floatAnimation 3s ease-in-out infinite;
  }

  @keyframes floatAnimation {

    0%,
    100% {
      transform: translateY(-50%) translateX(0);
    }

    50% {
      transform: translateY(-50%) translateX(3px);
    }
  }

  .swiper-btn-prev {
    animation: floatLeft 3s ease-in-out infinite;
  }

  @keyframes floatLeft {

    0%,
    100% {
      transform: translateY(-50%) translateX(0);
    }

    50% {
      transform: translateY(-50%) translateX(-3px);
    }
  }
}

/* Products Section Styles */
.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  /* transform: translateY(-10px); */
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.product-img {
  height: 260px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-red, #ff0000);
  color: white;
  padding: 5px 12px;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-badge.energy {
  background: #ff9800;
}

.product-badge.premium {
  background: #9c27b0;
}

.product-badge.new {
  background: #4caf50;
}

.product-info {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--primary-blue, #1086b9);
}

.product-info p {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-spec {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 18px;
  padding: 10px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.product-spec i {
  color: var(--primary-red, #ff0000);
  margin-right: 5px;
}

.product-spec .separator {
  margin: 0 10px;
  color: #ddd;
}

.product-link {
  color: var(--primary-red, #ff0000);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.product-link:hover {
  color: var(--primary-red-dark, #cc0000);
  gap: 12px;
}

/* Product Swiper Navigation */
.productSwiper {
  position: relative;
  padding: 10px 0 10px;
}

.product-swiper-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.product-btn-prev,
.product-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  z-index: 20;
}

.product-btn-prev {
  left: 40px;
}

.product-btn-next {
  right: 40px;
}

.product-btn-prev:hover,
.product-btn-next:hover {
  background: var(--primary-red, #ff0000);
  color: white;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.product-btn-prev i,
.product-btn-next i {
  font-size: 1.2rem;
  color: var(--primary-red, #ff0000);
  transition: all 0.3s ease;
}

.product-btn-prev:hover i,
.product-btn-next:hover i {
  color: white;
}

/* Product Pagination */
.product-pagination {
  position: absolute;
  bottom: 0 !important;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0px;
  z-index: 10;
}

.product-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.product-pagination .swiper-pagination-bullet-active {
  background: var(--primary-red, #ff0000);
  width: 28px;
  border-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .product-btn-prev {
    left: -10px;
  }

  .product-btn-next {
    right: -10px;
  }
}

@media (max-width: 992px) {

  .product-btn-prev,
  .product-btn-next {
    width: 40px;
    height: 40px;
  }

  .product-btn-prev {
    left: -5px;
  }

  .product-btn-next {
    right: -5px;
  }

  .product-img {
    height: 220px;
  }

  .product-info h4 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {

  .product-btn-prev,
  .product-btn-next {
    display: none;
  }

  .product-img {
    height: 200px;
  }

  .product-info {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .product-img {
    height: 180px;
  }

  .product-info h4 {
    font-size: 1.1rem;
  }

  .product-info p {
    font-size: 0.85rem;
  }
}

.product-section {
  padding-left: 100px;
  padding-right: 100px;
}

/* Service Card Styles */
.serviceSwiper {
  position: relative;
  padding: 20px 0 0px;
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 300px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

/* Icon positioned at top right corner */
.service-icon {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.9s ease;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
}

/* Hover background image - hidden by default */
.service-hover-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 1;
  visibility: hidden;

  z-index: 1;
}

/* Dark overlay for background image */
.service-hover-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 0%) 100%);
}

/* Content styling */
.service-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  /* height: 100%; */
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  transition: all 0.9s ease;
}

.service-content h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1086b9;
  transition: color 0.3s ease;
}

.service-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  transition: color 0.3s ease;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-readmore {
  color: #ff0000;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.service-readmore:hover {
  gap: 12px;
  color: #cc0000;
}

/* Hover Effect - Pure CSS */
.service-card:hover .service-icon {
  opacity: 0;
  transform: scale(0.8);
  visibility: hidden;
}

.service-card:hover .service-hover-bg {
  opacity: 1;
  visibility: visible;
}

.service-card:hover .service-content {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(2px);
  margin-top: 40px;
}

.service-card:hover .service-content h4 {
  color: white;
}

.service-card:hover .service-content p {
  color: rgba(255, 255, 255, 0.9);
}

.service-card:hover .service-readmore {
  color: #ff0000;
}

/* Navigation Buttons */
.service-swiper-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.service-btn-prev,
.service-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(50%) !important;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  z-index: 20;
}

.service-btn-prev {
  left: 50px;
}

.service-btn-next {
  right: 50px;
}

.service-btn-prev:hover,
.service-btn-next:hover {
  background: #ff0000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.service-btn-prev i,
.service-btn-next i {
  font-size: 1.2rem;
  color: #ff0000;
  transition: all 0.3s ease;
}

.service-btn-prev:hover i,
.service-btn-next:hover i {
  color: white;
}

/* Pagination */
.service-pagination {
  position: absolute;
  bottom: 0 !important;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0px;
  z-index: 10;
}

.service-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service-pagination .swiper-pagination-bullet-active {
  background: #ff0000;
  width: 28px;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .service-btn-prev {
    left: -10px;
  }

  .service-btn-next {
    right: -10px;
  }
}

@media (max-width: 992px) {
  .service-card {
    height: 380px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    top: 20px;
    right: 20px;
  }

  .service-icon i {
    font-size: 1.6rem;
  }

  .service-content {
    padding: 25px;
  }

  .service-content h4 {
    font-size: 1.3rem;
  }

  .service-btn-prev,
  .service-btn-next {
    width: 40px;
    height: 40px;
  }

  .service-btn-prev {
    left: -5px;
  }

  .service-btn-next {
    right: -5px;
  }
}

@media (max-width: 768px) {
  .service-card {
    height: 360px;
  }

  .service-btn-prev,
  .service-btn-next {
    display: none;
  }

  .service-content {
    padding: 20px;
  }

  .service-content h4 {
    font-size: 1.2rem;
  }

  .service-content p {
    font-size: 0.9rem;
  }
}

/* ========== ACHIEVEMENTS PARALLAX ========== */
.achievements-section {
  background-image: url("../images/Chicago_Pneumatic.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 0;
}

.achievements-overlay {
  background: rgba(0, 0, 0, 0.85);
  padding: 80px 0;
}

.counter-box {
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-5px);
}

.counter-box:hover i {
  transform: rotate(180deg);
}

.counter-icon {
  margin-bottom: 20px;
  border: 3px steelblue dotted;
  height: 80px;
  width: 80px;
  display: flex;
  /* animation: floatIcon 3s ease-in-out infinite; */
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
  align-items: center;
}

.counter-icon i {
  font-size: 2rem;
  color: #148abe;
  filter: drop-shadow(0 2px 5px rgba(255, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.counter-box:hover .counter-icon i {
  transform: scale(1.1);
  color: #ffffff;
}

.counter-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-red, #ff0000);
  line-height: 1;
  margin-bottom: 15px;
  font-family: "Poppins", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.counter-label {
  font-size: 1.1rem;
  color: white;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

/* Floating animation for icons */
@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .achievements-overlay {
    padding: 60px 0;
  }

  .counter-number {
    font-size: 2.8rem;
  }

  .counter-icon i {
    font-size: 2.5rem;
  }

  .counter-label {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .achievements-overlay {
    padding: 50px 0;
  }

  .counter-number {
    font-size: 2.2rem;
  }

  .counter-icon i {
    font-size: 2rem;
  }

  .counter-label {
    font-size: 0.9rem;
  }

  .counter-label::after {
    width: 30px;
    bottom: -5px;
  }
}

@media (max-width: 576px) {
  .counter-number {
    font-size: 2rem;
  }

  .counter-icon i {
    font-size: 1.8rem;
  }

  .counter-label {
    font-size: 0.8rem;
  }
}

.testimonial-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 10;
}

.testimonial-pagination .swiper-pagination-bullet {
  height: 10px;
  width: 10px;
  border-radius: 0;
}

.test-pro {
  display: flex;
  justify-content: center;
  text-align: left;
  align-items: center;
  gap: 10px;
}

.testi-bg {
  background-image: url("../images/testi-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
}

.testi-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(0, 0, 0, 0.5);
}

.test-con {
  z-index: 2 !important;
  position: relative;
}

.testi-bg {
  position: relative;
  background-image: url("../images/testi-bg.jpg");
  z-index: 1;
}

/* WHITE OVERLAY */
.testi-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  /* adjust opacity */
  z-index: -1;
}

/* Make sure content stays above overlay */
.testi-bg .test-con {
  position: relative;
  z-index: 2;
}

/* ========== ENHANCED ENQUIRY MODAL ========== */
.modal-content {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: linear-gradient(135deg,
      var(--primary-blue, #dc3545) 0%,
      #b02a37 100%);
  border-bottom: none;
  padding: 1.2rem 1.5rem;
}

.modal-header .modal-title {
  font-weight: 600;
  font-size: 1.3rem;
  color: white;
}

.modal-body {
  padding: 1.8rem;
  background: #fff;
}

/* Form field styling with icons */
.input-icon-group {
  position: relative;
  margin-bottom: 1.2rem;
}

.input-icon-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 1rem;
  z-index: 1;
  pointer-events: none;
}

.input-icon-group .form-control,
.input-icon-group .form-select {
  padding-left: 42px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.input-icon-group .form-control:focus,
.input-icon-group .form-select:focus {
  border-color: var(--primary-red, #dc3545);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Textarea specific icon positioning */
.textarea-icon-group {
  position: relative;
  margin-bottom: 1.2rem;
}

.textarea-icon-group i {
  position: absolute;
  left: 15px;
  top: 18px;
  color: #6c757d;
  font-size: 1rem;
  z-index: 1;
  pointer-events: none;
}

.textarea-icon-group textarea {
  padding-left: 42px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.textarea-icon-group textarea:focus {
  border-color: var(--primary-red, #dc3545);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Two column layout for form fields */
.modal-body .row {
  margin: 0 -0.6rem;
}

.modal-body .col-lg-6 {
  padding: 0 0.6rem;
}

.modal-body .btn-danger {
  background: linear-gradient(135deg,
      var(--primary-red, #dc3545) 0%,
      #b02a37 100%);
  border: none;
  padding: 12px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.modal-body .btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .modal-body {
    padding: 1.2rem;
  }

  .input-icon-group .form-control,
  .input-icon-group .form-select {
    height: 44px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-body .row {
    margin: 0;
  }

  .modal-body .col-lg-6 {
    padding: 0;
  }

  .input-icon-group {
    margin-bottom: 1rem;
  }
}

/* Animation for modal */
.modal.fade .modal-dialog {
  transform: scale(0.95);
  transition: transform 0.2s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
}

.ChicagoPneumatic-logo {
  height: 70px;
}

#about {
  background-color: #ffffff;
  background-image: url("https://www.transparenttextures.com/patterns/brick-wall.png");
  /* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
}

#cp-power {
  background-color: #ffffff;
  background-image: url("https://www.transparenttextures.com/patterns/concrete-wall.png");
  /* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
}

/* ========== ENHANCED FOOTER ========== */
/* Background image + black overlay + content above */
footer {
  /* background: url("https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80") no-repeat center center; */
  background-size: cover;
  position: relative;
  color: #adb5bd;
  padding-top: 60px;
}

/* Black overlay layer (sits between background image and content) */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(2 11 65);
  z-index: 1;
}

/* All direct children of footer (the content) sit above the overlay */
footer>* {
  position: relative;
  z-index: 2;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-height: 55px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  margin-right: 10px;
  margin-bottom: 8px;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--primary-red, #dc3545);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-red, #dc3545);
  padding-left: 5px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
}

/* Newsletter button */
.input-group .btn-danger {
  background-color: var(--primary-red, #dc3545);
  border-color: var(--primary-red, #dc3545);
}

.input-group .btn-danger:hover {
  background-color: #bb2a3a;
  border-color: #b02a37;
}

/* ========== FULL RESPONSIVE ========== */
@media (max-width: 992px) {
  footer {
    padding-top: 50px;
  }

  .footer-logo img {
    max-height: 50px;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  footer {
    padding-top: 40px;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-logo img {
    max-height: 48px;
  }

  .social-icons {
    text-align: center;
    margin-top: 15px;
  }

  .footer-links {
    text-align: left;
  }

  .footer-links a:hover {
    padding-left: 0;
  }

  .copyright {
    font-size: 0.8rem;
    margin-top: 30px;
  }

  .input-group {
    flex-wrap: wrap;
  }

  .input-group .form-control {
    margin-bottom: 10px;
    width: 100%;
    border-radius: 4px;
  }

  .input-group .btn {
    width: 100%;
    border-radius: 4px;
  }

  .text-center-mobile {
    text-align: center;
  }
}

@media (max-width: 576px) {
  footer {
    padding-top: 35px;
  }

  .footer-logo img {
    max-height: 44px;
  }

  h5.text-white {
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .copyright {
    padding: 15px 0;
    font-size: 0.75rem;
  }
}

/* ========== STICKY RIGHT SIDE BUTTONS ========== */
/* Call, WhatsApp & Back to Top Floating Icons */
.sticky-buttons {
  position: fixed;
  right: 20px;
  bottom: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

/* Individual button styling */
.sticky-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  border: none;
  font-size: 1.2rem;
  color: white;
  position: relative;
  pointer-events: auto;
}

/* Call button styling */
.sticky-btn.call {
  background: #007bff;
  order: 1;
}

.sticky-btn.call:hover {
  background: #0056b3;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

/* WhatsApp button styling */
.sticky-btn.whatsapp {
  background: #25d366;
  order: 2;
}

.sticky-btn.whatsapp:hover {
  background: #128c7e;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Back to Top button styling */
.sticky-btn.back-to-top {
  background: var(--primary-red, #dc3545);
  order: 3;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.sticky-btn.back-to-top:hover {
  background: #b02a37;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.sticky-btn.back-to-top:not(.hidden),
.sticky-buttons.active .back-to-top {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Tooltip text on desktop hover */
@media (min-width: 769px) {
  .sticky-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 58px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: system-ui, -apple-system, sans-serif;
    pointer-events: none;
    font-weight: 500;
  }

  .sticky-btn:hover::before {
    opacity: 1;
    visibility: visible;
    right: 64px;
  }
}

/* Hide tooltip completely on touch / mobile devices to prevent layout shift */
@media (max-width: 768px) {
  .sticky-buttons {
    right: 14px;
    bottom: 18px;
    gap: 10px;
  }

  .sticky-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .sticky-btn::before {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .sticky-buttons {
    right: 10px;
    bottom: 14px;
    gap: 8px;
  }

  .sticky-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}




.contact-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  /* icon | content */
  align-items: start;
  gap: 10px;
  margin-bottom: 12px;
}

/* ========== BREADCRUMB SECTION ========== */
.page-breadcrumb {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.page-breadcrumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 34, 0.85) 0%, rgba(12, 42, 59, 0.7) 100%);
  z-index: 1;
}

.breadcrumb-content {
  position: relative;
  z-index: 2;
}

.breadcrumb-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}

.breadcrumb-nav {
  font-size: 0.95rem;
  margin-top: 6px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.breadcrumb-nav a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-nav a:hover {
  color: var(--primary-red);
}

.breadcrumb-nav i {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustment for Breadcrumb */
@media (max-width: 768px) {
  .page-breadcrumb {
    height: 220px;
  }

  .breadcrumb-content h1 {
    font-size: 1.8rem;
  }

  .breadcrumb-nav {
    font-size: 0.85rem;
  }
}

/* ========== CONTACT PAGE ========== */
.contact-section {
  background-color: #ffffff;
  background-image: url("https://www.transparenttextures.com/patterns/brick-wall.png");
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary-red);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.contact-info-card.blue-border {
  border-left-color: var(--primary-blue);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.08);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-card.blue-border .contact-info-icon {
  background: rgba(16, 134, 185, 0.08);
  color: var(--primary-blue);
}

.contact-info-card:hover .contact-info-icon {
  background: var(--primary-red);
  color: white;
}

.contact-info-card.blue-border:hover .contact-info-icon {
  background: var(--primary-blue);
  color: white;
}

.contact-info-content h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.contact-info-content p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form-wrapper {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.contact-form-wrapper h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.contact-form-wrapper p {
  color: #666;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .contact-form-wrapper {
    padding: 30px 20px;
    margin-top: 30px;
  }
}