/* Full background color for body */
body {
  background-color: #F3F4F6; /* Soft off-white background */
  font-family: Arial, sans-serif;
}

/* Navbar */
.bg-navbar {
  background-color: #030303; 
  padding: 0.4rem 0; /* Reduced from 0.75rem */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
}

.navbar-container {
  max-width: 1400px;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-collapse {
  display: flex;
  align-items: center;
  flex-wrap: nowrap; /* Prevent wrapping to keep items inline */
  justify-content: space-between;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 0.5rem; /* Space between menu items */
  flex-grow: 0;
  align-items: center;
  margin: 0 auto; /* Center the nav items */
  
}

.navbar-nav .nav-item {
  display: inline-flex; /* Ensure nav items are inline */
}

.navbar-nav .nav-link {
  color: #D1D5DB;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.75rem; /* Reduced padding */
  transition: color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: #FFFFFF; /* White for active/hover states */
  transform: translateY(-1px);
  
}

.navbar-nav .dropdown-menu {
  background-color: #111827; /* Light gray background */
  border: 1px solid #D1D5DB; /* Soft gray border */
  border-radius: 0.375rem;
}

.navbar-nav .dropdown-item {
  color: #c4c6c9; /* Dark gray text */
  font-weight: 500;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background-color: #3B82F6; /* Bright blue accent */
  color: #FFFFFF;
}

.btn-connect {
  background-color: #ffb700; /* Bright blue accent */
  color: #000; /* White text for contrast */
  font-weight: 600;
  border-radius: 0.375rem;
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  white-space: nowrap; /* Prevent text wrapping */
}

.btn-connect:hover,
.btn-connect:focus {
  background-color: #2563EB; /* Darker blue for hover */
  color: #FFFFFF;
  transform: translateY(-1px);
}

.logo-image {
  max-height: 65px; /* Reduced from 80px */
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.logo-image:hover {
  transform: scale(1.05);
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

#google_translate_element {
  display: inline-flex;
  align-items: center;
  max-width: 150px; /* Tighter constraint to prevent overlap */
  margin-left: 0.5rem;
  overflow: hidden; /* Prevent content from spilling */
}

/* Override Google Translate widget styles */
#google_translate_element select,
#google_translate_element .goog-te-combo {
  background-color: #F9FAFB; /* Light gray background */
  color: #1F2937; /* Dark gray text */
  border: 1px solid #D1D5DB; /* Soft gray border */
  border-radius: 0.375rem;
  padding: 0.25rem;
  font-size: 0.85rem;
  max-width: 100%;
  height: 32px; /* Fixed height to match btn-connect */
  line-height: normal;
  appearance: none; /* Remove default select styling */
}

#google_translate_element .goog-te-gadget {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0 !important; /* Hide unwanted text */
}

#google_translate_element .goog-te-gadget > div {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
}

/* Hide Google Translate's "Powered by" text */
#google_translate_element .goog-te-gadget > div > span {
  display: none !important;
}

/* Ensure iframe (if used) doesn’t break layout */
#google_translate_element iframe {
  max-width: 150px !important;
  height: 32px !important;
  border: none !important;
}
/* Hero Section */
.hero {
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 1rem;
  color: #FFFFFF;
  position: relative;
}
.hero.home {
  padding: 0;
  overflow: hidden;
  background-color: transparent; /* Remove fallback to avoid flash */
}

.hero.home #heroCarousel {
  min-height: 70vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero.home .carousel-inner {
  min-height: 70vh;
  position: relative;
}

.hero.home .carousel-item {
  height: 70vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.8s ease-in-out;
  opacity: 0;
  z-index: 0;
  background-color: transparent; /* No fallback color */
}

.hero.home .carousel-item.active {
  opacity: 1;
  z-index: 1;
  position: relative;
}

.hero.home .hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
}

.hero.aboutus {
    min-height: 50vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../images/aboutus.jpg') no-repeat center center/cover; /* For aboutus.html */
}

/* facilities.css — Styles specific to facilities page hero slider */

.hero.facilities {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  padding: 0;
}

.hero.facilities .carousel,
.hero.facilities .carousel-inner,
.hero.facilities .carousel-item {
  width: 100%;
  height: 60vh;
}

.hero.facilities .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero.facilities .carousel-caption {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  text-align: center;
  z-index: 2;
}

.hero.facilities .carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero.facilities .carousel-caption p {
  font-size: 1.25rem;
}

/* Controls/Indicators */
.hero.facilities .carousel-control-prev-icon,
.hero.facilities .carousel-control-next-icon {
  filter: invert(100%);
}

