/* Reset some basic elements for a clean slate */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #0092c7;
  --dark-bg: rgba(0, 0, 0, 0.6); 

  --text-main: #ffffff;
  --text-light: #d3d3d3;
  --neon-accent: #0ef;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body {
  height: 100%;
  margin: 0;
  padding: 0;
  zoom: 1;
  background-size: cover;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ===== Hide Main Scrollbar, Show on Hover ===== */

/* --- Firefox --- */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(0, 0, 0, 0.3);
}
html:hover {
  scrollbar-color: var(--neon-accent) rgba(0, 0, 0, 0.6);
}

/* Custom Text Selection */
::selection {
  background: var(--neon-accent);
  color: #000;
}

/* --- WebKit (Chrome, Safari, Edge) --- */
html::-webkit-scrollbar {
  width: 10px;
}
html::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 5px;
}
html:hover::-webkit-scrollbar-thumb {
  background-color: var(--neon-accent);
}

body {
  font-family: 'Rajdhani', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  color: #333;
  background-size: auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  line-height: 1.6;
}
.container {
  display: block;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 85%;
  margin: 0 auto;
  font-size: large;
  background: transparent; /* Optional: just to be safe */

}
header .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.logo-container {
  display: flex;
  align-items: center;
  margin: 0; /* Reset margins */
}
/* Remove the body transform which can break fixed backgrounds on mobile */
#menu-icon {
  font-size: 3.6rem;
  color: #fff;
  display: none; /* Hidden on desktop */
  cursor: pointer;
}
.logo-container img {
  width: 200px; /* Adjust logo size */
  height: auto;
  margin: 0; /* Reset margins */
}
/* Header and Navigation */
header {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  top: 0;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  z-index: 1000;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
}

header h1 {
  font-size: 4.5rem;
}
nav{
 background-color: #0091bd00;
}
nav a {
  margin: 0 20px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .logo-container {
        margin-bottom: 10px;
    }
    .navbar {
        position: static;
        display: flex;
        flex-direction: column;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
    }
    .navbar a {
        display: block;
        font-size: 1.2rem;
        margin: 10px 0;
        text-align: center;
    }
}

/* Product Section */

.product-section h2 {
  font-size: 3.2rem;
  margin-bottom: 30px;
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  gap: 20px;
}

/* About Section */
.about-section {
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black */
  color: white;
  padding: 50px 0;
  text-align: center;
}

.about-section h2 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--text-main);
  font-weight: 300;
}
.contact-socials {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.contact-socials h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  margin-right: 10px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 0 10px var(--primary-color);
}
/* Center-align the copyright line at the very bottom */
.footer-bottom {
  width: 100%;
  text-align: center;
  margin-right: 75px;
  padding: 20px 0;
  color: var(--text-light); /* Uses your light gray variable */
  font-size: 20px;
}

.footer-bottom p {
  margin: 0; /* Removes default paragraph spacing */
}
/* Contact Section */
.contact-section {
  padding: 50px 0;
  background-color: var(--dark-bg);
  color: white;
}

.contact-section h2 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

/* New Contact Layout */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 40px;
}

/* Left Column: Info Card */
.contact-info-card {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 40px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-info-card h3 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #fff;
}

.info-intro {
  margin-bottom: 30px;
  color: #d3d3d3;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 0 15px rgba(0, 146, 199, 0.5);
}

.info-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #fff;
}

.info-text p {
  font-size: 1rem;
  color: #ccc;
  margin: 0;
}

.response-note {
  margin-top: 20px;
  padding: 15px;
  background: rgba(0, 146, 199, 0.1);
  border-left: 3px solid var(--primary-color);
  border-radius: 4px;
}
.response-note p {
  margin: 0;
  font-size: 0.9rem;
  color: #e0e0e0;
}
.response-note i {
  vertical-align: middle;
  margin-right: 5px;
}

/* Right Column: Form Container */
.contact-form-container {
  flex: 1;
  min-width: 300px;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-section form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align inputs to left */
}

/* Make inputs full width inside contact form */
.contact-form-container .wave-group,
.contact-form-container .input,
.contact-form-container .bar {
  width: 100%;
}

