/* Typography scale */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: .5px; }
h1 { font-size: clamp(1.9rem, 3.2vw + 1rem, 3rem); }
h2 { font-size: clamp(1.4rem, 2.2vw + .8rem, 2.2rem); margin-top: 2.4rem; }
h3 { font-size: clamp(1.2rem, 1.6vw + .6rem, 1.6rem); }
p, li { font-size: clamp(.93rem, .35vw + .8rem, 1.05rem); }
ul { padding-left: 1.1rem; }
li { margin-bottom: .4rem; }

/* Better focus outline */
:focus-visible { outline: 3px solid var(--accent3); outline-offset: 2px; }
header.scrolled { background: rgba(0,73,126,0.92); box-shadow: 0 2px 18px rgba(0,73,126,0.25); }
.hero-text h1 { margin-top: 0; }
.hero-text p { max-width: 560px; }
/* Removed previous opacity:0 approach causing hidden videos on some loads */
video.hero-video { opacity: 1; transition: opacity 0.6s ease; }
video.hero-video.fade-in { opacity: 0; }
video.hero-video.fade-in.ready { opacity: 1; }
/* Subtle refine card look */
.page-content p.first-paragraph, .page-content p, .category-text, .department-card, .product-card { box-shadow: 0 4px 18px -6px rgba(0,73,126,0.22); }
.page-content p:first-of-type { margin-top: .75rem; }
.page-content { scroll-margin-top: 90px; }
@media (max-width: 1100px){ .products-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 860px){ .products-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .products-grid { grid-template-columns: 1fr; } }
.product-card .product-top-text { font-size: .75rem; letter-spacing: .5px; font-weight: 600; text-transform: uppercase; color: var(--accent2); margin-bottom: .4rem; }
@media (hover:none){ .product-card:hover { transform:none; box-shadow:0 4px 20px rgba(0,0,0,0.1);} }
.departments-section { scroll-margin-top: 90px; }
.image-row .image-card { aspect-ratio: 16 / 10; }
.image-row .image-card img { object-fit: cover; height: 100%; }
/* Contact form styling enhancement */
form input[type=text], form input[type=email], form textarea {
  border: 2px solid rgba(0,180,216,0.25);
  border-radius: 10px;
  background: #ffffffcc;
  font-family: inherit;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
form input[type=text]:focus, form input[type=email]:focus, form textarea:focus {
  border-color: var(--accent2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,180,216,0.15);
:root {
  --primary: #00497e;
  --primary-glass: rgba(0,73,126,0.86);
  --accent: #0c7fb2;
  --accent2: #146d73;
  --accent3: #11a7c3;
  --text: #1f2a33;
  --bg: #f8fbfd;
  --white: #ffffff;
  --shadow: 0 4px 18px -6px rgba(0,0,0,0.15);
  --glass-blur: blur(10px);
}
}

/* ISO certification box unify (remove inline styles if present) */
.iso-certification-box { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:32px 30px 26px; border:2px solid var(--accent2); border-radius:18px; background:linear-gradient(145deg,#ffffff,#eef8ff); max-width:460px; margin:46px auto; box-shadow:0 6px 30px -10px rgba(0,73,126,0.35); text-align:center; }
.iso-certification-box i { font-size:54px; color:var(--accent2); margin-bottom:15px; }
.iso-certification-box h3 { margin:0 0 14px; font-size:1.9rem; color:var(--primary); }

/* Utility spacing */
.mt-0 { margin-top:0; }
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 80px;
  background: #ffffff;
  color: var(--text);
  min-height: 100vh;
  transition: background 0.3s;
  -webkit-font-smoothing: antialiased;
}
.mb-0 { margin-bottom:0; }
.stack-sm > * + * { margin-top:.6rem; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Safety override in case older cached CSS still applies opacity */
@supports (backdrop-filter: blur(2px)) {
  video.hero-video { opacity: 1 !important; }
h1.gradient, h2.gradient, .page-content h2 { color: var(--primary); background:none; -webkit-background-clip:initial; background-clip:initial; }
}
/* --- Modernized Styling with Glassmorphism, Gradients, and Animations --- */
:root {
.page-content h2::after { content:""; position:absolute; left:0; bottom:0; height:2px; width:42%; background: var(--accent2); border-radius:2px; }
  --primary: #00497e;
  --primary-glass: rgba(0,73,126,0.75);
  --accent: #00b4d8;
  --accent2: #00777d;
  --accent3: #00eaff;
  --text: #222;
  --bg: #f6fbff;
  --white: #fff;
  --shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  --glass-blur: blur(12px);
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--bg) 0%, #e3f0fa 100%);
  color: var(--text);
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--primary-glass);
  color: var(--white);
  transition: top 0.3s, background 0.4s;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  box-sizing: border-box;
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
}
  min-height: 100vh;
  transition: background 0.5s;
}