.hero.facilities .carousel-indicators button {
  background-color: rgba(255,255,255,0.6);
}

.hero.facilities .carousel-indicators .active {
  background-color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero.facilities .carousel-inner,
  .hero.facilities .carousel-item {
    height: 40vh;
  }
  .hero.facilities .carousel-caption {
    bottom: 10%;
  }
  .hero.facilities .carousel-caption h1 {
    font-size: 1.75rem;
  }
  .hero.facilities .carousel-caption p {
    font-size: 1rem;
  }
}

/* products.css — Styles specific to Product page hero slider */

.hero.products {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  padding: 0;
}

.hero.products .carousel,
.hero.products .carousel-inner,
.hero.products .carousel-item {
  width: 100%;
  height: 60vh;
}

.hero.products .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero.products .carousel-caption {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  text-align: center;
  z-index: 2;
}

.hero.products .carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero.products .carousel-caption p {
  font-size: 1.25rem;
}

/* Controls/Indicators */
.hero.products .carousel-control-prev-icon,
.hero.products .carousel-control-next-icon {
  filter: invert(100%);
}

.hero.products .carousel-indicators button {
  background-color: rgba(255,255,255,0.6);
}

.hero.products .carousel-indicators .active {
  background-color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero.products .carousel-inner,
  .hero.products .carousel-item {
    height: 40vh;
  }
  .hero.products .carousel-caption {
    bottom: 10%;
  }
  .hero.products .carousel-caption h1 {
    font-size: 1.75rem;
  }
  .hero.products .carousel-caption p {
    font-size: 1rem;
  }
}

.hero.technical {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../images/supply.jpeg') no-repeat center center/cover; /* For technical.html */
}

.hero.packaging {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../images/packaging.jpeg') no-repeat center center/cover; /* For packaging.html */
}

.hero.contact {
  min-height: 30vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../images/contact1.jpg') no-repeat center center/cover; /* For contact.html */
}

.hero.enquiry {
  min-height: 30vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../images/contact1.jpg') no-repeat center center/cover; /* For enquiry.html */
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 400;
  opacity: 0.85;
  max-width: 100%; /* allow full width if needed */
  white-space: nowrap; /* prevent line breaks */
  overflow: hidden; /* hide overflow */
  text-overflow: ellipsis; /* add "..." if text overflows */
}

.btn-explore {
  background-color: #3B82F6; /* Bright blue accent */
  border: none;
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-explore:hover,
.btn-explore:focus {
  background-color: #2563EB; /* Darker blue for hover */
  transform: translateY(-1px);
}

.btn-quote {
  background-color: #FFFFFF;
  color: #1F2937; /* Dark gray text */
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-quote:hover,
.btn-quote:focus {
  background-color: #D1D5DB; /* Soft gray for hover */
  color: #1F2937;
  transform: translateY(-1px);
}
/* Credentials Section */
.credentials {
  max-width: 1000px;
  margin-top: -2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #F9FAFB; /* Light gray background */
  padding: 2rem 1rem;
  position: relative;
  z-index: 4;
}

.credentials p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #1F2937; /* Dark gray text */
}

/* Excellence Section */
.excellence {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #F9FAFB; /* Light gray background */
  padding: 2rem 1rem;
}

.excellence-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: #1F2937; /* Dark gray text */
}

.excellence-text {
  font-size: 1rem;
  color: #4B5563; /* Slightly lighter gray for secondary text */
  max-width: 500px;
}

.excellence-image {
  max-height: 300px;
  object-fit: cover;
  width: 100%;
}

/* Offerings and Industries Section */
.offerings-industries {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #F9FAFB; /* Light gray background */
  padding: 2rem 1rem;
}

.offerings-title,
.industries-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: #1F2937; /* Dark gray text */
}

.icon-box {
  padding: 1.25rem;
  background-color: #FFFFFF;
  border-radius: 0.375rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center horizontally */
  justify-content: flex-start; /* Align content to top */
  text-align: center; /* Ensure text is centered */
}

.icon-box:hover {
  transform: translateY(-2px);
}

.icon-box > *:first-child {
  margin-top: -0.25rem; /* Shift content up to align with icon-box-side */
}

.icon-image {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem; /* Restored for balanced spacing */
}

.icon-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1F2937; /* Dark gray text */
  margin-bottom: 0.25rem; /* Consistent spacing */
}

.read-more {
  font-size: 0.9rem;
  color: #3B82F6; /* Bright blue accent */
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: 0.25rem; /* Consistent spacing */
}

.read-more:hover,
.read-more:focus {
  color: #2563EB; /* Darker blue for hover */
  text-decoration: underline;
}

