.topbar {
    /* background: #c4c5c7; */
}

.site-logo {
    width: 100px;
}

.navbar-brand img {
    width: 100px;
}

.btn-default::after{
    background: var(--accent-color);
    color: black;
}
.btn-default:hover span {
  /* color: var(--primary-color); */
  color: var(--secondary-color);
}

.nav-menu-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    gap: 20px;
}

.navbar-collapse.flex-0 {
  flex-grow: 0;
}



.navbar {
  background: var(--secondary-color);
}

.hero.hero-slider-layout .hero-slide {
  position: relative;
  padding: 150px 0;
}

.cta-section {
    position: relative;
    padding: 50px 0;
    color: #fff;
    overflow: hidden;
    border-radius: 12px;
  /* background: url(https://img.freepik.com/free-photo/abstract-luxury-soft-red-background-christmas-valentines-layout-design-studio-room-web-template-business-report-with-smooth-circle-gradient-color_1258-71290.jpg?semt=ais_hybrid&w=740&q=80); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    
}
.cta-section .overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.651);
    top:0; left:0; width:100%; height:100%;
}

.cta-section .row {
    position: relative;
    z-index: 1;
}

.cta-section .row h2 {
    color: #fff;
}

.footer-social-links ul li a {
  border: 1px solid white;
}
.footer-social-links ul li:hover a {
  border: none;
  background: var(--accent-color);
  transition: all 0.3s ease-in-out;
}

.footer-links ul li:hover a {
  color: var(--accent-color);
  transition: all 0.3s ease-in-out;
  text-decoration: underline;
  text-underline-offset: 5px
}

.footer-social-links ul li a i {
  color: white;
}

.about-footer {
  width: 100%;
  max-width: 80%;
}

.footer-copyright {
  padding: 40px 0;
  margin-top: 0;
  color: white;
}
.footer-copyright p {
  margin-bottom: 0;
}

.crafted {
  font-weight: 700;
  color: gold !important;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #ff4e0e, #ff8800); /* Orange gradient */
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.our-process {
  background: transparent;
}

.footer-links ul li i {
    margin-right: 8px;
}


.main-footer {
  /* background: url(https://images.unsplash.com/photo-1650803318792-6781b4884a20?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8N3x8b3JhbmdlJTIwZ3JhZGllbnR8ZW58MHx8MHx8fDA%3D&fm=jpg&q=60&w=3000); */
  /* background: url(https://img.freepik.com/free-photo/abstract-luxury-soft-red-background-christmas-valentines-layout-design-studio-room-web-template-business-report-with-smooth-circle-gradient-color_1258-71290.jpg?semt=ais_hybrid&w=740&q=80); */
  background: url(../img/cnc-milling-machine.webp);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
  padding: 60px 0 0;
  margin-top: 1%;
  position: relative;
  z-index: 1;
}

.main-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.842);
  z-index: -1;
}

.section-title h2 {
  font-weight: 600;
}
.footer-links ul li {
  color: var(--white-color);
  text-transform: none;
}
.about-img-2 img{
	aspect-ratio: 0.5 / 0.55;
}

.icon-box i {
  color: var(--accent-color);
  font-size: 3rem;
}

.our-services{
	background: url('../img/cnc-machine-in-action.webp') no-repeat center center;
}

.services-list-box .service-item {
  width: calc(33% - 45px);
  position: relative;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.services-list-box .service-item .icon-box {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: var(--accent-color);
}
.services-list-box .service-item .icon-box i {
  color: var(--white-color);
  font-size: 3rem;
}

.services-list-box .service-item:hover .icon-box {
  background: transparent;
  transition: all 0.5s ease-in-out;
}
.services-list-box .service-item:hover .icon-box i {
  color: var(--accent-color);
  transition: all 0.5s ease-in-out;
}

/* Outer animated circle */
.services-list-box .service-item .icon-box::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--accent-color),
    transparent 60%,
    var(--accent-color)
  );
  animation: rotateRing 2.5s linear infinite;
  box-sizing: border-box;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), black 100%);
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), black 100%);
}

