﻿ :root {
  --bg: #ffffff;
  --surface: #ffffff;
  --primary: #1f2937;
  --primary-soft: #111827;
  --secondary: #374151;
  --accent: #059669;
  --brand-logo-color-1: #0b6b7a;
  --brand-logo-color-2: #059669;





  --text: #1f2937;
  --text-light: #6b7280;
  --muted: #9ca3af;
  --border: #e5e7eb;
  --glass: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(229, 231, 235, 0.5);
  --gradient: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preloader-content p {
  color: var(--text);
  font-weight: 600;
  margin: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* compensate for fixed/overlay header when jumping to anchors */
  scroll-padding-top: 110px;
}


body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

/* Avoid any accidental horizontal white space */
html {
  width: 100%;
}





/* Button Styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.button:hover::before {
  left: 100%;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.button.primary:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.5);
}

.button.secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.button.secondary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}




/* Header (other pages keep it non-sticky) */
.site-header {
  /* glassmorphism premium nav */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 18px;
  margin: 14px 0 0 0;

  color: #fff;
  padding: 0.75rem 0; /* reduce header thickness */
  z-index: 120;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  animation: slideDown 0.6s ease-out;
}




/* Hero Slider (required structure) */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  padding-bottom: 0;
}

/* Prevent hero from overlaying content below */
.hero-slider .slide-content {
  overflow: hidden;
}

/* Ensure the section just below hero is not visually pushed/hidden */
.about {
  position: relative;
  z-index: 1;
}



.slider-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.slide-content {
  height: 100%;
  position: relative;
  z-index: 0;
}

.full-page-slider {
  width: 100%;
  height: 100%;
  position: relative;
  margin: 0;
}

@keyframes slideDown {


  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.logo {
  width: 72px;
  height: 72px;

  object-fit: cover;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.brand:hover .logo {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(5, 150, 105, 0.3);
}

.brand-name {
  display: block;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-weight: 900;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);

  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-logo-color-1) 0%, var(--brand-logo-color-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  line-height: 1.05;
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  position: relative;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}


.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent));
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}


.main-nav a:hover::after {
  width: 100%;
}

/* Google Translate selector */
.translate-wrapper {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  min-width: 210px;
  height: 44px;
  margin-left: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  color: #ffffff;
}

.translate-wrapper:hover,
.translate-wrapper:focus-within {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.18);
}

.translate-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.2;
  color: currentColor;
  pointer-events: none;
}

.translate-icon {
  display: inline-flex;
  width: 1.4rem;
  height: 1.4rem;
  min-width: 1.4rem;
}

.translate-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.translate-arrow {
  font-size: 1rem;
  line-height: 1;
}

#google_translate_element {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: auto;
}

#google_translate_element > div,
.goog-te-gadget {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

#google_translate_element select {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: transparent !important;
  opacity: 0 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

#google_translate_element select option {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

.goog-te-menu-frame,
.goog-te-banner-frame {
  z-index: 999999999 !important;
}

@media (max-width: 980px) {
  .translate-wrapper {
    min-width: 180px;
    padding: 0.55rem 0.9rem;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .translate-wrapper {
    min-width: 160px;
    padding: 0.5rem 0.8rem;
    height: 40px;
  }
  .translate-label {
    font-size: 0.9rem;
  }
  .translate-arrow {
    font-size: 0.95rem;
  }
}




/* Hero Slider */
.full-page-slider {
  width: 100%;
  height: 100%;
  position: relative;
  margin: 0;
}











.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.slide.active {
  opacity: 1;
  z-index: 10;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  transform: none;
}

/* Keep slider clean (no extra dimming) */
.full-page-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  z-index: 5;
  pointer-events: none;
}


/* Ensure overlays/text stay above */
.slide::before {
  z-index: 2;
}

.slide-label {
  z-index: 6;
}

.slider-controls {
  z-index: 7;
  padding: 3mm;
  border: 3mm solid rgba(255,255,255,0.95);
  border-radius: 22px;
  box-sizing: border-box;
}







/* Full slider images visible (no cropping): letterbox background comes from hero */








.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.02) 100%);
  z-index: 1;
}

/* Allow slider to show under the sticky header (no extra overlay darkness) */
.full-page-slider::after {
  background: rgba(255, 255, 255, 0.0);
  z-index: 3;
}