.read-more-placeholder {
  height: 1.1rem; /* Match read-more height */
  margin-top: 0.25rem; /* Consistent spacing */
}

.icon-box-side {
  padding: 1rem;
  background-color: #FFFFFF;
  border-radius: 0.375rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  display: flex;
  align-items: center; /* Center vertically */
}

.icon-box-side:hover {
  transform: translateY(-2px);
}

.icon-side-image {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.icon-side-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1F2937; /* Dark gray text */
}

/* Why Choose Us Section */
.why-choose-us {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #F9FAFB; /* Light gray background */
  padding: 2rem 1rem;
}

.why-choose-us-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: #1F2937; /* Dark gray text */
}
/* Industries Card Styling */
.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Background Image */
.industry-bg-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Text Overlay */
.industry-overlay-text {
  position: absolute;
  bottom: 10px;
  left: 15px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover Effects */
.industry-card:hover {
  transform: translateY(-5px);
}

.industry-card:hover .industry-bg-img {
  transform: scale(1.05);
  filter: brightness(0.5);
}

.industry-card:hover .industry-overlay-text {
  color: #ffd700; /* Gold color */
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .industry-bg-img {
    height: 120px;
  }
}
@media (max-width: 767.98px) {
  .hero.home .carousel-inner .carousel-item .container .d-flex.flex-column.flex-md-row {
    align-items: center !important;
    text-align: center;
  }

  .hero.home .carousel-inner .carousel-item .container .d-flex.flex-column.flex-md-row > a {
    margin: 0 auto;
  }
}


@media (max-width: 576px) {
  .industry-bg-img {
    height: 100px;
  }

  .industry-overlay-text {
    font-size: 1rem;
  }
}
/* Contact Section */
.contact-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem;
}

.contact-card {
  background-color: #FFFFFF;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1F2937;
  text-align: center;
  margin-bottom: 2rem;
}

.info-box {
  background-color: #F9FAFB;
  padding: 1.5rem;
  border-radius: 0.375rem;
  transition: transform 0.3s ease;
}

.info-box:hover {
  transform: translateX(5px);
}

