/* ============================================================
   GDG LIVE SDN. BHD. — Aquarium Hall theme
   Palette:
     body background  : #EAF6F3  (aquarium-hall pale glass-green)
     deep-sea text    : #12333A
     accent           : #2FA795  (aquamarine / sunlit tank water)
     tank-glass faces : #D7EFEA
     water-clear panel: #FFFFFF
     reef-deep panels : #14545E  (pale text)
     sealant-black    : #163036  (tertiary silhouettes only)
     rail-steel thin  : #9DBBB5
   Light theme only. No rgba, no opacity decimals, no text gradients.
   ============================================================ */

/* ---------- 1. Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: #12333A;
  background-color: #EAF6F3;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  color: #12333A;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

a {
  color: #14545E;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #2FA795;
  text-decoration: underline;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- 2. Layout helpers ---------- */
.page-width {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 72px 0;
}

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

/* ---------- 3. QUARANTINE RACK RAIL navigation ---------- */
.quarrail {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #EAF6F3;
  padding: 0 0 30px;
  border-bottom: 3px solid #9DBBB5;
}

.quarrail-rails {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px 0;
}

.quarrail-rail {
  height: 6px;
  background-color: #9DBBB5;
  border-radius: 3px;
}

.quarrail-rail-lower {
  height: 4px;
  margin-top: 10px;
  background-color: #9DBBB5;
  border-radius: 2px;
}

.quarrail-turnbuckle {
  position: absolute;
  top: 12px;
  width: 22px;
  height: 34px;
  background-color: #163036;
  border-radius: 4px;
}

.quarrail-turnbuckle-left {
  left: 4px;
}

.quarrail-turnbuckle-right {
  right: 4px;
}

.quarrail-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 0 14px;
  margin: -4px 0 0;
  padding: 0;
  list-style: none;
}

.quarrail-card {
  position: relative;
  flex: 0 1 auto;
}

.quarrail-hook {
  display: block;
  width: 16px;
  height: 22px;
  margin: 0 auto;
  border: 3px solid #163036;
  border-top-color: transparent;
  border-radius: 0 0 10px 10px;
}

.quarrail-card-1 .quarrail-hook { height: 16px; }
.quarrail-card-2 .quarrail-hook { height: 30px; }
.quarrail-card-3 .quarrail-hook { height: 20px; }
.quarrail-card-4 .quarrail-hook { height: 34px; }
.quarrail-card-5 .quarrail-hook { height: 24px; }
.quarrail-card-6 .quarrail-hook { height: 38px; }

.quarrail-plate {
  display: block;
  min-width: 92px;
  padding: 9px 16px;
  margin-top: 2px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #12333A;
  background-color: #FFFFFF;
  border: 2px solid #9DBBB5;
  border-radius: 5px;
  box-shadow: 0 3px 0 #D7EFEA;
}

.quarrail-plate:hover,
.quarrail-plate:focus {
  background-color: #D7EFEA;
  color: #14545E;
  text-decoration: none;
}

.quarrail-brandplate {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 130px;
  padding: 9px 18px;
  margin-top: 2px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  background-color: #14545E;
  border: 2px solid #14545E;
  border-radius: 5px;
  box-shadow: 0 3px 0 #9DBBB5;
}

.quarrail-brandplate:hover,
.quarrail-brandplate:focus {
  background-color: #2FA795;
  border-color: #2FA795;
  color: #FFFFFF;
  text-decoration: none;
}

.fish-glyph {
  display: inline-block;
  position: relative;
  width: 22px;
  height: 12px;
  background-color: currentColor;
  border-radius: 60% 40% 40% 60%;
  flex: 0 0 auto;
}

.fish-glyph::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -8px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 9px solid #2FA795;
}

.fish-glyph::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 5px;
  width: 3px;
  height: 3px;
  background-color: #FFFFFF;
  border-radius: 50%;
}

.quarrail-fill {
  height: 3px;
  margin: 12px auto 0;
  width: 100%;
  max-width: 1180px;
  background-color: #2FA795;
}

/* ---------- 4. HERO: MAIN TANK STAND ---------- */
.mainstand {
  padding: 64px 0 80px;
  background-color: #EAF6F3;
}

.mainstand-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 44px;
}

.mainstand-copy {
  flex: 1 1 520px;
  max-width: 600px;
}

.mainstand-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: #14545E;
  border-radius: 3px;
}