/* Hover effect: make ring glow and spin faster */
.services-list-box .service-item:hover .icon-box::before {
  animation: rotateRing 1.2s linear infinite;
  box-shadow: 0 0 12px var(--accent-color);
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.mission-vision-content-list ul li {
  font-weight: bold;
}

.service-item {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}

.service-body p {
  padding-top: 20px;
}

.enquirys {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

/* Enquiry Button */
.enquiry {
  writing-mode: vertical-rl;
  text-orientation: sideways-left;
  background: var(--accent-color);
  color: #fff;
  padding: 20px 15px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-align: center;
}

.enquiry:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(174, 255, 107, 0.6);
}

/* WhatsApp Icon */
.whatsapp-icon {
  border-radius: 10px 0 0 10px;
  background: #25d366;
  color: white;
  width: 50px;
  height: 50px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Phone Bar */
.icon-bar {
  position: relative;
}

.icon-bar a.enroll {
  display: flex;
  align-items: center;
  background-color: rgb(49, 0, 128);
  color: #fff;
  padding: 10px 15px;
  border-radius: 30px 0 0 30px;
  box-shadow: -3px 0 10px -2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  width: 60px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.icon-bar a.enroll:hover {
  width: 200px;
}

.enroll img {
  width: 24px;
  margin-right: 10px;
}

#enroll {
  color: #fff;
  font-weight: 700;
  font-size: 0;
  transition: font-size 0.3s ease;
}

.enroll:hover #enroll {
  font-size: 16px;
}

/* Modal Styles */
.ShowcaseModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  height: 100%;
  overflow: auto;
  display: none;
  backdrop-filter: blur(2px);
  padding: 2rem;
   
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto; 
}

.ShowcaseModal .logo {
  text-align: center;
}

/* Form Container */
.Formoutliner {
  background: #fff;
  width: 90%;
  max-width: 900px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.Formoutliner:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, #cc6021 0%, #f35900 100%); */
  opacity: 0.1;
  z-index: 0;
}

/* Form Styles */
#EnquiryForm,
#CatalogForm {
  padding: 30px;
  position: relative;
  z-index: 1;
}

.Formoutliner .heading-bx {
  margin-bottom: 30px;
}

.Formoutliner .title-head {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.title-bottom {
  width: 60px;
  height: 4px;
  background: #007bff;
  margin-bottom: 20px;
}

/* Input Styles */
.Formoutliner input[type="text"],
.Formoutliner input[type="email"],
.Formoutliner input[type="tel"],
.Formoutliner select,
.Formoutliner textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: #fff;
}

.Formoutliner input:focus,
.Formoutliner textarea:focus,
.Formoutliner select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.Formoutliner textarea {
  min-height: 100px;
  resize: vertical;
}

.close-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 24px;
  cursor: pointer;
  background: transparent;
  outline: none;
  border: none;
}

.close-icon i {
  background: rgb(255, 72, 0);
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.input-group {
  display: flex;
  flex-wrap: nowrap;
}
.form-control-sm {
  font-size: 1rem;
  border-radius: 6px;
  padding: 15px 10px;
  background: white;
  color: #000000;
  border: none;
}

.theme-btn1 {
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 8px;
}

/* Button Styles */
.theme-btn {
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.theme-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Contact Info Section */
.cont-info {
  padding: 30px;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  color: rgb(0, 0, 0);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cont-info h4 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #000000;
}

.enquiry-info {
  list-style: none;
  padding: 0;
}

.enquiry-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.enquiry-info li i {
  color: #000000;
  font-size: 18px;
  width: 20px;
}

.enquiry-info li a {
  color: #000000;
  text-decoration: none;
  font-size: 16px;
}

.enquiry-info li a:hover {
  text-decoration: underline;
}

/* Success/Error Messages */
#success,
#error {
  display: none;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  font-weight: 600;
}

#success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media screen and (max-width: 480px) {
  .ShowcaseModal {
    align-items: flex-start;
    padding-top: 40px;
  }
}

@media screen and (max-width: 991px) {
  #EnquiryContactSection {
    display: none;
}
  
}

.main-menu ul li.nav-item .nav-link {
  color: black;
}

.main-menu ul li.nav-item.active .nav-link {
  color: var(--accent-color);
  font-weight: 600;
}


.main-menu ul li.nav-item:hover .nav-link {
  color: var(--accent-color);
}

/* about us */
.about-breadcrumb-section {
    padding: 40px 0;
    position: relative;
    border-bottom: 1px solid #eee;
    color: white;
    background: url(../img/cnc-machine-in-action.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}
.about-breadcrumb-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.486);
    z-index: -1;
}

.section-header h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.section-header p {
    font-size: 1rem;
}