/* Header behavior on home:
   Keep nav/logo readable over mixed light/dark slides.
*/
.site-header {
  transition: background 0.25s ease, border-bottom-color 0.25s ease, box-shadow 0.25s ease;
  color: #fff;
}

/* Hero overlay to ensure nav contrast on all slides */
.hero-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  /* premium dark gradient overlay */
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 10;
  pointer-events: none;
}


/* Ensure header sits above overlay */
.site-header,
.slider-header {
  z-index: 120;
}

/* Force nav text to stay visible over overlay */
/* Default (home/hero) readable over dark imagery */
.main-nav a,
.brand-name {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

/* Gallery + Certificates pages use a white navbar background, so keep dark text */
body.gallery-page .site-header,
body.certificate-page .site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

body.gallery-page .main-nav a,
body.gallery-page .brand-name,
body.certificate-page .main-nav a,
body.certificate-page .brand-name {
  color: #111111 !important;
  text-shadow: none !important;
}

body.gallery-page .main-nav a:hover,
body.certificate-page .main-nav a:hover {
  color: var(--accent) !important;
}

body.gallery-page .main-nav a.active,
body.certificate-page .main-nav a.active {
  color: var(--accent) !important;
}

/* Google Translate selector: match white navbar pages (gallery/certificates) */
body.gallery-page .translate-wrapper,
body.certificate-page .translate-wrapper {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  color: #111827;
}

body.gallery-page .translate-button,
body.certificate-page .translate-button {
  color: inherit;
}

body.gallery-page #google_translate_element select,
body.gallery-page #google_translate_element select option,
body.certificate-page #google_translate_element select,
body.certificate-page #google_translate_element select option {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  text-shadow: none !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(0,0,0,0.12) !important;
}

/* --- Google branding visibility fix ---
   Your current CSS hides .goog-te-gadget spans/anchors/imgs which can also break clickability.
   Keep header-cleaning (label/logo text), but DO NOT hide the interactive select control.
*/
#google_translate_element {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

/* Hide only known branding elements but keep the interactive widget clickable */
.goog-logo-link,
.goog-te-banner-frame,
.goog-te-gadget img {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Preserve the hidden Google Translate clickable overlay in the injected widget. */
#google_translate_element .goog-te-gadget-simple,
#google_translate_element .goog-te-gadget-simple *,
#google_translate_element a[aria-haspopup="true"],
#google_translate_element a[aria-haspopup="true"] * {
  all: unset !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: transparent !important;
  border: none !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
}

/* Make logo ring contrast better */
.logo {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.25), 0 10px 25px rgba(0,0,0,0.25);
}





.slide-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.875rem 1.5rem;  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  z-index: 2;
  animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-controls {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  z-index: 20;
  pointer-events: none;
}

.slider-controls button {
  pointer-events: auto;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: #000;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  font-weight: bold;
  backdrop-filter: blur(5px);
}

.slider-controls button:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Section Styles */
:root {
  /* Consistent vertical rhythm across major sections (compact + premium) */
  --section-gap: 68px;
}


.section {
  padding: var(--section-gap) 0;
  position: relative;
}


/* Ensure the contact section has balanced vertical space */
#contact.section,
#contact.section.contact-section {
  padding-top: 3.8rem;
  padding-bottom: 3.8rem;
}



.section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 0;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: fadeInDown 0.8s ease-out;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Products Section */
.products-section {
  background: var(--bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-card {
  text-align: center;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out backwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) rotateX(2deg);
  border-color: var(--accent);
}

.product-image-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(5, 150, 105, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-card:hover .product-image-wrapper::before {
  opacity: 1;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.02);
}


.product-card h3 {
  padding: 1.5rem 1rem;
  margin: 0;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
}

/* Gallery Section (Homepage preview) */
.gallery-preview-section {
  background: var(--bg);
}

.gallery-preview-grid-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.gallery-grid.gallery-grid-preview {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.gallery-grid.gallery-grid-preview .gallery-item {
  overflow: hidden;
  border-radius: 14px;
  background: #f9fafb;
  height: 260px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  animation: scaleIn 0.6s ease-out backwards;
}

@media (max-width: 1100px) {
  .gallery-grid.gallery-grid-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
  }
  .gallery-grid.gallery-grid-preview .gallery-item { height: 240px; }
}

@media (max-width: 720px) {
  .gallery-grid.gallery-grid-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 640px;
  }
  .gallery-grid.gallery-grid-preview .gallery-item { height: 210px; }
}

