.service-tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-tile:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-tile h6 {
  margin-top: 12px;
  font-weight: 500;
}

/* Hero section for Indiex page and other page */

.hero-section {
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-section .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-section .content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 2rem;
}

.full-height {
  height: 100vh;
}

.half-height {
  height: 40vh;
}

@media (max-width: 768px) {
  .full-height {
    height: 80vh;
  }
  .half-height {
    height: 40vh;
  }
}

/* 🌐 Header for all pages */

header.transparent-header {
  background-color: transparent;
  color: white;
  transition: background-color 0.3s, color 0.3s;
}

header.transparent-header.scrolled {
  background-color: white;
  color: black;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 🌈 Navbar padding shrink on scroll */
header .navbar {
  padding: 0.8rem 0;
  transition: padding 0.3s ease;
}
header.scrolled .navbar {
  padding: 0.1rem 0;
}

/* 🌈 Navbar logo padding shrink on scroll */
.navbar-brand img {
  height: 42px;
  transition: height 0.3s ease;
}

header.scrolled .navbar-brand img {
  height: 32px;
}


/* 🎨 Nav links - default (white on transparent) */
header.transparent-header .nav-link {
  color: white;
  transition: color 0.3s ease;
}

/* 🟤 Nav links - on scroll (black on white) */
header.transparent-header.scrolled .nav-link {
  color: black !important;
}

/* ✳️ Active nav link color fix */
header.transparent-header .nav-link.active {
  color: white !important;
}
header.transparent-header.scrolled .nav-link.active {
  color: black !important;
}

/* 🔰 Brand/logo color */
header.transparent-header .navbar-brand {
  color: white;
}
header.transparent-header.scrolled .navbar-brand {
  color: black !important;
}

/* 🔽 Dropdown caret color */
header.transparent-header .dropdown-toggle::after {
  color: white;
}
header.transparent-header.scrolled .dropdown-toggle::after {
  color: black;
}





/* Service Tiles */
.service-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.service-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-tile {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 8px;
  padding: 10px;
}

.service-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  background-color: #f9f9f9;
}

.service-tile h6 {
  transition: color 0.3s;
  margin-top: 10px;
}

.service-tile:hover h6 {
  color: #004080;
  font-weight: 800;
}

/* Architecture Section */
.architecture-section {
  background-color: #ffffff;
  margin-bottom: 40px;
}

.architecture-section img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.architecture-section img:hover {
  transform: scale(1.02);
}

/* Main page Products Section */
.mainpageproduct-box {
  transition: transform 0.3s, box-shadow 0.3s;
}

.mainpageproduct-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.mainpageproduct-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 50%;
  overflow: hidden;
  border-radius: 8px;
}

.mainpageproduct-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.mainpageproduct-box:hover .mainpageproduct-img {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mainpageproduct-box h5 {
  transition: color 0.3s ease;
}

.mainpageproduct-box:hover h5 {
  color: #003366;
}

/* Partner Logos */
.partner-tile {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
  height: 70px;
}

.partner-logo:hover {
  filter: grayscale(0%);
}
/* Default for light background (e.g., white sections) */
.navbar-toggler {
  border-color: transparent;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Dark background override */
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* Client Logo */

/* 🔁 Animation for client logos marquee - right to left */
@keyframes slides {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* 🔲 Outer wrapper for scrolling client logos */
.clientlogos {
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
  position: relative;
  background-color: #ffffff;
  max-width: 1000px;
  margin: 0 auto;
}

/* 🎭 Gradient fade effect at edges */
.clientlogos::before,
.clientlogos::after {
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  content: '';
  z-index: 2;
  pointer-events: none;
}

.clientlogos::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.clientlogos::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

/* 🎞️ Scrolling inner container */
.clientlogo_items {
  display: inline-block;
  animation: slides 35s linear infinite;
}

/* 🛑 Pause animation on hover */
.clientlogos:hover .clientlogo_items {
  animation-play-state: paused;
}

/* 🖼️ Logo images styling */
.clientlogo_items img {
  height: 60px;
  margin-right: 60px;
  vertical-align: middle;
  filter: grayscale(100%);
  transition: filter 0.3s ease-in-out;
}

/* 🎨 Show full color on hover */
.clientlogo_items img:hover {
  filter: grayscale(0%);
}


/* 📱 Responsive for main product images */
@media (max-width: 768px) {
  .mainpageproduct-img-wrapper {
    padding-top: 60%;
  }
}


/* 🔹 Fade-in on scroll */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeUp 1s ease both;
}

/* 🖼️ Uniform image design */
.solution-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.solution-image:hover {
  transform: scale(1.03);
}

/* 📦 Soft button effect */
.soft-btn {
  padding: 10px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 80, 200, 0.12);
  transition: all 0.3s ease;
}
.soft-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 80, 200, 0.25);
}

/* 🌟 Blue heading for solution sections */
.solution-content h2 {
  color: #004080;              /* Deep Blue */
  font-weight: 700;
  margin-bottom: 15px;
}
.map-container iframe {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .map-container iframe {
    height: 250px;
    margin-top: 20px;
  }
}


/* ✅ Industry Page Custom CSS */

