:root {
  --primary-color: #d4333b;
  --secondary-color: #53aed7;
  --third-color: #1F3A5F;
  --bg-color: #ffffff;
  --text-color: #333333;
  --light-gray: #f4f4f4;
  --white: #ffffff; 
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --font-main: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
header {
  background-color: #53aed7;
  /* Footer blue */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0; /* Increased padding to make header taller */
}

.header-questions {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  flex: 0 0 auto; /* Don't expand, let center take space */
  justify-content: flex-end;
}

.header-questions i {
  font-size: 1.2rem; /* Further reduced icon size */
  color: var(--third-color);
  opacity: 0.9;
}

.questions-text {
  display: flex;
  flex-direction: column;
}

.questions-text span {
  font-size: 0.65rem; /* Further reduced text size */
  font-weight: 400;
  color: var(--white);
  opacity: 0.8;
}

.questions-text a {
  font-size: 0.9rem; /* Further reduced number size */
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto; /* Don't expand */
}

.logo img {
  max-height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.0rem; /* Reduced gap to prevent overflow */
  flex: 1;
  justify-content: center;
}

.nav-links li {
  white-space: nowrap; /* Prevent individual link wrapping */
}

/* ... existing code ... */

.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.nav-links li a {
  color: var(--white);
  /* White text for dark header */
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--third-color);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  box-shadow: var(--shadow);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-top: 3px solid var(--primary-color);
  z-index: 101;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  font-size: 0.9rem;
  color: var(--secondary-color);
  /* Keep dropdown links dark */
}

.dropdown-menu li a:hover {
  background-color: var(--light-gray);
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  /* White bars for dark header */
  transition: var(--transition);
}

.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* HERO SECTION - SPLIT LAYOUT */
.hero-split {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--white);
  padding: 2rem 0; /* Add some space around the hero */
}

/* Make slideshow fill the container */
.hero-slideshow {
  position: relative;
  width: fit-content;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  border-radius: 20px; /* Modern rounded corners */
  overflow: hidden; /* Ensure images follow the border radius */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Premium shadow */
}

.slide {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Light overlay as requested (10%) */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* Content over image */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Center horizontally */
  text-align: center;
  padding: 2rem;
  color: white;
  /* Text color white */
  margin: 0 auto;
  max-width: 800px;
}

/* Hero Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(128, 128, 128, 0.6);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.hero-arrow:hover {
  transform: translateY(-50%) scale(1.1);
}

.hero-slideshow .prev-btn {
  left: 20px;
}

.hero-slideshow .next-btn {
  right: 20px;
}

/* Hide arrows on very small screens if they overlap content too much */
@media (max-width: 600px) {
  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-slideshow .prev-btn {
    left: 10px;
  }

  .hero-slideshow .next-btn {
    right: 10px;
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 2rem;
  max-width: 600px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* SECTIONS */
.section {
  padding: 5rem 0;
}

.heading-group {
  text-align: center;
  margin-bottom: 3rem;
}

.heading-group h2 {
  font-size: 2.2rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.heading-group h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 3rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.page-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
}

.page-btn.active {
  background: var(--secondary-color);
  /* Navy */
  color: white;
  border-color: var(--secondary-color);
}

.page-btn:hover:not(.active) {
  background: #f0f0f0;
}

/* What We Do - Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid transparent;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--primary-color);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Our Products - CAROUSEL */
/* Our Products - CAROUSEL */
.products-container {
  position: relative;
  padding: 0 70px;
  /* Increased from 40px (inline) to create space between button (40px) and content */
}

.products-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  /* Enable horizontal scrolling */
  padding: 20px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */
  scrollbar-width: none;
  /* Firefox - Hide scrollbar for cleaner look with arrows */
}

.products-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari - Hide scrollbar */
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--white);
  color: var(--secondary-color);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.scroll-btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.left-btn {
  left: 0;
}

.right-btn {
  right: 0;
}

.products-track {
  display: flex;
  gap: 20px;
  width: max-content;
  /* content determines width */
}

/* Gallery Grid Styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  width: 280px;
  /* Fixed width for scrollable items */
  flex-shrink: 0;
  /* Prevent shrinking */
}

/* Responsive adjustments for carousel Items - REMOVED for manual scrolling behavior */
/* 
@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 900px) {
    .product-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .product-card {
        flex: 0 0 100%;
    }
}
*/

.product-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #ddd;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(83, 174, 215, 0.9);
  /* Navy with opacity */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
  color: white;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-info {
  padding: 1.5rem;
  text-align: center;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.product-info h3 {
  color: var(--secondary-color);
  margin: 0;
}

.overlay-btn {
  margin-top: 15px;
  padding: 8px 20px;
  border: 1px solid white;
  color: white;
  border-radius: 4px;
  transition: var(--transition);
}

.overlay-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* Certificates */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  align-items: center;
  justify-items: center;
  padding: 2rem 0;
}