/* Header styling */
header {
  position: fixed;
  width: 100%;
  top: 0;
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #0d3d5c;
}
  left: 0;
  background: var(--primary-glass);
  color: var(--white);
.hero-text {
  background: rgba(0, 60, 92, 0.82);
}
  transition: top 0.3s, background 0.4s;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  box-sizing: border-box;
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
}
/* Hamburger nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
.btn { display:inline-block; font-size:1rem; font-weight:600; letter-spacing:.4px; padding:.75rem 1.6rem; background: var(--primary); color:#fff; text-decoration:none; border-radius:8px; box-shadow:0 2px 10px -4px rgba(0,0,0,.25); transition: background .25s, transform .18s, box-shadow .3s; }
  justify-content: center;
  align-items: center;
  width: 40px;
.page-content p {
  background: #ffffff;
}
  height: 40px;
  background: transparent;
  border: none;
.page-content p.first-paragraph, .page-content p:first-of-type {
  background: #ffffff;
}
  cursor: pointer;
.page-content ul li { position:relative; padding:.5rem .75rem .5rem 1.55rem; background:#fff; border:1px solid rgba(0,0,0,0.06); border-radius:10px; box-shadow:0 1px 4px rgba(0,0,0,0.06); }
  z-index: 1100;
.category.integrated { position:relative; padding: 34px 26px 40px; border-radius:22px; background:#ffffff; box-shadow:0 6px 24px -10px rgba(0,0,0,.18); }
  margin-right: 10px;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: var(--white);
  border-radius: 2px;
  transition: 0.4s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
.feature-intro { background:#ffffff; border:1px solid rgba(0,0,0,0.07); border-left:4px solid var(--accent2); padding:16px 20px 16px 18px; border-radius:12px; font-size:clamp(.97rem,.45vw + .82rem,1.05rem); line-height:1.55; box-shadow:0 2px 10px -4px rgba(0,0,0,.15); position:relative; margin-top:12px; }
  transform: translateY(8px) rotate(45deg);
.feature-intro::first-letter { float:left; font-size:2.4rem; line-height:.82; margin-right:.32rem; font-weight:700; color: var(--accent2); }
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

header .logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1rem; /* smaller font */
  color: white;
}

header .logo img {
  height: 35px; /* smaller logo */
  margin-right: 8px;
}

header .tagline {
  font-family: 'Segoe Script', cursive;
  font-size: 0.85rem;
  margin-left: 6px;
  opacity: 0.9;
}

header nav {
  display: flex;
  flex-grow: 1;
  justify-content: flex-end;
  transition: right 0.4s;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  align-items: center;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
nav ul li a.active,
nav ul li a:hover,
nav ul li a:focus {
  background: linear-gradient(90deg, var(--accent2) 0%, var(--accent3) 100%);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,180,216,0.18);
  outline: none;
}

/* Footer styling */
footer {
  background: linear-gradient(90deg, var(--primary) 60%, var(--accent2) 100%);
  color: var(--white);
  padding: 28px 10px 20px 10px;
  text-align: center;
  box-shadow: 0 -2px 16px rgba(0,73,126,0.08);
}

footer nav {
  display: inline-block;
  margin: 0 auto;
}

footer nav a {
  color: white;
  text-decoration: none;
  margin: 0 6px;
  transition: text-decoration 0.3s ease;
}

footer nav a:hover {
  text-decoration: underline;
}