.breadcrumb-wrapper {
    margin-top: 20px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb-item {
    font-size: .9rem;
}
.breadcrumb-item.active {
    font-size: .9rem;
    color: #ffffff;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding: 0 10px;
    color: #999;
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--accent-color, #ff9100);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #b34200;
}

.breadcrumb-item i {
    margin-right: 5px;
    color: #ff4800;
}

.mission-vision-nav ul li .nav-link {
  padding: 20px;
}

.mission-vision-item {
  background-color: var(--white-color);
  padding: 30px 50px;
}

.our-features-item:hover i {
  color: white;
  transition: all 0.3s ease-in-out;
}

.our-features-item {
  padding: 35px;
}

.section-row {
  position: relative;
  margin-bottom: 32px;
  z-index: 1;
}

.our-features-item .icon-box {
  margin-bottom: 0px;
}

.google-map-iframe,
.google-map-iframe iframe{
    height: 400px;
    width: 100%;
}

.google-map-iframe iframe{
    filter: grayscale(0);
    transition: all 0.4s ease-in-out;
}

.contact-info-content h3 {
  color: var(--accent-color);
}
.contact-info-content a,
.contact-info-content p {
  color: black;
}

.sidebar-cta-box{
	background-image: url(../img/arm-bg1.webp);
	background: rgba(223, 223, 223, 0.205);
  color: #000000;
  border: 1px solid #00000027;
  box-shadow: 0px 4px 30px 0px #0000000A;
}

.sidebar-cta-box::before{
	background-color: transparent;
}

.sidebar-cta-content h3,
.sidebar-cta-content p,
.cta-contact-item-title h3 {
  color: var(--black-color);
}

.service-catagery-list ul {
  padding: 10px;
}

.rmm-catagery-list {
  /* max-height: 400px;
  overflow: hidden;
  overflow-y: scroll; */
}

.service-entry-images {
    margin-top: 20px; /* optional spacing from text */
}

.service-entry-imgs {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 images per row */
    gap: 15px; /* space between images */
}

.service-entry-imgs img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-entry-imgs img:hover {
    transform: scale(1.05);
}

.page-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 15px;
}

.page-gallery-grid .gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px; 
    transition: transform 0.3s ease;
}

.page-gallery-grid .gallery-item img:hover {
    transform: scale(1.05);
}

.page-gallery {
  background: rgb(243, 243, 243);
}

/* ===== Infrastructure Section ===== */
.rmm-infrastructure-section {
  padding: 80px 0;
  background: #f8fafc;
  font-family: 'Poppins', sans-serif;
}

.rmm-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.rmm-section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 15px;
}

.rmm-section-header p {
  color: #6b7280;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Each Infrastructure Item ===== */
.rmm-infra-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: center;
  gap: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 50px;
  padding: 40px;
  transition: all 0.3s ease;
}

.rmm-infra-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* Alternate layout */
.rmm-infra-item.reverse {
  direction: rtl;
}
.rmm-infra-item.reverse .rmm-infra-content {
  direction: ltr;
}

/* ===== Content Styling ===== */
.rmm-infra-content h3 {
  font-size: 1.6rem;
  color: #1f2937;
  margin-bottom: 20px;
  border-left: 5px solid #2563eb;
  padding-left: 12px;
}

.rmm-infra-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.rmm-infra-table tr {
  border-bottom: 1px solid #e5e7eb;
}

.rmm-infra-table td {
  padding: 10px 0;
}

.rmm-infra-table td:first-child {
  color: #6b7280;
  font-weight: 500;
  width: 40%;
}

.rmm-infra-table td:last-child {
  color: #111827;
  font-weight: 600;
}

/* ===== Image Styling (Updated) ===== */
.rmm-infra-image {
  width: 100%;
  text-align: center;
  /* background: #f3f4f6; */
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rmm-infra-image img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;   /* ✅ Keeps full image visible */
  border-radius: 12px;
  transition: transform 0.3s ease;
  background: #fff;
}

.rmm-infra-item:hover .rmm-infra-image img {
  transform: scale(1.03);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .rmm-infra-item {
    padding: 25px;
  }

  .rmm-infra-content h3 {
    font-size: 1.4rem;
  }

  .rmm-infra-table td {
    padding: 8px 0;
  }

  .rmm-infra-image img {
    max-height: 260px;
  }
}

.process-step-item {
  border-radius: 23px;
  padding: 14px;
  margin-bottom: 15px;
}

.topbars {
  background-color: var(--accent-color);
  padding: 0;
  font-size: .9rem;
  color: var(--white-color);
  border-bottom: 1px solid rgba(128, 128, 128, 0.178);
}
.topbar-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-links a {
  color: var(--white-color);
  text-decoration: none;
  /* padding-left: 2%; */
  transition: color 0.3s ease;
  display: flex;
  font-weight: 600;
  align-items: center;
}