@media (max-width: 480px) {
  .gallery-grid.gallery-grid-preview {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .gallery-grid.gallery-grid-preview .gallery-item { height: 240px; }
}









.gallery-item img {
  width: 100%;

  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-cta {
  text-align: center;
}

/* About Section */
.about-section {
  background: #f9fafb;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 3rem;
  align-items: center;
  animation: fadeInUp 0.8s ease-out;
}

.about-copy {
  min-width: 0;
}

.about-founder {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-founder-image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.about-founder-caption {
  margin-top: 0.9rem;
  text-align: center;
}

.about-founder-caption-text {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1.35;
}


.about-copy h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 800;
}

.about-copy p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  padding: 0.75rem 0 0.75rem 1.5rem;
  color: var(--text);
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.about-list li:hover {
  padding-left: 2rem;
  color: var(--accent);
}

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Certificates Section */
.certificates-section {
  background: var(--bg);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  margin-bottom: 2rem;
  text-align: center;
}

.certificate-item {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding: 2rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  animation: scaleIn 0.6s ease-out backwards;
  cursor: pointer;
}

.certificate-item:focus-visible {
  outline: 3px solid rgba(5, 150, 105, 0.35);
  outline-offset: 2px;
}


.certificate-item:nth-child(1) { animation-delay: 0.1s; }
.certificate-item:nth-child(2) { animation-delay: 0.2s; }

.certificate-item:hover {
  transform: translateY(-8px) rotateY(5deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.certificate-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.certificate-item:hover img {
  transform: scale(1.1) rotate(-5deg);
}

.certificate-item p {
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

/* Home certificates: logos only */
.home-certificate-logo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  /* remove any extra white/boarder area coming from transparent PNG */
  background: transparent;
}


/* Make the 3 logos sit nicely (Home certificates) */
#certificates .certificates-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
}

/* allow nice effects for Home logos */
#certificates .certificates-grid img {
  margin: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#certificates .certificates-grid img:hover {
  transform: translateY(-4px) scale(1.05);
}


/* Ensure IEC looks bigger & separate like MSME/GST */
#certificates .certificates-grid img[src*="ieclogo"],
#certificates .certificates-grid img[src*="newIEC"],
#certificates .certificates-grid img[src*="iec"] {
  width: 280px;
  height: 280px;
  margin-left: 1rem;
}


/* GST should NOT follow IEC sizing */
#certificates .certificates-grid img.home-gst-logo {
  width: 240px;
  height: 240px;
  border: none;
  outline: none;
  box-shadow: none;
  /* give GST logo a subtle visible background so it stands out */
  background: rgba(5, 150, 105, 0.05);
  border-radius: 18px;
  padding: 14px;
}












/* Contact Section */
.contact-section {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

/* Premium Contact (new redesign) */
.contact-premium {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px; /* 60–80px requirement */

  /* ensure both columns start from same top line */
  align-items: start;

  /* control top/bottom so both sides align cleanly */
  padding: 0; 
}

/* Keep left/right inner blocks aligned to the same top */
.contact-premium-left,
.contact-premium-right {
  padding-top: 1.8rem;
}

/* Fine-tune to remove any perceived vertical offset */
.contact-premium-right {
  align-self: start;
}

/* Move left block slightly inward to avoid cramped/cropped look */
.contact-premium-left {
  padding-top: 1.8rem;
  padding-left: 16px;
}





.contact-subtitle {
  color: #2148A6;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contact-premium-title {
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  line-height: 1.08;
  margin: 0 0 1rem 0;
  font-weight: 900;
  color: var(--primary);

  /* keep heading readable without causing layout clipping */
  max-width: 100%;
  width: 100%;
}



.contact-premium-desc {
  margin: 0 0 1.8rem 0;
  color: var(--text-light);
  font-size: 1.05rem;
}



.contact-premium-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-premium-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.55rem 0;
  transition: transform 0.25s ease, color 0.25s ease;
}


.contact-premium-row:hover {
  transform: translateY(-2px);
}

.contact-premium-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px; /* rounded-square */
  background: #2148A6; /* blue */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(33, 72, 166, 0.18);
  flex: 0 0 auto;
}


.contact-premium-row-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-premium-row-label {
  font-weight: 800;
  color: #2148A6;
  font-size: 1rem;
}