footer .social-icons a {
  color: white;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-icons a:hover {
  color: rgb(0, 73, 126);
  transform: scale(1.2);
}

/* Buttons - unified style */
/* Animated Button */
.btn {
  display: inline-block;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(90deg, var(--accent2) 0%, var(--accent3) 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,180,216,0.12);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.btn:hover, .btn:focus {
  background: linear-gradient(90deg, var(--accent3) 0%, var(--accent2) 100%);
  color: var(--white);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(0,180,216,0.18);
  outline: none;
}

/* Content wrapper */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left; /* keep text left-aligned */
}

.page-content p,
.first-paragraph {
  background-color: white;
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: 0 0 12px 4px rgba(0, 95, 163, 0.6);
  color: #222;
  margin-bottom: 1rem;
}

/* Hero section with glass and gradient overlay */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent2) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent2) 100%);
  opacity: 0.45;
  z-index: 1;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.85) saturate(1.1) blur(1px);
}
.hero-text {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: left;
  padding: 2.2rem 3.2rem;
  background: rgba(0, 52, 86, 0.82);
  border-radius: 24px;
  box-shadow: 0 0 40px 8px rgba(0, 95, 163, 0.18);
  color: var(--white);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0,180,216,0.13);
  animation: fadeInUp 1.2s cubic-bezier(.23,1.01,.32,1) both;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: none; }
}
/* Mobile nav overlay */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  header nav {
    position: fixed;
    right: -100vw;
    top: 0;
    height: 100vh;
    width: 70vw;
    max-width: 340px;
    background: var(--primary-glass);
    box-shadow: -2px 0 24px rgba(0,73,126,0.13);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 30px 30px 30px;
    transition: right 0.4s cubic-bezier(.23,1.01,.32,1);
    z-index: 1200;
  }
  header nav.active {
    right: 0;
  }
  nav ul {
    flex-direction: column;
    gap: 18px;
    width: 100%;
    align-items: flex-start;
  }
  nav ul li a {
    font-size: 1.1rem;
    padding: 10px 0;
    width: 100%;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* Market Section */
.market-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.market-text-intro,
.market-text {
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.market-images {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.market-images img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  object-fit: cover;
  height: auto;
  display: block;
}

/* Banner side-by-side */
.banner-text-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;          
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.side-image {
  width: 40%;          
  max-width: 300px;    
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 95, 163, 0.5);
  object-fit: cover;
}

.side-text {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Three images section */
.three-images-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: left; /* left aligned */
}

.images-container {
  display: flex;
  justify-content: space-between; 
  gap: 20px;
  flex-wrap: wrap;
}

.image-card {
  flex: 1 1 30%; 
  max-width: 30%;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 95, 163, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card img {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  margin-bottom: 10px;
  object-fit: contain;
  background-color: #fff;
}

.image-card p {
  font-size: 0.95rem;
  color: #222;
  line-height: 1.4;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

/* Brands preview */
.brands-preview {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.brands-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 25px;
}

.brands-logos img {
  max-height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.3));
}

/* Responsive tweaks */
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 4px 8px;
  }
  .hero {
    height: 400px;
  }
  .hero-text {
    padding: 1.2rem 1.2rem;
    font-size: 0.95rem;
  }
  .banner-text-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .side-image,
  .side-text {
    width: 100%;
  }
  .page-content {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 260px;
  }
  .btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    border-radius: 8px;
  }
  .hero-text h1 {
    font-size: 1.2rem;
  }
  .hero-text p {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  /* Header adjustments */
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 15px;
  }

  /* Logo and site name side by side */
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem; /* smaller font */
  }

  .logo img {
    height: 35px; /* smaller logo */
  }

  /* Site name and tagline stacked under logo */
  .logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .logo-text-container .site-name {
    font-weight: 700;
    font-size: 1rem;
  }

  .logo-text-container .tagline {
    font-size: 0.75rem;
    margin: 0;
  }

  /* Navigation small and single line */
  nav {
    width: 100%;
    margin-top: 5px;
  }

  nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
  }

  nav ul li a {
    font-size: 0.8rem;
    padding: 5px 8px;
    white-space: nowrap; /* prevents line break */
  }
}

/* Desktop header: keep original sizes */
header .logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem; /* desktop size */
}

header .logo img {
  height: 50px; /* desktop size */
}

header nav ul {
  display: flex;
  gap: 20px;
  font-size: 1rem; /* desktop nav size */
}

/* --- Mobile adjustments --- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 4px 8px; /* smallest padding */
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem; /* very small font */
  }

  .logo img {
    height: 28px; /* very small logo */
  }

  .logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
  }

  .logo-text-container .site-name {
    font-weight: 700;
    font-size: 0.8rem;
  }

  .logo-text-container .tagline {
    font-size: 0.6rem;
    margin: 0;
  }

  nav {
    width: 100%;
    margin-top: 2px;
    overflow-x: auto; /* allows horizontal scroll if needed */
  }

  nav ul {
    flex-wrap: nowrap;
    display: flex;
    gap: 2px; /* minimal spacing */
    padding: 0;
    margin: 0;
    white-space: nowrap;
  }

  nav ul li a {
    font-size: 0.6rem; /* very small */
    padding: 1px 3px;  /* minimal padding */
    white-space: nowrap;
    display: inline-block;
  }
}

