/* NextNet Dark Theme Color Scheme */
:root {
  --primary-dark: #0a0a0a;
  --secondary-dark: #1a1a1a;
  --primary-light: #2d2d2d;
  --secondary-light: #3d3d3d;
  --accent-color: #00a8ff;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #888888;
  --border-color: #333333;
  --card-bg: #1f1f1f;
}

/* Global Typography */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Navigation Styling */
.navbar {
  background-color: transparent;
  backdrop-filter: none;
  border-bottom: none;
  font-family: 'Inter', sans-serif;
  padding: 0.1rem 0 !important;
  min-height: unset !important;
  height: auto !important;
  transition: all 0.3s ease;
}

/* Scrolled Navigation */
.navbar.scrolled {
  background-color: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
}

.navbar-brand:hover .site-logo {
  filter: drop-shadow(0 6px 12px rgba(0, 168, 255, 0.4)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transform: scale(1.05);
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Scrolled Navigation Links */
.navbar.scrolled .nav-link {
  color: var(--text-secondary);
  text-shadow: none;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--text-primary) !important;
  text-shadow: none;
}

.service-tile a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  z-index: 2;
}

.service-tile:hover a {
  color: #ffffff;
}

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

.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 100vh;
}

/* Half height hero section for other pages */
.hero-section.half-height {
  min-height: 50vh;
}

.hero-section .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
  pointer-events: none;
}

.hero-section .content {
  position: relative;
  z-index: 10;
  color: var(--text-primary);
  padding: 2rem;
}

.hero-section h1 {
  color: var(--text-primary);
  font-weight: 700;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Hero Welcome Text Styling */
.hero-welcome-text {
  font-size: 3.5rem;
  font-weight: 200 !important;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Special X styling for neXt - Matching Official Design */
.next-x {
  color: #ffffff;
  font-weight: 300;
  position: relative;
  display: inline-block;
  font-size: inherit;
}

.next-x::before,
.next-x::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 120px;
  background: linear-gradient(45deg, #00bfff, #0080ff);
  top: 50%;
  left: 50%;
  transform-origin: center;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.8);
  border-radius: 2px;
}

.next-x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.next-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Hero Logo Styling */
.hero-logo img {
  transition: all 0.3s ease;
}

.hero-logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(0, 168, 255, 0.4)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* Inline Logo in Hero Text - Official NextNet Style */
.hero-inline-logo {
  height: 14rem;
  width: auto;
  vertical-align: middle;
  margin-left: -0.5rem;
  margin-right: -3rem;
  filter: brightness(1.2) contrast(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
  display: inline-block;
  transform: translateY(-0.3rem);
}

/* NextNet Official White Logo Styling */
.nextnet-white-logo {
  filter: brightness(1.3) contrast(1.2) drop-shadow(0 6px 12px rgba(255, 255, 255, 0.1));
  background: transparent;
  mix-blend-mode: normal;
}

.hero-inline-logo:hover {
  transform: translateY(-0.5rem) scale(1.05);
  filter: brightness(1.4) contrast(1.3) drop-shadow(0 8px 16px rgba(255, 255, 255, 0.2));
}

.nextnet-white-logo:hover {
  filter: brightness(1.5) contrast(1.4) drop-shadow(0 10px 20px rgba(255, 255, 255, 0.3));
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-welcome-text {
    font-size: 2.2rem;
    line-height: 1.1;
    font-weight: 200 !important;
  }
  
  .next-x::before,
  .next-x::after {
    height: 80px;
    width: 2px;
  }
  
  .hero-logo img {
    height: 80px !important;
  }
  
  .hero-inline-logo {
    height: 6rem;
    margin-left: -0.5rem;
    margin-right: -3rem;
    transform: translateY(-0.2rem);
  }
  
  .hero-inline-logo:hover {
    transform: translateY(-0.2rem) scale(1.05);
  }
}

.hero-section p {
  color: var(--text-secondary);
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* NextNet Button Styles */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  z-index: 20;
  pointer-events: auto;
  cursor: pointer;
}

/* Ensure anchor links work properly */
a[href^="#"] {
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}

/* Section targeting for smooth scroll */
section[id] {
  scroll-margin-top: 100px;
}

.btn-outline-light {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  position: relative;
  z-index: 25;
  pointer-events: auto;
}

.btn-outline-light:hover {
  background-color: var(--accent-color);
  color: var(--primary-dark);
  border-color: var(--accent-color);
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
}

.btn-primary:hover {
  background-color: #0090e7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 168, 255, 0.3);
}

/* Footer Styling */
footer {
  background-color: var(--primary-dark);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
}

footer h6 {
  color: #ffffff;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff;
}

footer .text-center {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Section Backgrounds */
.bg-light {
  background-color: var(--secondary-dark) !important;
}

section {
  font-family: 'Inter', sans-serif;
  background-color: var(--primary-dark);
}

/* Card Styling */
.card {
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  font-family: 'Inter', sans-serif;
}

.card-body {
  color: var(--text-secondary);
}

.card h5, .card h6 {
  color: var(--text-primary);
  font-weight: 600;
}

/* Dark Theme Specific Additions */
.container {
  background-color: transparent;
}

/* Navbar container compact */
.navbar .container {
  padding: 0 15px;
  min-height: unset !important;
  height: auto !important;
}

.row {
  background-color: transparent;
}

/* Input and Form Dark Theme */
.form-control {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.form-control:focus {
  background-color: var(--card-bg);
  border-color: var(--accent-color);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 168, 255, 0.25);
}

/* Dropdown Dark Theme */
.dropdown-menu {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
}

.dropdown-item {
  color: var(--text-secondary);
}

.dropdown-item:hover {
  background-color: var(--secondary-dark);
  color: var(--text-primary);
}

.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: var(--text-primary);
  transition: background-color 0.3s, color 0.3s;
}


/* 🌈 Navbar padding shrink on scroll */
header .navbar {
  padding: 0.15rem 0;
  transition: padding 0.3s ease;
}
header.scrolled .navbar {
  padding: 0.05rem 0;
  min-height: 45px !important;
}

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

/* Logo Overlay Styling */
.site-logo {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
  z-index: 1000;
  position: relative;
}

/* Header Floating Effect */
header.fixed-top {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: auto !important;
  min-height: unset !important;
}

header.transparent-header.scrolled {
  background-color: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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


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

/* 🟤 Nav links - on scroll (white for dark theme) */
header.transparent-header.scrolled .nav-link {
  color: var(--text-primary) !important;
}

/* ✳️ Active nav link color fix */
header.transparent-header .nav-link.active {
  color: var(--text-primary) !important;
}
header.transparent-header.scrolled .nav-link.active {
  color: var(--text-primary) !important;
}

/* 🔰 Brand/logo color */
header.transparent-header .navbar-brand {
  color: var(--text-primary);
}
header.transparent-header.scrolled .navbar-brand {
  color: var(--text-primary) !important;
}

/* 🔽 Dropdown caret color */
header.transparent-header .dropdown-toggle::after {
  color: var(--text-primary);
}
header.transparent-header.scrolled .dropdown-toggle::after {
  color: var(--text-primary);
}





/* 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: all 0.3s ease;
  border-radius: 12px;
  padding: 15px;
  position: relative;
  overflow: hidden;
}

.service-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0, 168, 255, 0.85) 0%, 
    rgba(13, 110, 253, 0.9) 50%,
    rgba(0, 50, 100, 0.95) 100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  z-index: 1;
  backdrop-filter: blur(2px);
}

.service-tile:hover::before {
  opacity: 1;
}

.service-tile:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 168, 255, 0.3);
}

.service-tile h6 {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  margin-top: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.service-tile:hover h6 {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-tile img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.service-tile:hover img {
  filter: brightness(1.1) contrast(1.1);
  transform: scale(1.03);
}

/* Architecture Section */
.architecture-section {
  background-color: var(--card-bg);
  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: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 20, 20, 0.95);
  font-family: 'Inter', sans-serif;
  border-radius: 16px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mainpageproduct-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0, 255, 127, 0.9) 0%, 
    rgba(0, 168, 255, 0.95) 50%,
    rgba(13, 110, 253, 0.9) 100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 16px;
  z-index: 1;
  border: 2px solid rgba(0, 255, 127, 0.6);
}

.mainpageproduct-box:hover::before {
  opacity: 1;
}

.mainpageproduct-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 255, 127, 0.3), 0 0 0 2px rgba(0, 255, 127, 0.5);
  border-color: rgba(0, 255, 127, 0.8);
}