.info-box h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.info-box p {
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.map-box {
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.email-boxes {
  background-color: #F9FAFB;
  padding: 1.5rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.email-table {
  flex: 1;
  border: 1px solid #E5E7EB;
  border-radius: 0.375rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: #FFFFFF;
  margin: 0;
  vertical-align: top;
}

.email-table td {
  padding: 1rem;
}

.email-box h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.email-box p {
  font-size: 0.95rem;
  color: #4B5563;
}

.email-box a {
  color: #3B82F6;
  transition: color 0.3s ease;
}

.email-box a:hover {
  color: #2563EB;
  text-decoration: underline;
}

/* Product Table */
.product-table {
  width: 100%;
  border-collapse: separate;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  background-color: #FFFFFF; /* White background */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #030303; /* Soft gray outer border */
  border-radius: 0.375rem; /* Added for softer look */
}

.product-table thead {
  background-color: #111827; /* Dark gray header, matching navbar */
  color: #FFFFFF;
  text-transform: uppercase;
  font-weight: 600;
}

.product-table th,
.product-table td {
  border: 1px solid #030303; /* Soft gray cell borders, replacing #030303 */
  padding: 0.75rem 1rem;
  text-align: center;
  vertical-align: middle;
}

.product-table .left-text {
  text-align: left;
}

.product-table tbody tr:hover {
  background-color: #F9FAFB; /* Light gray hover, matching site palette */
  transition: background-color 0.2s ease-in-out;
}

.product-table img {
  height: 16px;
  vertical-align: middle;
  margin-left: 4px;
}

/* Notes Section */
.notes {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #111827; /* Light gray, matching site palette */
  border-left: 5px solid #3B82F6; /* Bright blue accent, replacing #ffb700 */
  font-size: 0.65rem;
  font-weight: 300;
  color: #FFFF; /* Dark gray text */
}
/* Footer Section */
footer.bg-dark {
  background-color: #030303 !important; /* Use !important to ensure it overrides */
  color: #FFFFFF !important; /* Use !important to ensure text color changes */
}

footer .container {
  max-width: 1200px; /* Match section.container */
}

footer .row {
  row-gap: 1rem; /* Reduced for mobile stacking */
  display: flex;
  flex-wrap: wrap;
}

footer .col-12.col-md-3 {
  flex: 0 0 25%; /* Exactly 25% width */
  max-width: 25%; /* Enforce equal width */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left-align on desktop */
  padding-left: 0.375rem; /* Reduced gutter */
  padding-right: 0.375rem; /* Reduced gutter */
}

footer .footer-content {
  border: 1px solid #D1D5DB; /* Soft gray border */
  border-left: 3px solid #3B82F6; /* Blue accent */
  border-radius: 0.375rem; /* Rounded corners */
  background-color: #111827; /* Dark gray, matching navbar */
  padding: 1.25rem; /* Consistent padding */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  flex: 1; /* Equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to top */
  width: 100%; /* Full width within column */
}

footer h5 {
  color: #FFFFFF; /* White for contrast on dark background */
  font-size: 1.25rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

footer p,
footer ul li {
  color: #D1D5DB; /* Soft gray text */
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  max-width: 100%;
}

footer ul {
  padding-left: 1rem;
  margin-bottom: 0;
}

footer a.text-warning {
  color: #3B82F6 !important; /* Bright blue accent */
  text-align: center; 
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a.text-warning:hover {
  color: #2563EB !important; /* Darker blue for hover */
  text-decoration: underline;
}

footer img {
  width: 100%;
  max-height: 80px; /* Consistent height */
  object-fit: contain;
  margin-bottom: 0.75rem;
}

footer .img-fluid {
  max-height: 80px;
}

hr.border-secondary {
  border-color: #3B82F6; /* Blue accent */
  margin: 1rem 0; /* Reduced vertical gap */
}

footer p.text-center.small {
  font-size: 0.85rem;
  color: #D1D5DB; /* Soft gray for copyright */
}
/* Form Section */
.form-section {
  padding: 60px 20px;
  background-color: #F3F4F6; /* Match body background */
}

.form-wrapper {
  background-color: #F9FAFB; /* Light gray for wrapper */
  padding: 6px;
  border: 2px solid #1E3A8A; /* Primary deep blue border */
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.form-wrapper .card {
  background-color: #FFFFFF; /* White card background */
  border: 2px solid #1E3A8A; /* Primary deep blue border */
  border-radius: 8px;
  color: #1F2937; /* Dark gray text */
  padding: 2rem;
}

.form-section h2 {
  color: #1F2937; /* Dark gray text */
  font-weight: bold;
}

.form-label {
  color: #1F2937; /* Dark gray text */
}

.form-control {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #1E3A8A; /* Primary deep blue border */
  border-radius: 0;
  color: #1F2937; /* Dark gray text */
}

.form-control:focus {
  background-color: transparent;
  color: #1F2937;
  border-color: #3B82F6; /* Bright blue accent for focus */
  box-shadow: none;
}

.form-control::placeholder {
  color: #6B7280; /* Light gray placeholder */
}

textarea.form-control {
  border: 2px solid #1E3A8A; /* Primary deep blue border */
  border-radius: 4px;
}

.btn-primary {
  background-color: #ffb700; /* Bright blue accent */
  color: #000;
  border: 2px solid #ffb700;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #2563EB; /* Darker blue for hover */
  color: #FFFFFF;
  border-color: #2563EB;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
}

/* Responsive Adjustments */
@media (min-width: 576px) {
  .hero {
    padding: 5rem 2rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
  }

  .credentials,
  .excellence,
  .offerings-industries,
  .why-choose-us {
    padding: 2.5rem 1.5rem;
  }

  .form-section {
    padding: 40px 20px;
  }

  .form-wrapper .card {
    padding: 2rem;
  }
}

@media (min-width: 992px) {
  .hero {
    min-height: 70vh;
    padding: 6rem 2rem;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    flex-direction: column; /* Stack vertically on mobile */
    gap: 0.25rem;
  }

  .navbar-nav .nav-item {
    width: 100%; /* Full width for mobile */
  }

  .navbar-collapse {
    flex-direction: column; /* Stack all elements vertically on mobile */
    align-items: center;
  }

  .navbar-collapse > div {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .btn-connect {
    margin: 0.5rem auto;
    display: inline-block;
  }

  #google_translate_element {
    margin: 0.5rem auto;
    max-width: 100%; /* Allow full width on mobile */
  }

  #google_translate_element select,
  #google_translate_element .goog-te-combo {
    width: 100%;
    max-width: 200px; /* Limit width on mobile */
  }

  #google_translate_element iframe {
    max-width: 200px !important;
    width: 100% !important;
  }
}

@media (max-width: 575.98px) {
  .credentials,
  .excellence,
  .offerings-industries,
  .why-choose-us {
    max-width: 100%;
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1rem 0.5rem;
  }

  .navbar-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cert-logo {
    height: 40px;
  }

  .excellence-image {
    max-height: 200px;
  }

  .icon-box {
    padding: 0.5rem;
  }

  .icon-box > *:first-child {
    margin-top: -0.15rem; /* Shift content up for mobile */
  }

  .icon-image {
    height: 50px;
    margin-bottom: 0.15rem;
  }

  .icon-title {
    margin-bottom: 0.15rem;
  }

  .read-more {
    margin-top: 0.15rem;
  }

  .read-more-placeholder {
    height: 1.1rem;
    margin-top: 0.15rem;
  }

  .icon-box-side {
    padding: 0.5rem;
  }

  .icon-side-image {
    height: 20px;
  }

  .form-section {
    padding: 40px 10px;
  }

  .form-wrapper .card {
    padding: 1rem;
  }

  .col-md-4.text-center {
    min-height: auto;
    padding: 1rem 0;
  }

  .cert-thumb {
    max-height: 250px;
  }

  /* Reduce gap for What We Offer row */
  .offerings-industries .row.g-2 {
    row-gap: 0.75rem;
  }
}

@media (min-width: 1200px) {
  .navbar-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .credentials,
  .excellence,
  .offerings-industries,
  .why-choose-us {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .logo-image {
    max-height: 65px;
  }

  footer .col-12.col-md-3 {
    flex: 0 0 100%; /* Full width on mobile */
    max-width: 100%;
    text-align: center; /* Center content */
    align-items: center;
    padding-left: 0.75rem; /* Restore default padding on mobile */
    padding-right: 0.75rem;
  }

  footer .footer-content {
    padding: 1rem;
    max-width: 400px; /* Cap width for mobile */
    margin: 0 auto;
  }

  footer img {
    max-height: 60px; /* Smaller images on mobile */
  }
}
/* --- Hero Section: Mobile Responsive Fixes --- */
@media (max-width: 768px) {
  .hero.home .carousel-item .container {
    align-items: center !important;
    text-align: center !important;
    padding: 2rem 1.5rem !important;
  }

  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    max-width: 100% !important;
  }

  .hero .btn-explore,
  .hero .btn-quote {
    width: 100% !important;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .hero .d-flex.flex-column.flex-md-row.gap-2 {
    flex-direction: column !important;
    width: 100%;
    gap: 0.75rem;
  }
}
/* Target only the certificate image in the col-md-4 */
.col-md-4.text-center .cert-thumb {
  max-height: 300px; /* or any height you want */
  width: auto;       /* maintain aspect ratio */
  object-fit: contain; /* make sure image fits nicely */
}

/* ABOUT US Section Pixel‑Perfect Spacing */

.about-us-section {
  margin-top: 40px;    /* space above section if needed */
  margin-bottom: 60px; /* bottom spacing similar to design */
}

/* Overview Row: gap between text and image on desktop */
.about-us-section .about-overview {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;  /* space between overview and quality section */
}

/* Text column */
.about-us-section .overview-text {
  flex: 0 0 66.6667%; /* 2/3 width */
  max-width: 66.6667%;
  padding-right: 30px; /* gap between text and image ~30px */
}

/* Image column */
.about-us-section .overview-image {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding-left: 30px;   /* same gap from left */
}

/* Main certificate image adjustments */
.about-us-section .cert-thumb-main {
  display: block;
  margin: 0 auto;
  height: 300px;         /* fixed height to match design */
  width: auto;
  object-fit: contain;
}

/* Quality system heading spacing */
.about-us-section .quality-system {
  margin-bottom: 40px;   /* space below Quality System before gallery */
}

/* Gallery row spacing */
.about-us-section .gallery-row {
  gap: 20px;             /* space between gallery items */
  margin-bottom: 60px;   /* bottom space after gallery, if any */
}

/* Gallery images */
.about-us-section .cert-thumb-gal {
  display: block;
  margin: 0 auto;
  height: 200px;         /* gallery image height ~200px */
  width: auto;
  object-fit: contain;
}

/* Responsive adjustments for smaller viewports */
@media (max-width: 767.98px) {
  .about-us-section .about-overview {
    flex-direction: column;
  }

  .about-us-section .overview-text {
    padding-right: 0;
    margin-bottom: 24px;  /* vertical gap between text and image on mobile */
    width: 100%;
    max-width: 100%;
  }

  .about-us-section .overview-image {
    padding-left: 0;
    width: 100%;
    max-width: 100%;
  }

  .about-us-section .cert-thumb-main {
    height: auto;         /* allow more flexible height on mobile */
    max-width: 100%;
  }

  .about-us-section .gallery-row {
    gap: 16px;
  }

  .about-us-section .cert-thumb-gal {
    height: 160px;         /* smaller gallery height on mobile */
    width: auto;
  }
}