.market-images-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 900px;
  margin: 20px auto 50px auto;
  justify-content: flex-start; /* same as About page */
}

.market-images-container img {
  flex: 1 1 48%; /* two images per row */
  max-width: 48%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 95, 163, 0.6);
  object-fit: cover;
  height: auto;
}

@media (max-width: 768px) {
  .market-images-container img {
    flex: 1 1 100%; /* stack images on smaller screens */
    max-width: 100%;
  }
}

.market-section .first-paragraph {
  background-color: white;
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: 0 0 12px 4px rgba(0, 95, 163, 0.6);
  margin-bottom: 20px;
  color: #222;
}

/* Center hero text, section titles, and brand logos on index page */
.index .hero-text,
.index .page-content,
.index .brands-preview {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.index .brands-logos {
  justify-content: center; /* center the logos horizontally */
}

/* --- Products Page Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  grid-auto-rows: auto;                  /* auto height for each row */
  gap: 20px;
  max-width: 1200px;
  margin: 50px auto 80px auto;
  padding: 0 20px;
}

.product-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card img {
  width: 100%;
  height: 250px;          /* bigger image */
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 12px;
}

.product-card h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #003366;
}

.product-card p {
  font-size: 1rem;
  color: #222;
  line-height: 1.4;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

/* --- Hero Products Section --- */
.hero-products {
  position: relative;
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;     /* centers vertically */
  height: 500px;           /* adjust hero height */
  overflow: hidden;
}

.hero-products .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-products .hero-text {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;      /* center hero text */
  background: rgba(0, 52, 86, 0.8);
  padding: 2rem 3rem;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 95, 163, 0.8);
}

.hero-products .hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hero-products .hero-text p {
  font-size: 1.1rem;
}