.contact-section form button {
  color: white;
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.contact-section form button:hover {
  background-color: #002f1d;
}

/* Map Section */
.map-section {
  width: 100%;
  line-height: 0; /* Removes gap below iframe */
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Media Queries */
@media (max-width: 768px) {
  .container {
    width: 90%;
  }


  header .container {
    justify-content: center;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .hero h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .product-card h3 {
    font-size: 1.6rem;
  }
}
/* Key Benefits Section */
.benefits-section {
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black */
  color: white;
  padding: 50px 0;
  text-align: center;
}
.benefits-section h2 {
  font-size: 2.5rem;
  font-size: 3.2rem;
  margin-bottom: 30px;
  text-align: center;
}

.benefits-grid {
  display: flex;
  gap: 20px;
  justify-items: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch; /* Make all cards match height */
}

.benefit-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: space-between;
  align-items: center;
  width: 250px;
  min-height: 400px; /* Force consistent height */
}

.benefit-card img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #000;
}

.benefit-card p {
  color: #555;
  font-size: 1rem;
}

/* Partners Section */
.partners-section {
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
  padding: 30px 0;
  text-align: center;
  color: white;
}

.partners-section h2 {
  font-size: 2.5rem;
  font-size: 3.2rem;
  margin-bottom: 30px;
}

.slider .item img:hover {
  transform: scale(1.08);
  filter: brightness(1.2)
          drop-shadow(0 0 10px rgba(0, 200, 255, 0.6));
}

/* Make .logo-container responsive */
@media (max-width: 768px) {
  .logo-container {
    flex-direction: column;
    margin-right: 0;
    text-align: center;
  }

  .logo-container img {
    margin: 0 auto 10px;
    width: 60%;
  }
}

/* Make .benefits-grid stack on smaller screens */
@media (max-width: 768px) {
  .benefits-grid {
    flex-direction: column;
    align-items: center;
  }

  .benefit-card {
    width: 90%;
    margin-bottom: 20px;
  }
}

.partners-section {
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
  padding: 50px 0;
  text-align: center;
  color: white;
}
.product-section {
  background-color: rgba(0, 0, 0, 0.6); /* Transparent black */
  color: white;
  padding: 50px 0;
  text-align: center;
}

.container h2{
  color: white;
}
.product-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: none; /* Remove outline effect */
  overflow: hidden;
  text-align: center;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  color: #ffffff;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  background-color: rgba(255, 255, 255, 0.226);
  color: black;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
  margin-top: 30px;
}

.product-category-card {
  background-color: rgba(255, 255, 255, 0.1); /* semi-transparent white */
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.product-category-card:hover::before {
  opacity: 1;
}

.product-category-card h3 {
  font-size: 1.8rem;
  text-align: center;
  color: white;
  margin-bottom: 15px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.product-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0, 255, 255, 0.08),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
  max-height:250px;
  max-height: 495px; /* Approx 3 items */
  overflow-y: auto;
  padding-right: 10px;
  box-sizing: border-box;
  width: 100%;
  /* For Firefox */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.product-description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}




.product-category-card.active .dropdown-content {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 15px;
  pointer-events: auto;
}
.product-item {
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 15px;
  color: white;
  min-height: 100px;
  min-height: 150px;
  width: 100%;
  box-sizing: border-box;
  align-items: center; /* instead of flex-start */
  background: rgba(0, 0, 0, 0.55);
}

.product-item img {
  width: 80px;                /* Slightly smaller for uniformity */
  height: 80px;
  object-fit: contain;        /* Maintain aspect ratio */
  border-radius: 4px;
  flex-shrink: 0;
  background-color: transparent;    /* Optional: helps logos stand out */
     /* Optional: buffer for logo clarity */
}

.product-category-card {
  min-height: 550px; /* or adjust to your preferred consistent height */
}

.product-item p strong {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}




/* Responsive */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
.contact-btn,
.product-card button {
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: white;
  padding: 12px 22px;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* hover = lift (industrial style) */
.contact-btn:hover,
.product-card button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 123, 255, 0.35);
  background: linear-gradient(135deg, #0056b3, #003f7f);
}

/* click feedback */
.contact-btn:active,
.product-card button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.product-category-card h3,
.product-item p {
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: center;
  margin: 0;
}

.product-item p {
  font-size: 0.95rem;
  line-height: 1.4;
  flex: 1;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 20px;
  color: white;
  width: 100%;
  min-height: 150px; /* ⬅️ Add this line */
}

.product-item p strong {
  display: block;
}
.dropdown-content::-webkit-scrollbar {
  width: 8px;
}

.dropdown-content::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.dropdown-content::-webkit-scrollbar-track {
  background: transparent;
}

/* Show scrollbar on hover */
.dropdown-content:hover {
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent; /* For Firefox */
}
.dropdown-content:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 768px) {
  .product-category-card {
    min-height: auto; /* Let it shrink naturally on small screens */
  }
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Force 3 cards per row */
  gap: 30px;
  padding: 20px;
  justify-items: center;
}

.product-card {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.2);
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  word-wrap: break-word; /* make long words wrap instead of stretching */
  overflow: hidden;      /* hides overflow if necessary */
}

.product-card img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 10px;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.product-info {
  display: flex;
  flex-direction: column;
  color: white;
  text-align: center;
  margin-bottom: 100px;
}

.product-info h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
  text-align: center;
}

.product-info p {
  font-size: 16px;
  color: #e0e0e0;
  text-align: center;
}

.product-card button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover button {
  opacity: 1;
}

.product-card:hover img {
  transform: scale(1.05);
}
/* 🌐 Responsive Adjustments */

/* Medium devices (tablets) */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-container {
    flex-direction: column;
    margin-right: 0;
    text-align: center;
  }

  .logo-container img {
    margin: 0 auto 10px;
    width: 180px;
  }

  nav a {
    margin: 5px;
    font-size: 0.9rem;
  }
}