/* 16:9 Aspect Ratio for Images */
.img-fluid {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Section Heading */
h3.text-primary {
  color: #007bff; /* Bootstrap primary blue */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sub-headings */
h5.text-success {
  color: #28a745; /* Bootstrap green */
  font-weight: 600;
}

/* Carousel shadow and border radius */
.carousel-inner img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sticky nav button group */
.industry-nav .btn-group .btn {
  margin: 0 5px;
  padding: 8px 20px;
  border-radius: 20px;
  transition: all 0.3s ease-in-out;
}

.industry-nav .btn-group .btn:hover {
  background-color: #007bff;
  color: #fff;
}

/* AOS fade animation base */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.aos-animate {
  opacity: 1;
  transform: translateY(0);
}
.offcanvas {
  transition: transform 0.3s ease-in-out;
}
.offcanvas-body .nav-link {
  padding: 8px 0;
  font-weight: 500;
  border-bottom: 1px solid #eee;
}
.offcanvas-body .collapse .nav-link {
  padding-left: 15px;
  font-weight: 400;
  border: none;
}
/* this section for the solutions pages*/
.transition-height {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.8s ease;
}

.transition-height.expanded {
  max-height: 1000px;
}
/* Solution sub pages image adjustment */
.metric-section img {
  aspect-ratio: 1/1;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .metric-section img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
.metric-section ul {
  padding-left: 1.5rem;  /* or 24px */
  margin-left: 0;
  list-style-position: outside;
}

/* Solution sub page carousel seeting */

@media (max-width: 768px) {
  .carousel-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  #industryCarousel .carousel-inner {
    max-height: unset;
    overflow: hidden;
  }

  .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Or cover */
    border-radius: 8px;
  }
}


/* ✅ Carousel Wrapper with Max Height */
#industryCarousel .carousel-inner {
  max-height: 360px; /* or 300px, adjust as needed */
  overflow: hidden;
}

.carousel-img {
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Carousel wrapper to narrow both sides */
.carousel-wrapper {
  max-width: 900px;  /* Adjust this to your preferred size: 700–1000px is good */
  margin: 0 auto;
}

/* Optional: Reduce image height slightly for tighter layout */
.carousel-item img {
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
}
.carousel-control-prev,
.carousel-control-next {
  width: 8%; /* Wider clickable area */
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: -60px; /* Push left arrow outside */
}

.carousel-control-next {
  right: -60px; /* Push right arrow outside */
}

/* Custom carousel arrow color override */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1); /* Converts default white arrows to black */
}

/* Feature Section for all pages*/
.feature-title {
  color: #198754; /* Bootstrap's green (you can adjust if needed) */
}

.feature-box {
  transition: transform 0.3s ease;
}
.feature-box:hover {
  transform: translateY(-5px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* All Paragraphs in Energy Sections */
#energymor p,
#integratedcon p,
#optimizeeff p
#operational p
#building p
#security p
#advanced p
#intbms p
#optbms p
#safbms p {
  text-align: justify;
}
/* 🌐 Responsive Carousel Fix */
.carousel-item img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

/* 🎯 Arrow Buttons Outside Image */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #000; /* Black color */
  border-radius: 50%;
  padding: 12px;
}

/* 📱 Mobile Adjustments */
@media (max-width: 768px) {
  .carousel-item img {
    max-height: 180px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 10px;
    background-color: #000;
  }
}
.scroll-down-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: white;
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.footer-logo-container {
  background-color: transparent;
  padding: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px; /* Adjust based on your logo */
}

.footer-logo {
  max-height: 125px;
  width: auto;
  object-fit: contain;
}
/* Ensure GIF section looks clean and is responsive */
.architecture-section {
  background-color: #f8f9fa; /* Optional: Light background */
  overflow-x: hidden;
}

.architecture-wrapper {
  max-width: 100%;
  overflow: hidden;
}

.architecture-gif {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}


/* for Domain list in enterprise page */
/* Domain Card Hover Zoom */
.domain-card a {
  display: block;
  padding: 10px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-card a:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

/* Image Zoom Inside Card */
.domain-card img {
  transition: transform 0.3s ease;
}

.domain-card a:hover img {
  transform: scale(1.08);
}

/* Partner Logos Section */
.partner-section {
  background-color: #f8f9fa;
  padding: 40px 0;
  text-align: center;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.partner-tile {
  height: 100px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  max-height: 80px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .partner-tile {
    height: 80px;
    width: 120px;
  }

  .partner-logo {
    max-height: 60px;
    max-width: 100px;
  }
}

/*  Platform Strengths Section    */
.platform-box {
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  border: 1px solid #e4e4e4;
}
.platform-box:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
/* sensor page styling for protfolie */

.sensor-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  height: 100%;
}

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

.sensor-title {
  transition: color 0.3s ease;
}

.sensor-card:hover .sensor-title {
  color: #007bff; /* Bootstrap primary */
  font-weight: bold;
}

.sensor-desc {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.sensor-card:hover .sensor-desc {
  opacity: 1;
  max-height: 200px;
}

.partners img {
  width: 115%; /* Increased by 15% */
  max-width: none;
  height: auto;
  transition: all 0.3s ease-in-out;
}