.mainstand-title {
  font-size: 2.85rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.mainstand-title .accentword {
  color: #2FA795;
}

.mainstand-lede {
  font-size: 1.08rem;
  color: #12333A;
  margin-bottom: 26px;
}

.mainstand-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tanklid-switch {
  display: inline-block;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 1rem;
  color: #FFFFFF;
  background-color: #2FA795;
  border: 2px solid #14545E;
  border-radius: 6px;
  box-shadow: 0 4px 0 #14545E;
}

.tanklid-switch:hover,
.tanklid-switch:focus {
  background-color: #14545E;
  color: #FFFFFF;
  text-decoration: none;
}

.tanklid-switch-alt {
  color: #12333A;
  background-color: #FFFFFF;
  border: 2px solid #2FA795;
  box-shadow: 0 4px 0 #9DBBB5;
}

.tanklid-switch-alt:hover,
.tanklid-switch-alt:focus {
  background-color: #D7EFEA;
  color: #12333A;
}

/* --- the CSS main tank illustration --- */
.mainstand-scene {
  flex: 1 1 380px;
  max-width: 520px;
  margin: 0 auto;
}

.tankstand-rig {
  position: relative;
  padding: 46px 26px 0;
}

.ledbar {
  position: relative;
  height: 14px;
  margin: 0 auto;
  width: 82%;
  background-color: #163036;
  border-radius: 7px;
}

.ledbar-bracket {
  position: absolute;
  top: 12px;
  width: 8px;
  height: 34px;
  background-color: #9DBBB5;
}

.ledbar-bracket-left { left: 16%; }
.ledbar-bracket-right { right: 16%; }

.maintank-glass {
  position: relative;
  margin: 40px auto 0;
  width: 100%;
  background-color: #D7EFEA;
  border: 8px solid #9DBBB5;
  border-radius: 6px 6px 4px 4px;
  padding-top: 44px;
  overflow: hidden;
}

.maintank-water {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #2FA795;
}

.maintank-body {
  position: relative;
  height: 168px;
  background-color: #EAF6F3;
}

.plant-silhouette {
  position: absolute;
  bottom: 0;
  width: 36px;
  background-color: #14545E;
  border-radius: 18px 18px 0 0;
}

.plant-a {
  left: 22%;
  height: 118px;
  transform: rotate(-4deg);
}

.plant-b {
  right: 26%;
  height: 92px;
  transform: rotate(5deg);
  background-color: #2FA795;
}

.plant-leaf {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 12px;
  height: 140px;
  margin-left: -6px;
  background-color: #14545E;
  border-radius: 6px;
}

.maintank-stand {
  margin: 0 auto;
  width: 108%;
  margin-left: -4%;
  background-color: #14545E;
  border-radius: 6px 6px 3px 3px;
  padding: 14px;
  display: flex;
  gap: 10px;
}

.stand-cupboard {
  flex: 1 1 50%;
  height: 74px;
  background-color: #EAF6F3;
  border: 3px solid #9DBBB5;
  border-radius: 4px;
}

.sump-tank {
  flex: 1 1 50%;
  position: relative;
  height: 74px;
  background-color: #D7EFEA;
  border: 3px solid #9DBBB5;
  border-radius: 4px;
  overflow: hidden;
}

.sump-water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background-color: #2FA795;
}

.sump-pump {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  background-color: #163036;
  border-radius: 4px;
}

.sump-hose {
  position: absolute;
  bottom: 34px;
  width: 7px;
  height: 40px;
  background-color: #163036;
  border-radius: 4px 4px 0 0;
}

.sump-hose-a { left: 14px; }
.sump-hose-b { left: 30px; }

/* ---------- 5. DISPLAY BASIN RUN ---------- */
.basinrun {
  padding: 76px 0 80px;
  background-color: #FFFFFF;
  border-top: 3px solid #9DBBB5;
  border-bottom: 3px solid #9DBBB5;
}