.contact-premium-row-value {
  color: var(--text);
  font-weight: 600;
}

.contact-premium-row-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-premium-row-value a:hover {
  color: #2148A6;
  text-decoration: underline;
}

.contact-premium-right {
  display: flex;
  justify-content: flex-start; /* prevents shifting that can feel like cut/offset */
}


.contact-premium-form-card {
  width: 100%;
  background: #f5f7fb; /* light-grey, clean premium */
  border-radius: 26px; /* 20px+ */
  padding: 30px 28px; /* reduce height so it fits in viewport */
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(33, 72, 166, 0.12);

  /* IMPORTANT: do not create inner scrolling; let height fit content */
  max-height: none;
  overflow: visible;
}





.contact-form-title {
  margin: 0 0 0.35rem 0;
  font-size: 1.55rem;

  color: var(--primary);
  font-weight: 900;
}

.contact-form-desc {
  margin: 0 0 1.15rem 0;
  color: var(--text-light);
  font-size: 0.98rem;
}


.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem; /* reduce spacing so full form fits */
}



.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem; /* reduce spacing between label and input */
}


.contact-label {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
}

.contact-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 0 1rem;
  height: 50px; /* slightly shorter inputs */
  outline: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  color: var(--text);
}





.contact-input:focus {
  border-color: rgba(33, 72, 166, 0.65);
  box-shadow: 0 0 0 4px rgba(33, 72, 166, 0.16);
}

.contact-send-btn {
  height: 58px;
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(33, 72, 166, 0.28);
  background: #1b3f8a;
}

.contact-send-btn:focus-visible {
  outline: 3px solid rgba(33, 72, 166, 0.35);
  outline-offset: 3px;
}


/* Subtle fade-up animation on scroll: keep lightweight/no-op JS (CSS-only) */
.contact-premium,
.contact-premium-form-card,
.contact-premium-row {
  animation: fadeInUp 0.8s ease-out both;
}

/* (Removed duplicate select invisibility block to avoid conflicts; handled above) */



/* Responsive */
.contact-premium-form-card,
.contact-premium-form-card * {
  box-sizing: border-box;
}

@media (max-width: 980px) {
  .contact-premium {

    grid-template-columns: 1fr;
    column-gap: 0;
    gap: 2.2rem;
    padding: 1.8rem 0;
    max-width: none;
    margin: 0;
  }

  .contact-premium-form-card {
    max-height: none;
    overflow: visible;
  }





  .contact-premium-right {
    justify-content: flex-start;
  }

  .contact-premium-form-card {
    max-height: none;
    overflow: visible;
  }


  .contact-premium-form-card {
    padding: 40px 22px;
  }
}

@media (max-width: 480px) {
  .contact-premium-form-card {
    padding: 34px 18px;
    max-height: none;
    overflow: visible;
  }


  .contact-premium-title {
    font-size: 2rem;
  }

  .contact-input {
    height: 54px;
  }

  .contact-textarea {
    min-height: 120px;
  }

  /* Make sure card aligns with the global container padding */
  #contact .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}



.contact-copy h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 800;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-item {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  animation: scaleIn 0.6s ease-out backwards;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }

.contact-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--surface) 0%, #f9fafb 100%);
}

.contact-item strong {
  display: block;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  margin: 0;
  color: var(--text);
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: slideInFromBottom 0.6s ease-out;
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #20ba5f 0%, #0f7668 100%);
}

.whatsapp-icon {
  font-size: 1.2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--primary) 0%, #111827 100%);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.5), transparent);
}

.footer-inner p {
  margin: 0.5rem 0;
  animation: fadeInUp 0.8s ease-out backwards;
}

.footer-inner p:first-child {
  animation-delay: 0.1s;
}

.footer-inner p:last-child {
  animation-delay: 0.2s;
}

/* Animations */
.animate-on-scroll {
  /* Requirements: no scroll-detection JS/IntersectionObserver.
     So keep elements visible by default. */
  opacity: 1;
  transform: none;
  transition: none;
}


.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out;
}

/* ===== Products Modal Gallery (scoped) ===== */
.bb-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.bb-modal.bb-modal-show {
  display: block;
}

.bb-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.bb-modal.bb-modal-show .bb-modal-overlay {
  opacity: 1;
}

.bb-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 6vh auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(229, 231, 235, 0.9);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 240ms ease, opacity 240ms ease;
  overflow: hidden;
}

