:root {
  --bg: #fff;
  --font: "Noto Sans", Helvetica, Arial, sans-serif;
  --enagic-blue: #004da1;
}

* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body {
  padding-top: 40px;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
  font-family: var(--font);
}

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

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.animate-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: clamp(0.55rem, 0.8vw, 1rem);
  background: var(--bg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.feature-text h2, 
.orp-block h2, .ph-block h2,
#specs h2,
.white-box h2,
.certifications-container .section-heading{
  font-size: 1.7rem;
  color: var(--enagic-blue);
  font-weight: 700;
  font-family: var(--font);
}

@media (max-width: 768px){
  .feature-text h2, 
  #specs h2,
  .white-box h2,
  .certifications-container .section-heading{
    font-size: 1.5rem;
  }
}

.white-box p,
.feature-text p,
p.section-subtext,
.orp-block p,
#benefits li  {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 768px){
  .white-box p,
  .feature-text p,
  p.section-subtext,
  .orp-block p,
  #benefits li  {
    font-size: clamp(1rem, 2.3vw, 1rem);
  }
}

.specs-table strong{
  font-weight: 700;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.logo img {
  height: 36px;
  width: auto;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-home-link {
  display: none;
  font-size: 18px;
  text-decoration: none;
  color: var(--enagic-blue);
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.3s ease;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 10px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--enagic-blue);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.nav-links a::after,
.mobile-home-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, #094e8e, #0b39cf);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.header.scrolled {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  background-color: var(--bg);
  backdrop-filter: blur(6px);
}

.hamburger {
  display: none !important;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  color: var(--bg);
  background-color: var(--enagic-blue);
  margin: 5px 4px;
  padding: 2px 10px;
  border-radius: 8px;
  width: 40px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {

  .hamburger{
    display: block !important;
  }

  .mobile-home-link {
    display: inline-block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 0;
    overflow: hidden;
    gap: 7px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 4px 16px;
    border-bottom: 1px solid #f8f6f6;
    text-align: right;
    font-weight: 600;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: block;
  }

  .logo {
    font-size: 20px;
  }
}

.title-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 2vh;
}

.title-section .title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin: 0;
  color: var(--enagic-blue);
  line-height: 1.2;
  text-align: center;
}

.title-section .subtitle {
  max-width: 600px;
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
  margin-top: 0.4rem;
  margin-bottom: 0.2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-nav{
  display: none;
}

.main-content {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 2rem;
}

.sticky-nav {
  position: sticky;
  top: 2rem;
  align-self: start;
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sticky-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sticky-nav li {
  margin-bottom: 0.75rem;
}

.sticky-nav a {
  color: var(--enagic-blue);
  text-decoration: none;
  font-weight: 600;
}

.sticky-nav a:hover {
  text-decoration: underline;
}

.image-carousel {
  position: relative;
  max-width: 90vw;
  margin: 1rem auto;
  overflow: hidden;
}

.carousel-track-wrapper {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-track img {
  flex: 0 0 100%;
  max-height: 70vh;
  object-fit: contain;
  width: 100%;
  display: block;
  border-radius: 0;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #ffffff, #f7f7f7);
  border: 1px solid #d0d0d0;
  color: var(--enagic-blue);
  padding: 0.7rem;
  border-radius: 12px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}


ul {
  padding-left: 1.25rem;
}

ul li {
  margin-bottom: 0.6rem;
}


.orp-ph-box {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0;                
  background: none;          
  border-radius: 0;          
  box-shadow: none;       
}

.orp-block, .ph-block {
  flex: 1;
  min-width: 260px;
}

.orp-block h2, .ph-block h2 {
  margin: 0 0 0.6rem 0; 
}

.orp-block p {
  margin: 0;
  text-align: justify;
}

.ph-sub-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  margin-top: 0.4rem;
  background: #f9fbfc;
  border-left: 4px solid var(--enagic-blue);
  border-radius: 8px;
}

.ph-label {
  font-weight: 600;
  font-size: 1.1rem;
}

.ph-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--enagic-blue);
}

.ph-label.alkaline {
  color: #1a8e1a;
}

.ph-label.acidic {
  color: #c0392b;
}

.feature-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.feature-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.feature-block.reverse {
  flex-direction: row-reverse;
}

.feature-img img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.feature-text {
  flex: 1;
  min-width: 280px;
}

.feature-text h2 {
  margin-bottom: 0.8rem;
}

.feature-text p {
  margin-bottom: 0.8rem;
  text-align: justify;
}

.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  font-size: 1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.specs-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.specs-image {
  flex-shrink: 0;
  max-width: 240px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin-top: 3.5rem;
}

.specs-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
  color: #333;
}