.mainpageproduct-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 50%;
  overflow: hidden;
  border-radius: 12px;
  z-index: 2;
  background: transparent;
}

.mainpageproduct-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 12px;
  z-index: 2;
  filter: brightness(1.05) contrast(1.1) saturate(1.1);
  background: transparent;
}

.mainpageproduct-box:hover .mainpageproduct-img {
  transform: scale(1.08) rotate(1deg);
  filter: brightness(1.2) contrast(1.2) saturate(1.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.mainpageproduct-box h5 {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 12px;
}

.mainpageproduct-box:hover h5 {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
  letter-spacing: 0.5px;
}

.mainpageproduct-box p {
  position: relative;
  z-index: 3;
  transition: all 0.4s ease;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mainpageproduct-box:hover p {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

.mainpageproduct-box a {
  position: relative;
  z-index: 3;
  color: #ffffff !important;
  text-decoration: none;
  display: block;
  transition: all 0.4s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mainpageproduct-box:hover a {
  color: #ffffff !important;
  transform: translateY(-2px);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
}

.mainpageproduct-box .card-text {
  color: rgba(255, 255, 255, 0.8) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 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: var(--card-bg);
  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, var(--primary-dark) 0%, transparent 100%);
}

.clientlogos::after {
  right: 0;
  background: linear-gradient(to left, var(--primary-dark) 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: var(--text-primary);
}

/* 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;
  background-color: var(--card-bg);
  color: var(--text-primary);
}
.offcanvas-body .nav-link {
  padding: 8px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}
.offcanvas-body .nav-link:hover {
  color: var(--text-primary);
}
.offcanvas-body .collapse .nav-link {
  padding-left: 15px;
  font-weight: 400;
  border: none;
  color: var(--text-secondary);
}
.offcanvas-body .collapse .nav-link:hover {
  color: var(--text-primary);
}

/* Offcanvas Header Dark Theme */
.offcanvas-header {
  background-color: var(--card-bg);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

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

.btn-close {
  filter: invert(1);
}
/* 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: var(--text-primary);
  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: var(--card-bg);
  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;
}
/* Strong navbar logo override - place at very end of style.css */
header .navbar-brand .site-logo,
header .navbar-brand img.site-logo,
.navbar .navbar-brand img.site-logo {
  height: 72px !important;   /* desktop baseline */
  width: auto !important;
  max-height: 96px !important;
  max-width: none !important;
  display: block !important;
}

/* mobile */
@media (max-width: 767.98px) {
  header .navbar-brand .site-logo,
  header .navbar-brand img.site-logo {
    height: 48px !important;
    max-height: 56px !important;
  }
}

/* ensure navbar can contain the larger logo */
header.fixed-top .navbar {
  min-height: 50px !important;
  padding-top: .1rem !important;
  padding-bottom: .1rem !important;
}