/* Small devices (phones) */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .product-category-card {
    min-height: auto; /* Allow height to shrink on mobile */
    height: auto;
  }

  .product-card {
    flex-direction: column;
    width: 100%;
    min-height: auto;
    padding: 15px;
  }

  .product-card img {
    margin: 0 0 10px;
    width: 120px;
    height: 120px;
  }

  .contact-btn {
    width: 100%;
    text-align: center;
    margin-top: 10px; /* Spacing between text and button */
  }

  .product-info {
    margin-bottom: 0;
    margin-bottom: 15px;
    text-align: center;
  }

  .benefits-grid {
    flex-direction: column;
    gap: 20px;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .product-card button {
    position: static;
    width: 100%;
    margin-top: 15px;
  }
   .nav-dropdown:hover .dropdown-menu, .footer-nav .nav-dropdown:hover .dropdown-menu {
    display: block;
    transform: none;
    display: none;
  }
  .product-card button {
    opacity: 1;
    pointer-events: auto;
  }

  .benefit-card {
    width: 90%;
    min-height: auto;
  }

  .partners-logos {
    flex-wrap: wrap;
    gap: 20px;
  }

  .partners-logos img {
    max-height: 50px;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  footer {
    font-size: 0.9rem;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .logo-container img {
    width: 140px;
  }

  .product-card img {
    width: 100px;
    height: 100px;
  }

  .hero h2 {
    font-size: 1.5rem;
  }
}
/* Responsive About Page Card Layout */
@media (max-width: 768px) {
  .benefits-grid {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center cards horizontally */
  }

  .benefit-card {
    width: 90%; /* Shrinks to fit smaller screens */
    max-width: 250px; /* Prevents being too big on medium screens */
    text-align: center;
  }

  .benefit-card img {
    max-width: 120px; /* Resize image proportionally */
    height: auto;
  }
}

@media (max-width: 480px) {
  .benefit-card {
    width: 95%; /* Fill more space on very small screens */
    max-width:250px;
  }

  .benefit-card img {
    max-width: 100px; /* Slightly smaller images */
  }
}

body {
    transform: scale(1);
}
/* From Uiverse.io by AbanoubMagdy1 */ 
.wave-group {
  position: relative;
  margin: 20px 0;
}

.wave-group .input {
  font-size: 16px;
  padding: 10px 10px 10px 5px;
  display: block;
  width: 200px;
  border: none;
  border-bottom: 1px solid white;
  background: transparent;
  color: white;
}

.wave-group .input:focus {
  outline: none;
}

.wave-group .label {
  color: white;
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  display: flex;
}

.wave-group .label-char {
  transition: 0.2s ease all;
  transition-delay: calc(var(--index) * .05s);
}

.wave-group .input:focus ~ label .label-char,
.wave-group .input:valid ~ label .label-char {
  transform: translateY(-20px);
  font-size: 14px;
  color: white;
}

.wave-group .bar {
  position: relative;
  display: block;
  width: 200px;
}

.wave-group .bar:before,.wave-group .bar:after {
  content: '';
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: var(--primary-color);

  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.wave-group .bar:before {
  left: 50%;
}

.wave-group .bar:after {
  right: 50%;
}

.wave-group .input:focus ~ .bar:before,
.wave-group .input:focus ~ .bar:after {
  width: 50%;
}
/* For Chrome, Edge, Opera */

.wave-group textarea.input {
  resize: none;
}
input:-webkit-autofill {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: #fff !important; /* your text color */
  transition: background-color 5000s ease-in-out 0s;
}

/* For Firefox */
input:-moz-autofill {
  background-color: transparent !important;
  -moz-box-shadow: 0 0 0px 1000px transparent inset !important;
  -moz-text-fill-color: #fff !important;
}

nav a {
    position: relative;
    font-size: 1.3em;
    color: #ffffff;
    text-decoration: none;
    padding: 6px 20px;
    transition: .5s;
    text-transform: uppercase;
    font-weight: bold;
}
nav a:hover {
    color: #0ef;
}
nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #0ef;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}
nav a:hover::after {
    transform: scaleX(1);
}
/* Active State for Navigation */
nav a.active {
    color: #0ef;
}
nav a.active::after {
    transform: scaleX(1);
}
/* ======= Futuristic Glass Neon Dropdown — Fade + Slide + Glow ======= */

/* ======= Modern Industrial Dropdown ======= */
.nav-dropdown {
  position: relative;
  display: inline-block;
  height: 100%;
  vertical-align: middle; /* Fixes vertical alignment offset in navbar */
}

/* "Products" link */
.nav-dropdown .has-dropdown {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* Dropdown menu container */
/* Arrow Indicator */
.nav-dropdown .has-dropdown::after {
  content: '▼';
  font-size: 0.6em;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.nav-dropdown:hover .has-dropdown::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;

  /* Hidden state */
  transform: translateX(-50%) translateY(15px);
  min-width: 220px;
  background: rgba(61, 61, 61, 0.623); /* Dark industrial background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  display: none; /* Ensures transitions work */
}

/* When hovered — fade + slide up */
.nav-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  border-color: rgba(255, 255, 255, 0.575);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.664),
    0 0 50px rgba(255, 255, 255, 0.25),
    inset 0 0 35px rgba(0, 238, 255, 0.08);
  transform: translateX(-50%) translateY(0);
}

/* Dropdown links */
.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  padding: 12px 20px;
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.95em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: all 0.3s ease, background 0.25s ease, color 0.25s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  text-align: left;
  text-transform: none;
}

/* Inner glow light effect behind each item */
.dropdown-menu a::before {
  content: "";
  position: absolute;
  inset: 0;

  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.dropdown-menu a:last-child {
  border-bottom: none;
}

/* Hover: bright glow + slight shift */
.dropdown-menu a:hover {
  color: #00c3ff;
  padding-left: 25px; /* Slide effect */
}

.dropdown-menu a:hover::before {
  opacity: 1;
}
/* Footer specific: Open Upwards */
.footer-nav-v2 .dropdown-menu {
  top: auto;
  bottom: 100%;
  transform: translateX(-50%) translateY(-15px);
  margin-bottom: 10px;
}
.footer-nav-v2 .nav-dropdown:hover .dropdown-menu {
  transform: translateX(-50%) translateY(0);
}

/* Force Footer Products Link to Center */
.footer-links .nav-dropdown .has-dropdown {
  justify-content: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
    text-align: center;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    display: none; /* Hidden by default on mobile, toggled via JS or hover */
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    border: none;
    min-width: 100%;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* On mobile, disable the desktop hover effect. Clicks are handled by JS. */
  .nav-dropdown:hover .dropdown-menu, .footer-nav .nav-dropdown:hover .dropdown-menu {
    display: none;
  }
  
  .dropdown-menu a {
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
    border-radius: 5px;
    padding-left: 0;
    text-align: center;
    padding: 10px;
  }
  
  .dropdown-menu a:hover {
    padding-left: 0;
  }
}

.slider{
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
}
.slider .list{
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}
.slider .list .item{
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 15s linear infinite;
    transition: filter 0.5s;    animation-delay: calc( (15s / var(--quantity)) * (var(--position) - 1) - 10s)!important;
}
.slider .list .item img{
    width: 100%;
}


.slider .item:hover{
    filter: grayscale(0);
}
.slider[reverse="true"] .item{
    animation: reversePlay 15s linear infinite;
}
@keyframes reversePlay{
    from{
        left: calc(var(--width) * -1);
    }to{
        left: 100%;
    }
}
.sh{
  font-size: 50px;
}
/* Increase space above the heading */
.sh {
  margin-top: 0;
  margin-bottom: 40px; /* adds space below heading before slider */
  font-size: 50px;
  color: white;
  text-align: center;
}

/* Add extra space between heading and slider */
.slider {
  margin-top: 40px;
}
/* Make all logos in the slider uniform and centered */
.slider .list .item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* remove any unwanted background */
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 25s linear infinite;
  animation-delay: calc((25s / var(--quantity)) * (var(--position) - 1) - 25s) !important;
}

/* Standardize logo size inside the slider */
.slider .list .item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* keeps logos proportional */
  padding: 10px; /* gives breathing space */
  filter: brightness(1) contrast(1.1);
}
.slider[reverse="true"] .item {
  animation: reversePlay 25s linear infinite;
}
.partners-logos img,
.slider .item img {
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.partners-logos img:hover,
.slider .item img:hover {
  transform: scale(1.08);
  filter: brightness(1.2)
          drop-shadow(0 0 10px rgba(0, 200, 255, 0.6));
}
.product-category-card {
  background-color: rgba(131, 131, 131, 0.205); /* solid dark overlay */
  border-radius: 12px;
  padding: 10px;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0, 255, 255, 0.08),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-category-card:hover::before {
  opacity: 1;
}

.product-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}
.contact-btn {
  position: relative;
  overflow: hidden;
}
.product-item {
  background: rgba(107, 107, 107, 0.185);
}
.contact-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.4s ease;
}