/* --- Extra-Minimized Mobile View for Products Page --- */
@media (max-width: 480px) {
  .products-grid {
    display: grid;
    grid-template-columns: 1fr; /* single column */
    gap: 6px;                  /* tighter spacing */
    padding: 4px;              /* minimal padding */
    margin: 15px auto 30px auto;
  }

  .product-card {
    padding: 6px;             /* very small card padding */
    border-radius: 6px;       /* smaller radius */
    text-align: left;         /* match other pages */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  .product-card img {
    width: 100%;
    height: auto;             /* maintain aspect ratio */
    max-height: 120px;        /* smaller images for mobile */
    margin-bottom: 6px;
  }

  .product-card h2 {
    font-size: 1rem;          /* smaller title */
    margin-bottom: 4px;
  }

  .product-card p {
    font-size: 0.75rem;       /* compact description */
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .product-card .btn {
    font-size: 0.7rem;        /* smaller button */
    padding: 4px 8px;
    margin-top: 6px;
  }

  .product-card:hover {
    transform: none;          /* remove hover zoom for mobile */
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  .product-top-text {
    font-size: 0.7rem;
    margin-bottom: 4px;
    font-weight: 600;
  }
}

/* Departments & Roles Section */
.departments-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.departments-section h2 {
  color: #000000;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.departments-section p {
  color: #333;
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.departments-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.department-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

.department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.department-card h3 {
  color: #020808;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.department-card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.department-card ul {
  padding-left: 20px;
  list-style-type: disc;
  color: #333;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .departments-section h2 {
    font-size: 1.8rem;
  }

  .department-card {
    padding: 20px 15px;
  }
}

@media (max-width: 480px) {
  .departments-section h2 {
    font-size: 1.6rem;
  }
  .department-card h3 {
    font-size: 1.1rem;
  }
  .department-card p,
  .department-card ul {
    font-size: 0.85rem;
  }
}

/* Refined subtle elevation (removed heavy glow & pulse) */
.white-box, .page-content p, .three-images-section .image-card p, .departments-section .department-card p { transition: box-shadow .35s ease, transform .35s ease; }
.page-content p:hover, .department-card:hover, .image-card:hover, .product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px -8px rgba(0,73,126,.28); }
.department-card { background:#fff; border-radius:12px; padding:25px 20px; box-shadow:0 4px 12px rgba(0,0,0,0.08); transition:transform .35s, box-shadow .35s; }

/* Decorated headings */
.page-content h2 { position:relative; display:inline-block; padding-bottom:.4rem; }
.page-content h2::after { content:""; position:absolute; left:0; bottom:0; height:3px; width:54%; background:linear-gradient(90deg,var(--accent2),var(--accent3)); border-radius:4px; }
h1.gradient, h2.gradient, .page-content h2 { background:linear-gradient(90deg, var(--primary) 0%, var(--accent2) 55%, var(--accent3) 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* Text polish */
.page-content p, .page-content li { line-height:1.58; letter-spacing:.15px; }
.page-content p.first-paragraph { font-size:1.03rem; }
.page-content ul li strong { color:var(--primary); font-weight:600; }

/* Tone hero shadow */
.hero-text { box-shadow:0 8px 38px -18px rgba(0,73,126,.55); }

/* ==========================================================
   Enhanced Paragraph & List Styling
   ========================================================== */
/* Base readable width */
.page-content { max-width: 880px; }

/* Paragraph cards with subtle gradient & accent bar */
.page-content p {
  position: relative;
  background: linear-gradient(135deg,#ffffff 0%,#f4fbff 100%);
  border: 1px solid rgba(0,73,126,0.08);
  border-left: 6px solid var(--accent2);
  padding: 18px 22px 18px 20px;
  border-radius: 14px;
  box-shadow: 0 4px 18px -6px rgba(0,73,126,0.18);
  transition: border-color .35s, box-shadow .35s, background .4s;
}
.page-content p:hover { box-shadow: 0 8px 28px -10px rgba(0,73,126,0.30); border-left-color: var(--accent3); }

/* Lead paragraph (first / intro) with drop cap */
.page-content p.first-paragraph, .page-content p:first-of-type {
  background: linear-gradient(120deg,#ffffff 0%, #eefaff 45%, #e3f6ff 100%);
  font-size: clamp(1.02rem, .55vw + .9rem, 1.15rem);
  font-weight: 500;
}
.page-content p.first-paragraph::first-letter, .page-content p:first-of-type::first-letter {
  float: left;
  font-size: 3.05rem;
  line-height: .82;
  padding: .20rem .55rem .35rem .08rem;
  margin-right: .3rem;
  font-weight: 700;
  background: linear-gradient(150deg,var(--accent2), var(--accent3));
  -webkit-background-clip: text; background-clip:text; color:transparent;
}

/* Links inside paragraphs */
.page-content p a { color: var(--accent2); font-weight:600; position:relative; text-decoration:none; }
.page-content p a::after { content:""; position:absolute; left:0; bottom:-2px; width:100%; height:2px; background:linear-gradient(90deg,var(--accent2),var(--accent3)); transform:scaleX(.25); transform-origin:left; transition:.35s; border-radius:2px; }
.page-content p a:hover::after { transform:scaleX(1); }

/* Custom lists */
.page-content ul { list-style:none; margin: 1.4rem 0 1.6rem; padding:0; counter-reset: cool; }
.page-content ul li { position:relative; padding: .55rem .9rem .55rem 2.4rem; background:rgba(255,255,255,0.65); border:1px solid rgba(0,73,126,0.07); border-radius:14px; box-shadow:0 2px 10px -4px rgba(0,73,126,.18); backdrop-filter: blur(3px); }
.page-content ul li + li { margin-top:.55rem; }
.page-content ul li::before { counter-increment: cool; content: counter(cool); position:absolute; left:.75rem; top:50%; transform:translateY(-50%); width:1.55rem; height:1.55rem; display:flex; align-items:center; justify-content:center; font-size:.72rem; font-weight:700; letter-spacing:.5px; color:#fff; background:linear-gradient(135deg,var(--accent2), var(--accent3)); border-radius:50%; box-shadow:0 2px 6px rgba(0,73,126,.35); }

/* Alternate color wash for even items */
.page-content ul li:nth-child(even) { background:linear-gradient(90deg,#ffffff 0%, #f2faff 100%); }
.page-content ul li:hover { box-shadow:0 6px 20px -6px rgba(0,73,126,.28); border-color:rgba(0,73,126,.18); }

/* Nested lists simplified */
.page-content ul li ul { margin-top:.6rem; margin-bottom:0; }
.page-content ul li ul li { background:#fff; box-shadow:none; border:1px dashed rgba(0,73,126,0.18); }
.page-content ul li ul li::before { background:var(--accent2); content:""; width:.55rem; height:.55rem; box-shadow:none; }

/* Optional checklist style (apply class="check-list" to UL) */
.page-content ul.check-list li { counter-reset:none; padding-left:2.2rem; }
.page-content ul.check-list li::before { content:"\2713"; font-size:.9rem; font-weight:700; width:1.4rem; height:1.4rem; background:linear-gradient(135deg,#16a085,#2ecc71); }

/* Smooth entrance for cards */
.page-content p, .page-content ul li { animation: fadeSlide .6s ease both; }
@keyframes fadeSlide { 0% { opacity:0; transform:translateY(14px);} 100% { opacity:1; transform:none; } }

/* --- Category Section Styling --- */
.category {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  text-align: left;
}

/* Integrated category variant */
.category.integrated { position:relative; padding: 40px 28px 46px; border-radius:28px; background:linear-gradient(145deg,#ffffff,#eef8ff); box-shadow:0 14px 42px -18px rgba(0,73,126,.28), 0 4px 14px -4px rgba(0,73,126,.18); overflow:hidden; }
.category.integrated::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 18% 22%, rgba(0,180,216,0.12), transparent 60%), radial-gradient(circle at 88% 78%, rgba(0,119,125,0.14), transparent 65%); opacity:.9; pointer-events:none; }
.category.integrated h3 { margin-top:0; font-size:clamp(1.5rem,1.6vw + 1rem,2.3rem); }

.feature-intro { 
  background:linear-gradient(120deg,#ffffff 0%, #f3fbff 50%, #e8f7ff 100%);
  border:1px solid rgba(0,73,126,0.08);
  border-left:6px solid var(--accent2);
  padding:18px 22px 18px 20px;
  border-radius:16px;
  font-size:clamp(.98rem,.5vw + .85rem,1.07rem);
  line-height:1.6;
  box-shadow:0 4px 20px -8px rgba(0,73,126,.25);
  position:relative;
  margin-top:14px;
}
.feature-intro::first-letter { float:left; font-size:2.6rem; line-height:.82; margin-right:.35rem; font-weight:700; background:linear-gradient(140deg,var(--accent2),var(--accent3)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.feature-intro:hover { box-shadow:0 10px 28px -10px rgba(0,73,126,.30); }

@media (max-width: 680px){
  .category.integrated { padding:32px 20px 40px; border-radius:22px; }
  .feature-intro { border-left:4px solid var(--accent2); }
}

.category h3 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 15px;
}

.category-text {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.6;
  padding: 16px 20px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 0 12px rgba(0,95,163,0.3);
  transition: box-shadow 0.3s, transform 0.3s;
}

.category-text:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(0,119,125,0.5);
}

/* --- Image Row Styling --- */
.image-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  gap: 10px; /* optional small gap between images */
}

.image-card {
  flex: 1 1 calc(33.333% - 10px); /* 3 images per row, subtract gap */
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,95,163,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; /* let height adjust based on image */
}

.image-card img {
  width: 100%;   /* fill width */
  height: auto;  /* maintain aspect ratio */
  display: block;
  transition: transform 0.3s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,119,125,0.4);
}

/* --- Contact Page Components --- */
.contact-intro-cards { display:flex; flex-wrap:wrap; gap:20px; margin:1.8rem 0 2.2rem; }
.contact-quick { flex:1 1 340px; background:#fff; border:1px solid rgba(0,0,0,0.07); border-left:5px solid var(--accent2); border-radius:14px; padding:18px 20px 6px; box-shadow:0 4px 16px -6px rgba(0,0,0,0.14); }
.contact-section-title { margin-top:3.2rem; }
.contact-grid { display:grid; gap:22px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); margin-top:1.4rem; }
.contact-card { background:#fff; border:1px solid rgba(0,0,0,0.06); border-radius:18px; padding:20px 22px 22px; box-shadow:0 4px 18px -6px rgba(0,0,0,0.15); position:relative; overflow:hidden; display:flex; flex-direction:column; transition:transform .35s, box-shadow .35s; }
.contact-card h3 { margin-top:0; font-size:1.05rem; letter-spacing:.3px; display:flex; align-items:center; gap:.55rem; color:var(--primary); }
.contact-card .org-name { font-weight:600; margin:.2rem 0 .6rem; }
.contact-meta { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.55rem; }
.contact-meta li { display:flex; align-items:flex-start; gap:.6rem; font-size:.9rem; background:#f9fcfd; padding:.55rem .7rem; border-radius:10px; border:1px solid rgba(0,0,0,0.05); transition:background .35s, box-shadow .35s; }
.contact-meta li i { color:var(--accent2); font-size:.95rem; margin-top:.15rem; }
.contact-meta.small li { font-size:.82rem; padding:.45rem .6rem; }
.contact-meta a { color:var(--accent2); text-decoration:none; font-weight:600; }
.contact-meta a:hover { text-decoration:underline; }
.iso-badge { display:inline-block; margin-top:.6rem; font-size:.62rem; letter-spacing:.6px; font-weight:700; background:var(--accent2); color:#fff; padding:.42rem .6rem .34rem; border-radius:24px; box-shadow:0 2px 10px -4px rgba(0,0,0,.3); text-transform:uppercase; }
.contact-card::after { content:""; position:absolute; inset:0; background:linear-gradient(135deg,rgba(0,180,216,0.06),transparent 70%); pointer-events:none; }
.contact-card:hover { box-shadow:0 10px 30px -10px rgba(0,0,0,.28); transform:translateY(-4px); }
.contact-card:hover .iso-badge { background:var(--accent3); }
.contact-card address { font-style:normal; line-height:1.5; font-size:.86rem; margin:0 0 .7rem; }
.contact-meta li:hover { background:#fff; box-shadow:0 4px 14px -6px rgba(0,0,0,.15); }
.contact-intro-cards .contact-quick { flex:1 1 480px; }
.contact-intro-cards .contact-quick .contact-meta li { background:#fff; }
.contact-intro-cards .contact-quick .contact-meta li:hover { box-shadow:0 4px 16px -8px rgba(0,0,0,.22); }
.contact-intro-cards .contact-quick .contact-meta { gap:.65rem; }
.contact-intro-cards .contact-quick .contact-meta li strong { font-weight:600; }
.contact-section-title { font-size:1.4rem; }
.contact-grid .contact-card h3 i { font-size:.95rem; }
.contact-grid .contact-card h3 { font-size:1rem; }
.contact-card h3 i { opacity:.9; }
.contact-grid .contact-card { min-height: 260px; }
.contact-grid .contact-card:nth-child(2) { border-left:5px solid var(--accent2); }
.contact-grid .contact-card:nth-child(3) { border-left:5px solid var(--accent3); }
.contact-card:first-of-type { border-left:5px solid var(--primary); }
.contact-form { max-width:560px; margin: 1.2rem auto 0; display:flex; flex-direction:column; gap:1rem; background:#fff; border:1px solid rgba(0,0,0,0.07); padding:24px 26px 28px; border-radius:18px; box-shadow:0 6px 26px -10px rgba(0,0,0,.18); }
.contact-form .form-row { display:flex; flex-direction:column; gap:.4rem; }
.contact-form label { font-weight:600; font-size:.75rem; letter-spacing:.6px; text-transform:uppercase; color:var(--primary); }
.contact-form input, .contact-form textarea { font:inherit; padding:.75rem .9rem; border:2px solid rgba(0,0,0,0.08); border-radius:10px; background:#f9fcfd; resize:vertical; transition:border-color .3s, background .3s, box-shadow .3s; }
.contact-form input:focus, .contact-form textarea:focus { outline:none; border-color:var(--accent2); background:#fff; box-shadow:0 0 0 4px rgba(0,119,125,.18); }
.contact-form textarea { min-height:140px; }


/* Responsive adjustments */
@media (max-width: 1024px) {
  .image-card {
    flex: 1 1 calc(50% - 10px); /* 2 per row on tablets */
  }
}

@media (max-width: 768px) {
  .image-card {
    flex: 1 1 100%; /* stack on mobile */
  }
}

/* === List number overlap fix (normalize padding & marker size) === */
.page-content ul { padding:0; margin:1.4rem 0 1.6rem; }
.page-content ul li { padding:.55rem .85rem .55rem 2.15rem !important; }
.page-content ul li::before { left:.55rem !important; width:1.25rem !important; height:1.25rem !important; font-size:.65rem !important; }