.basinrun-head {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.basinrun-title {
  font-size: 2.1rem;
  font-weight: 800;
}

.basinrun-sub {
  font-size: 1.05rem;
  color: #12333A;
}

.basinrun-course {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 26px;
}

.basinrun-course-two {
  margin-top: 40px;
  padding-left: 6%;
}

.basin {
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  background-color: #D7EFEA;
  border: 4px solid #9DBBB5;
  border-radius: 8px;
  padding: 22px 22px 20px;
  box-shadow: 0 8px 0 #EAF6F3;
}

.basin-number {
  position: absolute;
  top: -16px;
  left: 18px;
  padding: 3px 12px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  background-color: #2FA795;
  border-radius: 4px;
}

.basin-label {
  margin: 6px 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #12333A;
  border-bottom: 2px solid #9DBBB5;
  padding-bottom: 8px;
}

.basin-text {
  font-size: 0.97rem;
  color: #12333A;
  margin-bottom: 0;
}

.basin-skew-left {
  transform: rotate(-1deg);
}

.basin-skew-right {
  transform: rotate(1deg);
}

.basin-quarantine {
  min-height: 260px;
  background-color: #14545E;
  border-color: #163036;
}

.basin-quarantine .basin-label {
  color: #FFFFFF;
  border-bottom-color: #2FA795;
}

.basin-quarantine .basin-text {
  color: #EAF6F3;
}

.basin-mesh-lid {
  display: block;
  height: 18px;
  margin: -6px -22px 18px;
  background-color: #163036;
  background-image:
    repeating-linear-gradient(0deg, #2FA795 0 2px, transparent 2px 7px),
    repeating-linear-gradient(90deg, #2FA795 0 2px, transparent 2px 7px);
}

.fed-tab {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #12333A;
  background-color: #FFFFFF;
  border: 2px solid #2FA795;
  border-radius: 20px;
}

/* ---------- 6. WATER CHANGE accent strip ---------- */
.waterchange {
  background-color: #14545E;
  padding: 34px 0;
  text-align: center;
}

.waterchange-text {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 600;
  color: #EAF6F3;
}

.waterchange-text .waterchange-accent {
  color: #2FA795;
  font-weight: 800;
}

/* ---------- 7. FOOTER: FILTRATION SUMP ROOM ---------- */
.sumproom {
  background-color: #12333A;
  padding: 58px 0 0;
  color: #EAF6F3;
}

.sumproom-basketband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 14px;
  background-color: #14545E;
  border: 3px solid #9DBBB5;
  border-radius: 6px;
}

.media-basket {
  height: 44px;
  background-color: #12333A;
  border: 2px solid #2FA795;
  border-radius: 4px;
}

.sumproom-hoses {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 42px;
  padding-top: 8px;
  border-top: 3px solid #9DBBB5;
}

.hose-group {
  flex: 1 1 220px;
  position: relative;
  padding: 20px 18px;
  background-color: #14545E;
  border-radius: 6px;
}

.hose-clip {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 8px;
  height: 20px;
  margin-left: -4px;
  background-color: #9DBBB5;
}

.hose-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

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

.hose-links li {
  margin-bottom: 6px;
}

.hose-links a {
  color: #EAF6F3;
}

.hose-links a:hover,
.hose-links a:focus {
  color: #2FA795;
}

.sumproom-lower {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  margin-top: 42px;
}

.maintenance-card {
  flex: 1 1 420px;
  padding: 24px;
  background-color: #FFFFFF;
  border-radius: 6px;
}

.maintenance-card .maintenance-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #12333A;
}

.maintenance-card .fish-glyph {
  background-color: #12333A;
}

.maintenance-card .maintenance-blurb {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: #12333A;
}

.skimmer-cup {
  flex: 0 0 150px;
  margin: 0 auto;
  text-align: center;
}

.skimmer-cup-body {
  width: 110px;
  height: 90px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 4px solid #9DBBB5;
  border-radius: 12px 12px 26px 26px;
}

.skimmer-cup-neck {
  width: 44px;
  height: 26px;
  margin: 0 auto;
  background-color: #9DBBB5;
  border-radius: 6px 6px 0 0;
}

.sumproom-edge {
  margin-top: 42px;
  padding: 22px 0;
  border-top: 3px solid #9DBBB5;
  font-size: 0.92rem;
  color: #EAF6F3;
}

.sumproom-edge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
}

.sumproom-edge a {
  color: #EAF6F3;
}

.sumproom-edge a:hover,
.sumproom-edge a:focus {
  color: #2FA795;
}

.sumproom-copyright {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #D7EFEA;
}

/* ---------- 8. Inner page shared blocks ---------- */
.innerhero {
  padding: 56px 0 40px;
  background-color: #EAF6F3;
  border-bottom: 3px solid #9DBBB5;
}

.innerhero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: #2FA795;
  border-radius: 3px;
}