.contact-btn:hover::after {
  left: 100%;
}

.contact-btn:hover {
  background-color: #003f2a;
}


/* 3. Text Contrast Fixes */


.about-section p {
  color: var(--text-main); /* Ensure readability on light backgrounds */
}

/* Fix for overlapping elements on very small screens */
@media (max-width: 480px) {
  .logo-container img {
    width: 180px;
  }
  
  header h1 {
    font-size: 2rem;
  }
}

/* ===============================
   NEW FOOTER (OVERRIDES OLD)
================================ */
.footer-v2 {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 40px 20px;
  position: relative;
  z-index: 999;
}

.footer-v2-inner {
  display: flex;
  flex-direction: row; /* Keep them in a row for desktop */
  justify-content: space-around; /* Distributes sections evenly */
  align-items: center; /* Vertically centers the content */
  text-align: center; /* Horizontally centers the text inside blocks */
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  gap: 30px; /* Adds space between the blocks */
}
/* BRAND */
.footer-brand {
  text-align: center;
  max-width: 500px;
  text-align: left;
  max-width: 300px;
}

.footer-brand img {
  max-width: 240px;
  margin-bottom: -20px;
  align-items: center;
}

.footer-brand h3 {
  font-size: 30px;
  margin-bottom: 10px;
  color: #0ef;
}
.footer-social .social-icons {
  display: flex;
  justify-content: center; /* Centers the icon row */
  gap: 15px;
  margin-top: 10px;
}
.footer-brand p {
  font-size: 20px;
  line-height: 1.5;
  color: #ccc;
  text-align: center;
  
}

@media (max-width: 768px) {
  .footer-v2-inner {
    flex-direction: column; /* Stacks items vertically */
    text-align: center;
  }
  
  .footer-brand, .footer-contact, .footer-social {
    margin-bottom: 20px;
    width: 100%; /* Take full width to ensure centering works */
  }
}
/* SOCIAL */
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: flex-start;
  gap: 14px;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
  color: #0ef;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #0ef;
  padding-left: 5px;
}