.cert-item {
  width: 150px;
  height: 150px;
  background: white;
  border: 1px solid #eee;
  border-radius: 50%;
  /* Circle */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  cursor: pointer;
  overflow: hidden;
  /* Ensure image stays within circle */
  position: relative;
}

.cert-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Or cover, depending on logo shape */
  border-radius: 50%;
}

.cert-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

.cert-item i {
  font-size: 3rem;
  color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
  padding: 4rem 1rem;
}

.cta-section h2 {
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: #3b8cb3;
  /* Darker version of #53aed7 */
  color: #ccc;
  padding-top: 4rem;
  font-size: 0.95rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-section i {
  color: var(--third-color);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  background-color: #2e7ca0;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.powered-by {
  color: var(--third-color);
  font-weight: 600;
  margin-left: 4px;
  transition: var(--transition);
}

.powered-by:hover {
  color: var(--third-color);
  text-decoration: underline;
}

.btn:hover {
  background-color: #b92b32;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(212, 51, 59, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* PRODUCT DETAIL PAGES */

/* Product Banner */
.page-banner {
  height: 40vh;
  background:
    linear-gradient(rgba(83, 174, 215, 0.7), rgba(83, 174, 215, 0.7)),
    url("../assets/images/home/hero/hero_panel1.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-bottom: 3rem;
}

.page-banner h1 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product Content Layout */
.product-detail-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  padding-bottom: 4rem;
}

@media (max-width: 900px) {
  .product-detail-container {
    grid-template-columns: 1fr;
  }
}

.product-description h2 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 5px;
}

.product-description p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: #555;
  text-align: justify;
}

/* Feature Lists */
.features-list {
  list-style: none;
  margin-bottom: 2rem;
}

.features-list li {
  margin-bottom: 0.8rem;
  padding-left: 25px;
  position: relative;
  font-size: 1.05rem;
}

.features-list li::before {
  content: "\f00c";
  /* FontAwesome check */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 2px;
}

/* Tech Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.specs-table th,
.specs-table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #ddd;
}

.specs-table th {
  background-color: var(--secondary-color);
  color: var(--white);
  width: 40%;
}

.specs-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.specs-table tr:hover {
  background-color: #f1f1f1;
}

/* Sidebar / CTA */
.product-sidebar {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  align-self: start;
  position: sticky;
  top: 100px;
  /* Sticky sidebar */
  box-shadow: var(--shadow);
}

.product-sidebar h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
}

.sidebar-menu li {
  margin-bottom: 10px;
}