.specs-table td:first-child {
  font-weight: 600;
  width: 40%;
  background-color: #f9fbfc;
  color: var(--enagic-blue);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

#specs h2 {
  margin-bottom: 1.2rem;
}

.white-box {
  background: white;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  margin-bottom: 0.5rem;
}

.white-box h2 {
  margin-bottom: 1rem;
}

.white-box ul {
  padding-left: 1.25rem;
}

.white-box li {
  margin-bottom: 0.6rem;
}

@media (max-width: 900px) {
  .title-section {
  padding: 0.8rem 1rem;
  }

  .title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .main-content {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .sticky-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg);
    padding: 1rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid #eaeaea;
    max-width: 100vw;
    overflow: hidden;
}

  .mobile-nav select {
    width: 100%;
    max-width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid #ccc;
    border-radius: 10px;
    color: var(--enagic-blue);
    background-color: var(--bg);
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    box-sizing: border-box;
  }

  .mobile-nav select::-ms-expand {
    display: none;
  }

  .content-sections section {
    padding: 1.5rem;
  }

  .orp-ph-box {
    flex-direction: column;
    gap: 1.5rem;
  }

  .ph-sub-block {
    flex-direction: row;
    justify-content: space-between;
  }

  .feature-block {
    flex-direction: column;
    padding: 1.5rem;
  }

  .feature-block.reverse {
    flex-direction: column;
  }

  .feature-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    object-fit: contain;
    margin-bottom: 1rem;
  }

  .feature-text h2 {
    margin-top: 1rem;
    text-align: center;
  }

  .specs-table td {
    font-size: 0.9rem;
    padding: 0.7rem 0.8rem;
  }

  .specs-wrapper {
    flex-direction: column;
  }
  .specs-image {
    max-width: 100%;
    margin-bottom: 1rem;
  }
}

.certifications-section {
  padding: 2rem 1rem;
}

.certifications-container {
  max-width: 1350px;
  margin: 0 auto;
  text-align: center;
}

.certifications-container .section-heading {
  margin-bottom: 1.5rem;
}

.certifications-container .section-subtext {
  margin: 0 auto 4rem;
  max-width: 1150px;
  text-align: center;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
}

.cert-badge {
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem 2rem;
  border: 1px solid #eaf2ff;
  box-shadow: 0 4px 12px rgba(0, 77, 161, 0.03);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.cert-badge::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(83, 76, 210, 0.1) 0%, rgba(83, 76, 210, 0) 70%);
  border-radius: 50%;
  transition: width 0.5s ease, height 0.5s ease;
}

.cert-badge:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 77, 161, 0.08);
  border-color: #d1e3ff;
}

.cert-badge:hover::before {
  width: 300px;
  height: 300px;
}

.cert-icon {
  height: 200px;
  margin-bottom: 2rem;
  z-index: 1;
}

.cert-badge h4 {
  color: #3b35b0;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  z-index: 1;
}

.cert-badge p {
  margin: 0;
  z-index: 1;
  flex-grow: 1;
}
@media (max-width: 768px) {

  .certifications-section {
    padding: 3rem 1.2rem;
  }

  .certifications-container .section-heading {
    font-size: clamp(1.8rem, 2.4vw, 1.2rem);
    margin-bottom: 0.5rem;
  }

  .certifications-container .section-subtext {
    margin-bottom: 3rem;
  }

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .cert-badge {
    padding: 1rem;
    border-radius: 12px;
  }

  .cert-icon {
    height: 165px;
    margin-bottom: 1rem;
  }

  .cert-badge h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .cert-badge p {
    line-height: 1.3;
    text-align: center;
  }

  .cert-badge:hover::before {
    width: 200px;
    height: 200px;
  }
}

footer {
  background-color: var(--enagic-blue);
  backdrop-filter: blur(2px);
  text-align: center;
  color: white;
  padding: 1rem;
}

.footer-desktop-line {
  margin-top: 6px;
  font-size: 15px;
}

.footer-desktop-line a {
  color: #fff;
  text-decoration: underline;
  line-height: 1.5;
  margin: 0 6px;
  transition: color 0.3s ease;
}

.footer-desktop-line a:hover {
  color: #e0f0ff;
}

.footer-logo-inline {
  height: 20px;
  width: auto;
  vertical-align: middle;
  margin: 0 0.2rem;
  object-fit: contain;
}

.footer-line-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  color: white;
}

.footer-line-1 a {
  color: white;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-line-1 a:hover {
  color: #e0f0ff;
}

.footer-line-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}

.footer-mobile-stack {
  display: none;
}

@media (max-width: 768px) {

  .footer-mobile-stack {
    display: block;
    font-size: 14px;
    font-weight: 500;
  }

  .footer-desktop-stack {
    display: none;
  }
}