.footer-links .nav-dropdown .has-dropdown::after {
  display: none;
}

.footer-contact p {
  color: #ccc;
  margin-bottom: 10px;
  text-align: center;
}

.footer-social a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  transition: all 0.3s ease;
  margin-left: -10px;
}

.footer-social a:hover {
  background: #0ef;
  color: rgb(0, 0, 0);
  box-shadow: 0 0 15px rgba(0,238,255,0.6);
}

/* Make copyright span full width in grid */
.footer-v2-inner .footer-bottom {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-v2-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    align-items: center;
  }

  .footer-brand {
    text-align: center;
  }
  
  .footer-brand p, .footer-social, .footer-links, .footer-contact {
    text-align: center;
    align-items: center;
  }
  
  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-links li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-links .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

}
/* Stateful Contact Button */
.stateful-button {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, #007BFF, #0056b3);
  padding: 1em 2em;
  border: none;
  border-radius: .6rem;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  min-width: 180px;
  min-height: 50px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stateful-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 123, 255, 0.35);
  background: linear-gradient(135deg, #0056b3, #003f7f);
}

.stateful-button .button-text {
  transition: opacity 0.2s ease-in-out;
}

/* Stay Signed In Checkbox */
.stay-signed-in-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 200px; /* Match form input width */
  margin: 10px 0;
  color: white;
}

.stay-signed-in-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.stay-signed-in-container label {
  font-size: 16px;
  cursor: pointer;
}

/* Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-in Animation */
.slide-in {
  opacity: 0;
  transform: translateX(-50px); /* Start off-screen to the left */
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.slide-in.visible {
  opacity: 1;
  transform: translateX(0); /* Slide into view */
}

/* ===============================
   MEGA MENU STYLES
================================ */
.dropdown-menu.mega-menu {
    width: auto;
    padding: 0px;
    left: 50%;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 238, 255, 0.2);
}

.mega-menu-content {
    display: flex;
    gap: 20px;
}

.mega-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-bottom: none !important;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    height: 100%;
    justify-content: space-between;
    width: 180px;
    border: 1px solid transparent;
}

.mega-item:hover {
    background: rgba(0, 238, 255, 0.397);
    transform: translateY(-5px);
    border-color: rgba(0, 238, 255, 0.4);
}

.mega-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(0.9);
    transition: 0.3s;
}

.mega-item:hover img {
    filter: brightness(1.2);
    transform: scale(1.1);
}


.mega-text p {
    font-size: 0.85rem;
    color: #ccc;
    margin: 0;
    line-height: 1.3;
}

/* Mobile Responsive Mega Menu */
@media (max-width: 768px) {
    .dropdown-menu.mega-menu {
        width: 100%;
        min-width: auto;
        position: relative;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        left: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mega-menu-content {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .navbar .mega-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        align-items: center;
        width: 90%;
        background: rgba(255, 255, 255, 0.05);
        display: flex; /* Force flex to override .navbar a display:block */
        margin: 5px auto;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mega-item img {
        margin-bottom: 10px;
        margin-right: 0;
        width: 50px;
        height: 50px;
    }
    
    .mega-item:hover {
        padding: 15px;
        transform: translateY(-5px);
        background: rgba(0, 238, 255, 0.1);
    }
    
    .mega-text {
        text-align: center;
    }
}

/* ===============================
   NEW UI ELEMENTS (ADDED)
================================ */

/* 1. Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 10001;
}

.scroll-progress-bar {
  height: 100%;
  background: var(--neon-accent);
  width: 0%;
  box-shadow: 0 0 10px var(--neon-accent);
  transition: width 0.1s ease-out;
}

/* 2. Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  color: var(--neon-accent);
  border: 1px solid var(--neon-accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 238, 255, 0.2);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--neon-accent);
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--neon-accent);
}

/* 3. Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000; /* Or a very dark grey to match theme */
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Re-use existing spinner animation or create a simple one */
.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  border-top-color: var(--neon-accent);
  animation: spin 1s ease-in-out infinite;
}

/* Hide preloader when body has 'loaded' class */
body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Ensure the parent is the reference point */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

/* Mega Menu Positioning and Centering */
.dropdown-menu.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%; /* Move to center of parent */
  transform: translateX(-50%); /* Offset by half its own width to center */
  width: 90vw; /* Responsive width */
  max-width: 800px; /* Maximum width for large screens */
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 238, 255, 0.418);
  border-radius: 12px;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Show on Hover */
.nav-dropdown:hover .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(10px);
}

/* Mega Menu Content Grid */
.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive columns */
  gap: 20px;
}

.mega-item {
  text-decoration: none;
  color: white;
  text-align: center;
  padding: 10px;
  transition: background 0.3s;
  border-radius: 8px;
}