.innerhero-title {
  font-size: 2.3rem;
  font-weight: 800;
}

.innerhero-sub {
  max-width: 720px;
  font-size: 1.06rem;
  color: #12333A;
}

.prose-block {
  max-width: 860px;
}

.prose-block h2 {
  font-size: 1.6rem;
  margin-top: 1.4em;
}

.service-detail {
  padding: 26px 26px 22px;
  margin-bottom: 24px;
  background-color: #FFFFFF;
  border-left: 8px solid #2FA795;
  border-radius: 6px;
  box-shadow: 0 5px 0 #D7EFEA;
}

.service-detail h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}

.service-detail p {
  margin-bottom: 0.7em;
}

.service-detail p:last-child {
  margin-bottom: 0;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: process;
}

.process-list li {
  position: relative;
  margin-bottom: 20px;
  padding: 18px 20px 18px 68px;
  background-color: #D7EFEA;
  border-radius: 6px;
  counter-increment: process;
}

.process-list li::before {
  content: counter(process);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-weight: 800;
  color: #FFFFFF;
  background-color: #14545E;
  border-radius: 50%;
}

.cta-band {
  margin-top: 20px;
  padding: 40px 30px;
  text-align: center;
  background-color: #14545E;
  border-radius: 8px;
}

.cta-band h2 {
  color: #FFFFFF;
  font-size: 1.7rem;
}

.cta-band p {
  color: #EAF6F3;
  max-width: 660px;
  margin: 0 auto 22px;
}

/* ---------- 9. Contact page ---------- */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
}

.contact-form-panel {
  flex: 1 1 460px;
  padding: 28px;
  background-color: #FFFFFF;
  border: 3px solid #9DBBB5;
  border-radius: 8px;
}

.field-row {
  margin-bottom: 18px;
}

.field-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #12333A;
}

.field-row input,
.field-row textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 0.98rem;
  font-family: inherit;
  color: #12333A;
  background-color: #EAF6F3;
  border: 2px solid #9DBBB5;
  border-radius: 5px;
}

.field-row input:focus,
.field-row textarea:focus {
  outline: none;
  border-color: #2FA795;
  background-color: #FFFFFF;
}

.field-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  display: inline-block;
  padding: 13px 30px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  color: #FFFFFF;
  background-color: #2FA795;
  border: 2px solid #14545E;
  border-radius: 6px;
  box-shadow: 0 4px 0 #14545E;
  cursor: pointer;
}

.form-submit:hover,
.form-submit:focus {
  background-color: #14545E;
}

.form-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #12333A;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
  background-color: #14545E;
  border-radius: 5px;
}

.contact-info-panel {
  flex: 1 1 320px;
}

.info-card {
  margin-bottom: 20px;
  padding: 20px 22px;
  background-color: #D7EFEA;
  border-radius: 6px;
}

.info-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.info-card p {
  margin: 0 0 6px;
}

.info-card a {
  font-weight: 700;
}

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

.hours-list li {
  padding: 6px 0;
  border-bottom: 1px solid #9DBBB5;
}

.hours-list li:last-child {
  border-bottom: none;
}

.faq-item {
  margin-bottom: 18px;
  padding: 20px 22px;
  background-color: #FFFFFF;
  border: 3px solid #9DBBB5;
  border-radius: 6px;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.faq-item p {
  margin: 0;
}

/* ---------- 10. Scroll reveal (safe fallback: visible by default) ---------- */
.reveal {
  transition: transform 500ms ease, color 500ms ease;
}

.reveal.is-hidden {
  transform: translateY(22px);
}

.footlink-inline {
  font-weight: 700;
}

/* ---------- 11. Responsive ---------- */
@media (max-width: 900px) {
  .mainstand-title {
    font-size: 2.2rem;
  }
  .basinrun-course-two {
    padding-left: 0;
  }
  .mainstand-lede {
    font-size: 1.02rem;
  }
}

@media (max-width: 640px) {
  .quarrail-card {
    flex: 1 1 44%;
  }
  .quarrail-plate,
  .quarrail-brandplate {
    width: 100%;
  }
  .quarrail-plate {
    min-width: 0;
  }
  .mainstand-title {
    font-size: 1.85rem;
  }
  .sumproom-basketband {
    grid-template-columns: repeat(2, 1fr);
  }
  .basin {
    flex: 1 1 100%;
  }
  .section-pad {
    padding: 52px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-hidden {
    transition: none;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}