.topbar-links a i {
  margin-right: 8px;
  font-size: 16px;
}

.topbar-links a:hover {
  color: rgb(231, 231, 231);
}


.our-process {
  padding: 50px 0;
}

.services-list-box {
  padding: 35px;
  gap: 20px 60px;
}

.service-body {
  margin-bottom: 20px;
}

.our-services {
  padding: 100px 0 200px;
}

.photo-gallery img {
  cursor:zoom-in !important;
}

/* ===== RMM Counter Section ===== */
.rmm-counter-section {
  background: linear-gradient(135deg, #ff7f50, #ff9f43);
  background: url("../img/bg1.webp");
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
  color: #fff;
  padding: 40px 0;
  text-align: center;
  position: relative;
  margin-top: 50px;
}

.rmm-counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: stretch;
}

.rmm-counter-item {
  background: rgba(255, 255, 255, 0.062); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 35px 25px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); 
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.rmm-counter-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.rmm-counter {
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
}

.rmm-counter + p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffe8cc;
  margin: 0;
  text-align: center;
}

/* Animation for text in banner */
.text-anime-style-2 {
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideLeft 1s ease-out forwards;
  animation-delay: 0.3s;
}

/* Keyframes for fade-in and slide-up */
@keyframes fadeSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo img {
  max-width: 150px;
}

.our-process {
    background-color: #f8f9fa;
}

/* ================================
   Services Section
================================= */
.services-section.industries {
    /* background-color: #f8f9fa; */
    padding: 5rem 0;
    overflow: hidden;
}

.services-section.industries .section-title .title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
}

.services-section.industries .section-title p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* ================================
   Badge: Industries We Serve
================================= */
.badge-industries {
    display: inline-block;
    background: var(--accent-color, #ff6b6b);
    color: #fff;
    font-weight: bold;
    width: fit-content;
    font-size: .7rem;
    text-transform: uppercase;
    padding: .8rem 1.5rem;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    cursor: default;
    margin-bottom: 2%;
}

/* ================================
   Service Boxes
================================= */
.services-section.industries .service-box {
    background-color: #fff;
    transition: all 0.4s cubic-bezier(.25,.8,.25,1);
    border-radius: 1rem;
    cursor: pointer;
    /* border: 1px solid #e0e0e0; */
    transform: translateY(0);
}

.services-section.industries .service-box:hover {
    transform: translateY(-12px) rotateZ(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--accent-color);
}

/* ================================
   Icon Styling with Animation
================================= */
.services-section.industries .service-box .icon {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255,107,107,0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.4s ease-in-out;
}

.services-section.industries .service-box .icon.geer {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 60px;
    background: rgba(255,107,107,0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.4s ease-in-out;
}

.services-section.industries .service-box .icon i {
  font-size: 1.5rem;
}

.services-section.industries .service-box:hover .icon {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.2) rotate(15deg);
}


.services-section.industries .service-box h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-left: 15px;
    transition: color 0.3s ease-in-out;
}

.services-section.industries .service-box:hover h5 {
    color: var(--accent-color);
}

/* ================================
   Image Styling
================================= */
.services-section.industries .services-image img {
    border-radius: 1rem;
    max-width: 140%;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.services-section.industries .services-image img:hover {
    transform: scale(1.05) rotateZ(-1deg);
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.15); */
}

/* ================================
   Floating Animation for Boxes
================================= */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.services-section.industries .service-box {
    animation: float 6s ease-in-out infinite;
}

/* ================================
   Responsive Adjustments
================================= */
@media (max-width: 991px) {
    .services-section.industries .services-section {
        padding: 3rem 0;
    }

    .services-section.industries .services-section .section-title .title {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .services-section.industries .service-box h5 {
        font-size: 1rem;
        margin-left: 10px;
    }

    .services-section.industries .service-box .icon {
        width: 50px;
        height: 50px;
    }
}

/* Responsive */
@media (max-width: 992px) {
  .rmm-counter-item {
    min-height: 230px;
  }
  .rmm-counter {
    font-size: 2.8rem;
  }
  .page-gallery-box .photo-gallery img {
    height: 400px;
}
.footer-copyright {
  justify-content: center;
  gap: 10px;
}

.main-footer .row {
  gap: 20px;
}

}

@media (max-width: 768px) {
  .rmm-counter-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }
  .rmm-counter-item {
    min-height: 200px;
    padding: 25px 15px;
  }
  .rmm-counter {
    font-size: 2.2rem;
  }
  .rmm-counter + p {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .rmm-counter-grid {
    grid-template-columns: 1fr;
  }
}