.mega-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mega-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Fix for Small Screens (Mobile) */
@media (max-width: 768px) {
  .dropdown-menu.mega-menu {
    position: static; /* Stack naturally in mobile menu */
    transform: none;
    width: 100%;
    max-width: none;
    visibility: visible;
    opacity: 1;
    display: none; /* Toggle this with JS if needed, or keep visible in mobile drawer */
    box-shadow: none;
    border: none;
    background: transparent;
  }
  
  .nav-dropdown:hover .mega-menu {
    display: block;
    transform: none;
  }

  .mega-menu-content {
    grid-template-columns: 1fr 1fr; /* 2 columns on mobile */
    gap: 10px;
  }
}
/* Update the existing mobile media query */
@media (max-width: 768px) {
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center; /* This centers all children, including the div */
        width: 100%;
    }

    .nav-dropdown {
        width: 100%;
        text-align: center; /* Centers the 'Products' text inside the div */
    }

    .navbar a, 
    .nav-dropdown a.has-dropdown {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
}
/* Footer Dropdown Alignment Fix */
/* Footer Dropdown Alignment Fix */
@media (max-width: 768px) {
  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    list-style: none;
  }

  /* Target the dropdown container specifically within footer-links */
  .footer-links .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Reset the menu for small screens to center stack */
  .footer-links .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    visibility: visible;
    opacity: 1;
    display: none; /* Keeps it hidden until hovered/toggled */
  }

  .footer-links .nav-dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .footer-links .dropdown-menu a {
    margin: 5px 0;
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
  }
}
#preloader {
    position: fixed;        /* Locks it to the screen, not the page */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;          /* 100% of the Viewport Height */
    background-color: #000; /* Or your preferred background color */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;          /* Ensures it stays on top of everything */
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* This class gets added by your script.js to hide it */
body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}
/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.show {
  opacity: 1;
  transform: translateY(0);
}
/* Fix for Mega Menu closing too early */
.nav-dropdown {
  padding-bottom: 15px; /* Creates a hidden bridge between the link and the menu */
  margin-bottom: -15px; /* Offsets the padding so it doesn't push other elements */
}

.dropdown-menu {
  margin-top: 0; /* Ensures the menu sits directly against the "bridge" */
}

/* Optional: Smooth fade-in to prevent flickering */
.dropdown-menu {
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
/* Fix for Mega Menu Z-Index (ensures it stays on top of overlays) */
header {
  z-index: 1000 !important; /* Ensures the whole header is high up */
  position: relative;
}

.nav-dropdown {
  position: relative;
  z-index: 1001 !important;
}

.dropdown-menu, 
.mega-menu {
  z-index: 9999 !important; /* Higher than any other page element */
  position: absolute;
  /* Ensures no clipping from parent containers */
  display: block; 
  visibility: hidden;
  opacity: 0;
}

/* Ensure the dropdown becomes visible on hover */
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown:hover > .mega-menu {
  visibility: visible;
  opacity: 1;
}

/* Fix for preloader/overlay blocking the menu */
#page-loader, #preloader {
  z-index: 10000; /* Preloader stays on top until it fades out */
}
/* --- FIX FOR EMPTY SPACE AT BOTTOM --- */
html, body {
  min-height: 100%; /* Changed from height: 100% to allow expansion */
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Ensure the background stays fixed and doesn't cut off */
body {
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Specific Footer Fix for the copyright gap */
footer {
  margin-top: auto; /* Pushes footer to absolute bottom on short pages */
  padding: 40px 0 0 0; /* Adjust padding to remove bottom gap */
  width: 100%;
}

.footer-bottom {
  margin-bottom: 0 !important;
  padding: 20px 0;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
/* Base for general elements (Text, titles) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  visibility: hidden; 
}

/* Base for Cards (Slide in from left as requested) */
.card-reveal {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
  visibility: hidden;
}

.scroll-reveal.show, .card-reveal.show {
  opacity: 1;
  transform: translate(0, 0);
  visibility: visible;
}
/* Hide mobile toggle elements on Desktop */
#check, .menu-label {
    display: none;
}

@media (max-width: 768px) {
    header .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .logo-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100%;
        gap: 10px;
    }

    /* Show the clickable label and center it under the logo */
    .menu-label {
        display: block !important;
        margin-top: 10px;
        cursor: pointer;
    }

    #menu-icon {
        display: block !important;
        font-size: 2.8rem;
        transition: transform 0.4s ease; /* Animation timing */
    }

    /* --- THE CROSS ANIMATION --- */
    #check:checked ~ .menu-label #menu-icon {
        transform: rotate(90deg);
        color: var(--neon-accent);
    }

    /* Swaps hamburger icon to 'X' icon using Boxicons code */
    #check:checked ~ .menu-label #menu-icon::before {
        content: "\ea6a"; 
    }

    /* --- THE MENU TOGGLE --- */
    .navbar {
        display: none; /* Hidden by default */
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        text-align: center;
    }

    #check:checked ~ .navbar {
        display: flex !important;
    }

    /* Safeguard for the Mega Menu */
    .nav-dropdown .dropdown-menu {
        position: static !important;
        display: none;
    }
}
/* --- Footer Products Alignment Fix (Mobile & Tablet) --- */
@media (max-width: 768px) {
    /* Target the dropdown specifically inside the footer */
    .footer-links .nav-dropdown {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Centers the "Products" label */
        width: 100%;
        margin: 0;
    }

    /* Make the "Products" title look like a normal link */
    .footer-links .has-dropdown {
        padding: 10px 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    /* Force the sub-menu to be visible and stacked vertically */
    .footer-links .dropdown-menu {
        position: static !important; /* Removes the "floating" behavior */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        width: 100%;
    }

    /* Style the sub-links (Automation, Solar, etc.) */
    .footer-links .dropdown-menu a {
        padding: 8px 0 !important;
        font-size: 0.9rem !important;
        color: var(--text-light) !important;
        border: none !important;
        width: 100%;
        text-align: center;
    }

    /* Optional: Small bullet or dash to indicate sub-items */
    .footer-links .dropdown-menu a::before {
        content: "- ";
        color: var(--neon-accent);
    }
}
/* --- Footer Dropdown Visibility Fix (Small Screens) --- */
@media (max-width: 768px) {
    /* Target only the dropdowns inside the footer */
    footer .nav-dropdown .dropdown-menu {
        display: none !important; /* Hide it by default */
        position: static !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        width: 100%;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
        transition: none !important;
    }

    /* If you want it to show ONLY when the parent is clicked/active */
    footer .nav-dropdown.active .dropdown-menu {
        display: flex !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
    }
    
    /* Ensure the "Products" text is centered and clickable */
    footer .footer-links .has-dropdown {
        display: block;
        text-align: center;
        cursor: pointer;
        padding: 5px 0;
    }
}
/* Update these styles in style.css */
.footer-v2-inner {
    display: flex;
    justify-content: space-around; /* Distributes remaining items evenly */
    align-items: center;           /* Vertically centers items */
    flex-wrap: wrap;               /* Ensures wrapping on smaller screens */
    
    text-align: center;            /* Centers text inside each footer block */
}

.footer-brand, 
.footer-contact, 
.footer-social {
    flex: 1;
    min-width: 250px;              /* Prevents items from getting too squeezed */
    display: flex;
    flex-direction: column;
    align-items: center;           /* Centers internal content like logos/icons */
}

@media (max-width: 768px) {
    .footer-v2-inner {
        flex-direction: column;    /* Stacks items vertically on mobile */
        gap: 35px;
    }
}
.footer-v2 {
    padding-top: 10px !important; /* Reduces space above the logo/text */
    padding-bottom: 10px !important; /* Reduces space below the content */
}

.footer-v2-inner {
    gap: 40px !important; /* Shrinks the massive 200px gap between the columns */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.footer-brand img {
    margin-bottom: 5px !important; /* Pulls the 'Fusion Enterprises' text closer to the logo */
}

.footer-brand h3 { 
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}
/* ===================================================
   PROFESSIONAL UPGRADES — Fusion Enterprises
   Add these at the BOTTOM of your style.css
=================================================== */

/* ── Sticky Header ── */
header.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 238, 255, 0.18);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}
header.sticky-header.scrolled {
  background: rgba(0, 0, 0, 0.92);
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.7);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.9), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