.sidebar-menu a {
  display: block;
  padding: 10px;
  background: var(--white);
  border: 1px solid #eee;
  color: var(--text-color);
  transition: var(--transition);
  border-radius: 4px;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

/* Applications Tags */
.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.app-tag {
  background: var(--light-gray);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 500;
}

.bg-light {
  background-color: var(--light-gray);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-split {
    height: auto;
  }

  .hero-content {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .logo {
    position: relative;
    z-index: 1001;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 999;
    transition: var(--transition);
    justify-content: flex-start; /* Reset center on mobile */
  }

  .header-questions {
    display: none;
  }

  .logo {
    justify-content: flex-start;
  }

  .logo img {
    max-height: 35px;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .nav-links li a {
    color: var(--secondary-color);
    display: block;
    padding: 1rem;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: #f9f9f9;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    border-top: none;
    padding-left: 20px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}

/* ABOUT PAGE STYLES */
.about-container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  text-align: center;
  /* Center align text */
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.about-intro p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}

/* Contact Page Styles */
.contact-form-container {
  background: #fdfdfd;
  /* Very slight off-white to differentiate from main bg */
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  /* Very Strong shadow */
  border: 1px solid #dcdcdc;
  /* Visible border */
}

.about-section {
  margin: 40px 0;
  text-align: center;
}

.section-title {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  color: #666;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.card-title {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center flex items */
  gap: 10px;
}

.card-title i {
  color: var(--primary-color);
}

.grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Feature List Styled */
.feature-list-styled {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.feature-list-styled li {
  background: var(--white);
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  color: var(--secondary-color);
  font-weight: 500;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list-styled li i {
  color: var(--primary-color);
}

/* Industries Grid - Flexbox for centered last row */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.industries-grid li {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  flex: 0 0 calc(33.333% - 14px);
  /* 3 columns */
  max-width: 400px;
}

.industries-grid li:hover {
  transform: translateY(-3px);
  border-bottom-color: var(--primary-color);
  box-shadow: var(--shadow);
}

.industries-grid li i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

/* Our Process Section Styles */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.process-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.process-image {
  width: 100%;
  aspect-ratio: 16 / 9; /* More rectangular aspect ratio */
  overflow: hidden;
}

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.process-card:hover .process-image img {
  transform: scale(1.1);
}

.process-heading {
  padding: 15px;
  font-size: 1.1rem;
  color: var(--secondary-color);
  font-weight: 600;
  text-align: center;
  background: var(--white);
}

/* Responsive Industries Grid */
@media (max-width: 900px) {
  .industries-grid li {
    flex: 0 0 calc(50% - 10px);
    /* 2 columns */
  }
}

@media (max-width: 600px) {
  .industries-grid li {
    flex: 0 0 100%;
    /* 1 column */
  }
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.check-list li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  color: #555;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 0.9rem;
}

/* Mobile Padding Fix */
@media (max-width: 768px) {
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  section {
    padding-left: 0;
    padding-right: 0;
  }

  .logo img {
    max-height: 30px;
  }

  /* Fix Product Grid on Mobile */
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .process-grid {
    gap: 15px;
  }

  /* Fix Product Detail Layout on Mobile */
  .product-detail-container > div {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .product-description p {
    text-align: left !important;
  }

  /* Make product cards full width in grid */
  .services-grid .product-card {
    width: 100% !important;
    margin: 0 auto;
  }

  /* Mobile Hero Beautification */
  .hero-split {
    padding: 0.5rem 0; /* Reduced from 2rem 0 */
  }

  .hero-slideshow {
    width: 95%;
    border-radius: 10px; /* Smaller radius for mobile */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Subtler shadow */
  }

  .slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .hero-arrow {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .hero-slideshow .prev-btn {
    left: 10px;
  }

  .hero-slideshow .next-btn {
    right: 10px;
  }

  /* Products Section Mobile Fixes */
  .products-container {
    padding: 0 15px !important;
  }

  .products-container .scroll-btn {
    display: none !important;
  }
}

/* Certificate Slider */
.certificate-section {
  padding: 80px 0;
  background: var(--white);
  overflow: hidden;
}

.certificates-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 50px auto;
  perspective: 1500px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificates-slider {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.certificate-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 520px;
  margin-top: -260px;
  margin-left: -190px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  backface-visibility: hidden;
}

.certificate-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background: #f9f9f9;
}

.certificate-slide .coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(83, 174, 215, 0.85); /* New light blue theme */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
  opacity: 1;
  text-align: center;
  padding: 20px;
}

.certificate-slide .coming-soon-overlay i {
  font-size: 3rem;
  margin-bottom: 15px;
}

.certificate-slide .coming-soon-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* 3D Positions */
.certificate-slide.active {
  z-index: 10;
  transform: translate3d(0, 0, 100px);
  opacity: 1;
}

.certificate-slide.prev {
  z-index: 5;
  transform: translate3d(-350px, 0, -100px) rotateY(25deg);
  opacity: 0.7;
}

.certificate-slide.next {
  z-index: 5;
  transform: translate3d(350px, 0, -100px) rotateY(-25deg);
  opacity: 0.7;
}

.certificate-slide.hidden {
  opacity: 0;
  transform: translate3d(0, 0, -500px);
  pointer-events: none;
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 100;
  pointer-events: none;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: var(--transition);
  pointer-events: auto;
  border: none;
  font-size: 1.2rem;
}

.nav-btn:hover {
  background: var(--secondary-color);
  color: white;
  transform: scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--secondary-color);
  width: 25px;
  border-radius: 5px;
}

/* Mobile Adjustments for Slider */
@media screen and (max-width: 992px) {
  .certificates-slider-container {
    height: 500px;
  }
  .certificate-slide {
    width: 300px;
    height: 420px;
    margin-top: -210px;
    margin-left: -150px;
  }
  .certificate-slide.prev {
    transform: translate3d(-200px, 0, -150px) rotateY(20deg);
  }
  .certificate-slide.next {
    transform: translate3d(200px, 0, -150px) rotateY(-20deg);
  }
}

@media screen and (max-width: 768px) {
  .certificates-slider-container {
    height: 450px;
    perspective: 1000px;
  }
  .certificate-slide.prev, 
  .certificate-slide.next {
    display: none; /* Only show active on small mobile or stack them */
  }
  .certificate-slide.active {
    transform: translate3d(0, 0, 0);
  }
}

/* Floating WhatsApp Button (Keep existing) */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #29A71A;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
  background-color: #29A71A;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float img {
    width: 30px;
    height: 30px;
  }
}