.bb-modal.bb-modal-show .bb-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.bb-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  cursor: pointer;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  z-index: 2;
  line-height: 1;
}

.bb-modal-close::before {
  content: '';
  display: none;
}


.bb-modal-close:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 150, 105, 0.45);
  box-shadow: 0 18px 38px rgba(5, 150, 105, 0.14);
}

.bb-modal-header {
  padding: 1.6rem 1.8rem 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.bb-modal-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: var(--primary);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.bb-modal-body {
  padding: 1.3rem 1.8rem 1.8rem;
}

.bb-products-grid {
  display: grid;
  /* Default: 4 cards on desktop, but allow fewer cards to stay centered */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  justify-content: center;
  width: 100%;
}

/* When a category has only 3 items, shrink gallery width so it doesn't look stretched */
.bb-modal.bb-modal-category.bb-has-3 .bb-products-grid {
  width: fit-content;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* Keep it centered even if the modal dialog is sized for 4 */
  justify-content: center;
  margin: 0 auto;
}

/* When a category has only 1 item, center it nicely */
.bb-modal.bb-modal-category.bb-has-1 .bb-products-grid {
  width: fit-content;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  justify-content: center;
  margin: 0 auto;
}

/* When a category has 2 items */
.bb-modal.bb-modal-category.bb-has-2 .bb-products-grid {
  width: fit-content;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  margin: 0 auto;
}

.bb-modal.bb-modal-category .bb-products-grid {
  justify-content: center;
}


.bb-product-card {
  appearance: none;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.bb-product-card:focus-visible {
  outline: 3px solid rgba(5, 150, 105, 0.35);
  outline-offset: 3px;
}

.bb-product-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.bb-product-card-name {
  padding: 0.95rem 0.9rem 1.05rem;
  font-weight: 750;
  color: var(--primary);
  font-size: 0.98rem;
  text-align: center;
}


.bb-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.12);
  border-color: rgba(5, 150, 105, 0.5);
}

.bb-product-card:hover .bb-product-card-media img {
  transform: scale(1.05);
}

/* Lightbox */
.bb-modal-dialog-lightbox {
  width: min(980px, calc(100% - 2rem));
  margin: 7vh auto;
}

.bb-lightbox-content {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.4rem 0.9rem;
}

.bb-lightbox-media {
  background: #f9fafb;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-lightbox-media img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 62vh;
  object-fit: contain;
}

.bb-nav {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(229, 231, 235, 0.95);
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  cursor: pointer;
  font-size: 1.9rem;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.bb-nav:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 150, 105, 0.45);
  box-shadow: 0 18px 38px rgba(5, 150, 105, 0.14);
}

.bb-lightbox-caption {
  padding: 0.75rem 1.8rem 1.6rem;
  text-align: center;
  background: #ffffff;
}

.bb-lightbox-caption h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 900;
  color: var(--primary);
  text-align: center;
}


@media (max-width: 1024px) {
  .bb-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .bb-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-lightbox-content {
    grid-template-columns: 44px 1fr 44px;
  }

  .bb-nav {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .bb-modal-dialog,
  .bb-modal-dialog-lightbox {
    margin: 4vh auto;
    width: calc(100% - 1.25rem);
  }

  .bb-products-grid {
    grid-template-columns: 1fr;
  }

  .bb-lightbox-content {
    grid-template-columns: 38px 1fr 38px;

    padding: 1rem 0.9rem 0.6rem;
    gap: 0.75rem;
  }

  .bb-nav {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .bb-modal-close {
    top: 0.65rem;
    right: 0.65rem;
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
  }

  .full-page-slider {
    height: 60vh;
  }

  .slider-controls button {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }

  .slide-label {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .main-nav {
    gap: 0.75rem;
    font-size: 0.9rem;
  }

}



@media (max-width: 980px) {
  /* Keep About section readable on tablets */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-founder {
    order: 2;
  }

  .about-copy {
    order: 1;
  }
}

@media (max-width: 480px) {
  .lang-translator {
    align-items: center;
  }

  #google_translate_element {
    transform: none;
  }

  .brand-name {
    font-size: 1.2rem;
  }


  .hero-section {
    min-height: 50vh;
  }


  .full-page-slider {
    height: 50vh;
  }

  .section {
    padding: 2rem 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }
}