/* ── Hero Section ── */
.hero-section {

  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px 160px;
  overflow: hidden;
}

/* Subtle animated grid overlay */
.hero-grid-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 238, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 238, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
  pointer-events: none;
}
@keyframes gridShift {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  animation: heroFadeIn 1s ease-out both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 238, 255, 0.1);
  border: 1px solid rgba(0, 238, 255, 0.35);
  color: #0ef;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 24px;
  text-transform: uppercase;
  animation: heroFadeIn 1s 0.2s ease-out both;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  animation: heroFadeIn 1s 0.35s ease-out both;
}

.hero-highlight {
  color: transparent;
  background: linear-gradient(90deg, #0ef, #0092c7);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 238, 255, 0.5));
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #c8c8c8;
  line-height: 1.7;
  margin-bottom: 20px;
  animation: heroFadeIn 1s 0.5s ease-out both;
}

/* Typing animation */
.hero-typed-wrapper {
  font-size: 1.15rem;
  color: #aaa;
  margin-bottom: 36px;
  animation: heroFadeIn 1s 0.65s ease-out both;
}
.typed-word {
  color: #0ef;
  font-weight: 700;
  font-size: 1.25rem;
}
.typed-cursor {
  color: #0ef;
  animation: cursorBlink 0.8s infinite;
  font-weight: 300;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Hero CTA buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: heroFadeIn 1s 0.8s ease-out both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0092c7, #005f82);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(0, 146, 199, 0.4);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 238, 255, 0.3);
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, #00b3ef, #0076a3);
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 146, 199, 0.6);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #0ef;
  color: #0ef;
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
  animation: heroFadeIn 1s 1s ease-out both;
}

.stat-card {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 238, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px 30px;
  text-align: center;
  min-width: 130px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 238, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 238, 255, 0.15);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0ef;
  line-height: 1;
  display: inline-block;
}
.stat-plus {
  font-size: 1.6rem;
  color: #0ef;
  font-weight: 700;
  vertical-align: super;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: heroFadeIn 1s 1.2s ease-out both;
}
.scroll-arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(0,238,255,0.5);
  border-bottom: 2px solid rgba(0,238,255,0.5);
  transform: rotate(45deg);
  animation: bounceDown 1.5s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

/* ── Section Header Enhancement ── */
.section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}
.section-title-glow {
  color: #fff;
  text-shadow: 0 0 25px rgba(0, 238, 255, 0.3);
  position: relative;
  display: inline-block;
}
.section-title-glow::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0092c7, #0ef);
  margin: 10px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 238, 255, 0.5);
}
.section-subtitle {
  color: #999;
  font-size: 1.1rem;
  margin-top: 10px;
}

/* Category card icon in h3 */
.product-category-card h3 i {
  margin-right: 8px;
  color: #0ef;
  vertical-align: middle;
  font-size: 1.4rem;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 92, 140, 0.8), rgba(0, 20, 40, 0.9));
  border-top: 1px solid rgba(0, 238, 255, 0.2);
  border-bottom: 1px solid rgba(0, 238, 255, 0.2);
  padding: 60px 20px;
}
.cta-banner-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cta-text h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}
.cta-text p {
  color: #aaa;
  font-size: 1.05rem;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions {
    justify-content: center;
  }
}

/* ── Product Section heading polish ── */
.product-section {
  padding: 60px 20px;
}
.product-section > h1,
.product-section h1 {
  font-size: 2.8rem;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(0, 238, 255, 0.25);
  position: relative;
  padding-bottom: 14px;
}
.product-section > h1::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #0092c7, #0ef);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* About section heading */
.about-section h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 25px rgba(0, 238, 255, 0.3);
}

/* Contact section heading */
.contact-section h1 {
  font-size: 3rem;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

/* ── Product card glow on hover ── */
.product-card:hover {
  box-shadow: 0 0 0 1px rgba(0, 238, 255, 0.25),
              0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Mobile hero adjustments */
@media (max-width: 600px) {
  .hero-section {
    padding: 60px 16px 140px;
    min-height: 100svh;
  }
  .hero-stats {
    gap: 12px;
  }
  .stat-card {
    padding: 14px 20px;
    min-width: 110px;
  }
  .stat-number { font-size: 1.9rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
}
/* === SKELETON LOADING UI === */
.skeleton {
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* Hide original content while loading */
.skeleton img, .skeleton h3, .skeleton p, .skeleton button {
    visibility: hidden;
}

/* === MICRO-ANIMATIONS === */
.product-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle Hover Micro-Interaction */
.product-card:hover img {
    transform: scale(1.08);
    transition: transform 0.4s ease;
}

.product-card button:active {
    transform: scale(0.95); /* Button "click" feel */
}
.product-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Final Mobile Footer Fix */
@media (max-width: 768px) {
  .footer-v2 {
    padding: 40px 0 !important;
  }

  .footer-v2-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 90% !important;
    margin: 0 auto !important;
    gap: 30px !important; /* Adds space between stacked sections */
  }

  .footer-brand, 
  .footer-contact, 
  .footer-social {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-brand img {
    margin: 0 auto 15px !important;
    max-width: 150px !important;
  }

  .footer-brand p, 
  .footer-contact p, 
  .footer-social p {
    max-width: 300px !important; /* Prevents text from stretching too wide */
    margin: 5px auto !important;
  }

  .footer-social .social-icons {
    justify-content: center !important;
    margin-top: 10px !important;
  }
  
  /* Fix for the very bottom copyright line */
  .footer-bottom {
    margin-right: 0 !important; /* Removes the 75px margin found in your CSS */
    text-align: center !important;
    width: 100% !important;
  }
}
/* ===================================================
   MOBILE FIXES: Header, Cut-offs, & Button Alignment
=================================================== */

@media (max-width: 768px) {
    /* 1. Remove sticky header in mobile view */
    header.sticky-header, 
    header.sticky-header.scrolled {
        position: relative !important;
        top: auto !important;
    }

    /* 2. Fix product items getting cut off & button displacement */
    .product-item {
        flex-direction: column !important;
        text-align: center;
        height: auto !important;
        min-height: auto !important;
        padding: 20px 15px !important;
        gap: 10px !important;
    }

    /* Center the product image */
    .product-item img {
        margin: 0 auto 10px !important;
    }

    /* Stack the text and button neatly */
    .product-description {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    /* Make the View Products button full-width and aligned */
    .contact-btn {
        width: 100% !important;
        margin-top: 5px !important;
        box-sizing: border-box;
    }

  /* 3. Restore internal scrolling for compact product cards */
    .dropdown-content {
        max-height: 400px !important; /* Adjust this number to make the scroll area taller/shorter on mobile */
        overflow-y: auto !important;
        padding-right: 5px; /* Adds a tiny buffer so the scrollbar doesn't overlap text */
    }
    
    .product-category-card {
        max-width: 100% !important;
        height: auto !important;
    }
}
/* Update your existing mobile media query */
@media (max-width: 768px) {
  
  /* 1. Move logo and h1 to the left by changing alignment */
  header .container {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Changed from center to flex-start */
    padding-left: 0px;      /* Adds a small gap from the left edge */
  }

  .logo-container {
    align-items: flex-start; /* Align logo and text to the left */
    text-align: left;
    margin-right: 0;
  }

  .logo-container img {
    margin: 0 0 10px 0;      /* Removes auto centering margin */
    width: 160px;            /* Slightly smaller to prevent overflow */
  }

  /* 2. Move the header up from the bottom (reduce bottom padding) */
  header {
    padding: 15px 0 5px 0;   /* Top: 15px, Bottom: 5px */
  }

  header h1 {
    font-size: 40px;       /* Ensure the font isn't pushing off-screen */
    margin-right: 20px;
    text-align: center;
  }
}