/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ═══════════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════════ */
:root {
  --frame:   30px;
  --nav-h:   80px;
  --teal:    #008080;
  --primary: rgba(0,128,128,1);
}
@media (max-width: 768px) { :root { --frame: 15px; } }
@media (max-width: 480px) { :root { --frame: 10px; } }

/* ═══════════════════════════════════════════
   THEME – DARK (default)
═══════════════════════════════════════════ */
:root {
  --bg:            #000;
  --bg2:           #111;
  --section-light: #111;
  --section-dark:  #000;
  --border:        rgba(255,255,255,0.1);
  --surface:       #222;
  --text:          #f0f0f0;
  --text2:         rgba(245,245,245,0.6);
  --nav-bg:        #0a0a0a;
  --ring-color:    rgba(255,255,255,0.14);
  --card-bg:       rgba(17,17,17,0.8);
}

/* ═══════════════════════════════════════════
   THEME – LIGHT
═══════════════════════════════════════════ */
body.light {
  --bg:            #f5f5f5;
  --bg2:           #ffffff;
  --section-light: #e0e0e0;
  --section-dark:  #f5f5f5;
  --border:        rgba(0,0,0,0.1);
  --surface:       #e8e8e8;
  --text:          #0d0d0d;
  --text2:         rgba(13,13,13,0.6);
  --ring-color:    rgba(0,0,0,0.14);
  --card-bg:       rgba(255,255,255,0.9);
}

/* ═══════════════════════════════════════════
   BASE
═══════════════════════════════════════════ */
html { scroll-behavior: auto; }

body {
  font-family: 'Poppins', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background .35s, color .35s;
}

/* ═══════════════════════════════════════════
   FRAME  z: 10000
═══════════════════════════════════════════ */
#frame {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  box-shadow: inset 0 0 0 var(--frame) var(--bg);
  transition: box-shadow .35s;
}

/* ═══════════════════════════════════════════
   NAV  z: 5000
═══════════════════════════════════════════ */
nav {
  position: fixed;
  top: var(--frame);
  left: var(--frame);
  right: var(--frame);
  height: var(--nav-h);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: var(--teal);
  transition: background .35s, backdrop-filter .35s, border-bottom .35s;
}

/* Scroll state */
nav.scrolled {
  background: var(--section-light);
  border-bottom: 1px solid var(--teal);
  backdrop-filter: blur(10px);
}

/* ── Brand ───────────────────────────── */
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.brand span {
  font-weight: 700;
  font-size: clamp(14px, 2vw, 18px);
  white-space: nowrap;
  color: #fff;
  line-height: 1;
  transition: color .3s;
}
nav.scrolled .brand span { color: var(--teal); }

/* ── Nav links (desktop) ─────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links > a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(12px, 1.5vw, .95rem);
  transition: color .3s;
  white-space: nowrap;
}
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: currentColor;
  transition: width .35s;
}
.nav-links > a:hover        { color: #000; }
.nav-links > a:hover::after { width: 100%; }

/* Scrolled state for all direct links */
nav.scrolled .nav-links > a       { color: var(--teal); }
nav.scrolled .nav-links > a:hover { color: var(--primary); }

/* ── Theme Toggle ────────────────────── */
.theme-toggle {
  display: flex;
  width: 154px;
  height: 38px;
  border-radius: 19px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(255,255,255,.3);
  font-size: clamp(10px, 1vw, 13px);
  flex-shrink: 0;
  transition: border-color .35s;
}
.t-light, .t-dark {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background .3s, color .3s, opacity .3s;
}
.t-light.on  { background: #fff; color: #000; }
.t-light.off { background: #222; color: #888; opacity: .55; }
.t-dark.on   { background: #222; color: #fff; }
.t-dark.off  { background: #fff; color: #000; opacity: .55; }
nav.scrolled .theme-toggle { border-color: rgba(0,128,128,.4); }

/* ── Hamburger ───────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 6000;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  transform-origin: right center;
}
.hamburger span:nth-child(1) { width: 28px; }
.hamburger span:nth-child(2) { width: 20px; margin: 6px 0; }
.hamburger span:nth-child(3) { width: 13px; }

.hamburger.open span:nth-child(1) { width: 26px; transform: translateY(9px) rotate(-45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { width: 26px; transform: translateY(-9px) rotate(45deg); }

nav.scrolled .hamburger span { background: var(--teal); }

/* ── Mobile nav: stay on top + lock scroll when open ── */
@media (max-width: 1024px) {
  nav.menu-open {
    background: var(--teal) !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
  }
  nav.menu-open .brand span        { color: #fff !important; }
  nav.menu-open .hamburger span    { background: #fff !important; }
}

body.nav-locked {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ═══════════════════════════════════════════
   DROPDOWN
═══════════════════════════════════════════ */
.dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
}

.dropbtn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: 850;
  font-size: clamp(12px, 1.5vw, .95rem);
  padding: 10px 0;
  transition: color .25s;
  white-space: nowrap;
}
.dropbtn:hover             { color: #000; }
nav.scrolled .dropbtn      { color: var(--teal); }
nav.scrolled .dropbtn:hover { color: var(--primary); }

.drop-icon {
  font-size: .75rem;
  transition: transform .25s;
}

/* Panel */
.dropdown-content {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 250px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  z-index: 9999;
  overflow: hidden;
}



/* Desktop hover open */
@media (hover: hover) and (pointer: fine) {
  .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown:hover .drop-icon { transform: rotate(180deg); }
}

/* Dropdown links */
.dropdown-content a {
  display: flex;
  align-items: center;
  padding: 10px 13px;
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: background .25s, padding-left .25s;
}
.dropdown-content a:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
  background: var(--border);
  opacity: .7;
  transition: opacity .25s;
}
/* Left accent bar */
.dropdown-content a::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s;
}
.dropdown-content a:hover                    { background: rgba(0,128,128,.10); padding-left: 20px; }
.dropdown-content a:hover::after             { opacity: 0; }
.dropdown-content a:hover::before            { transform: scaleY(1); }

/* Solution item layout */
.solution-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.solution-item i {
  width: 20px;
  color: var(--teal);
  transition: transform .25s, color .25s;
}
.solution-item span { transition: color .2s; }
.dropdown-content a:hover .solution-item i    { transform: translateX(4px); }
.dropdown-content a:hover .solution-item span { color: var(--teal); }

/* ═══════════════════════════════════════════
   MOBILE NAV  ≤ 1024px
═══════════════════════════════════════════ */
@media (max-width: 1024px) {

  nav { padding: 0 18px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: calc(var(--frame) + var(--nav-h));
    left: var(--frame);
    right: var(--frame);
    bottom: var(--frame);
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg2);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-top: none;
    transform: translateY(-110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1), visibility .35s;
    z-index: 4999;
    overflow-y: auto;
    padding: 10px 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* Lock everything behind the open menu */
  body.nav-locked {
    overflow: hidden;
    touch-action: none;
  }

  /* Force nav to stay teal and on top when menu is open */
  nav.menu-open {
    background: var(--teal) !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    z-index: 5001;
  }
  nav.menu-open .brand span     { color: #fff !important; }
  nav.menu-open .hamburger span { background: #fff !important; }


  /* Direct links inside panel */
  .nav-links > a {
    width: 100%;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: clamp(14px, 2vw, 1rem);
  }
  .nav-links > a::after { display: none; }
  .nav-links > a:hover  { background: rgba(0,128,128,.12); padding-left: 26px; color: var(--text); }

  /* Theme toggle inside panel */
  .theme-toggle {
    margin: 12px 10px;
    width: auto;
  }

  /* ── Dropdown inside mobile ── */
  .dropdown { width: 100%; }

  .dropbtn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 20px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    font-size: clamp(14px, 2vw, 1rem);
  }
  .dropbtn:hover     { color: var(--text); background: rgba(0,128,128,.12); }

  /* Override desktop hover—use .open class instead */
  .dropdown-content {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    background: transparent;
    transition: none;
  }
  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
  }
  .dropdown-content a {
    padding-left: 42px;
    font-size: small;
  }
  .solution-item i  { display: none; }
  .solution-item    { display: block; }

  .dropdown.open .drop-icon { transform: rotate(180deg); }
}

/* ═══════════════════════════════════════════
   PAGE WRAP
═══════════════════════════════════════════ */
#page-wrap {
  margin-top: calc(var(--frame) + var(--nav-h));
  margin-left: var(--frame);
  margin-right: var(--frame);
  position: relative;
}

/* ═══════════════════════════════════════════
   CAROUSEL
═══════════════════════════════════════════ */
.carousel-fixed {
  position: fixed;
  top: calc(var(--frame) + var(--nav-h));
  left: var(--frame);
  right: var(--frame);
  bottom: var(--frame);
  z-index: 0;
  overflow: hidden;
  transition: opacity .3s;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .75s cubic-bezier(.77,0,.18,1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,.72));
}

.slide-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: #fff;
}
.slide-content h1 {
  font-size: clamp(1.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -1px;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.slide-content p {
  font-size: clamp(.9rem, 2vw, 1.25rem);
  margin-bottom: 28px;
  max-width: 540px;
  opacity: .92;
  line-height: 1.6;
}
.slide-content button {
  position: relative;
  overflow: hidden;
  padding: clamp(12px,2vw,16px) clamp(22px,4vw,36px);
  font-size: clamp(.82rem, 1.5vw, 1rem);
  border: none;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  z-index: 1;
  transition: color .3s;
  border-radius: 6px;
}
.slide-content button::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  border: 1px solid white;
  background: black;
  border-radius: 6px;
  z-index: -1;
  transition: width .45s;
}
.slide-content button:hover::before { width: 100%; }

/* Arrows */
.c-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, border-color .25s;
}
.c-arrow:hover          { background: var(--teal); border-color: var(--teal); }
.c-arrow.prev           { left: calc(var(--frame) + 12px); }
.c-arrow.next           { right: calc(var(--frame) + 12px); }

/* Dots */
.c-dots {
  position: fixed;
  bottom: calc(var(--frame) + 22px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .3s, width .3s;
}
.dot.on { background: var(--teal); width: 22px; }

.carousel-spacer {
  height: calc(100vh - var(--nav-h) - var(--frame));
  position: relative;
  z-index: 5;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════════ */
.section { position: relative; z-index: 10; transition: background .35s; }
.section:first-of-type { box-shadow: 0 -10px 40px rgba(0,0,0,.6); }

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
#aboutSec { background: var(--section-light); }

.about-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 50px 40px;
}
@media (min-width: 900px) {
  .about-inner { flex-direction: row; align-items: center; }
  .about-text, .about-img { flex: 1; }
}

.about-text h2 {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.about-text p {
  font-size: clamp(.95rem, 2vw, 1.05rem);
  line-height: 1.8;
  color: var(--text2);
  margin-bottom: 24px;
}
.about-clients {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--teal);
  font-weight: 700;
  font-size: clamp(.85rem, 1.5vw, 1rem);
  color: var(--teal);
  letter-spacing: 1px;
}
.about-img img {
  width: 100%;
  object-fit: cover;
  max-height: 420px;
  display: block;
}

/* ═══════════════════════════════════════════
   ORBIT SECTION  z: 5500
═══════════════════════════════════════════ */
#orbitSec {
  background: var(--section-dark);
  position: relative;
  z-index: 5500;
}

.orbit-wrapper { height: 500vh; position: relative; }

.orbit-sticky {
  position: sticky;
  top: var(--frame);
  height: calc(100vh - 2 * var(--frame));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Heading bar – visually replaces nav while sticky */
.orbit-heading {
  width: 100%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  height: var(--nav-h);
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  position: relative;
  z-index: 1;
}
.orbit-heading h1 {
  font-size: clamp(.95rem, 2.8vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -.3px;
  text-align: center;
}

@media (max-width: 1024px) {
  .orbit-heading { padding: 0 20px; height: calc(var(--nav-h) - 5px); }
  .orbit-heading h1 { font-size: clamp(.9rem, 3vw, 1.5rem); }
}
@media (max-width: 768px) {
  .orbit-heading { padding: 0 15px; height: 60px; }
  .orbit-heading h1 { font-size: clamp(.85rem, 4vw, 1.25rem); line-height: 1.3; }
}
@media (max-width: 480px) {
  .orbit-heading { padding: 0 12px; height: 55px; }
  .orbit-heading h1 { font-size: .95rem; letter-spacing: 0; }
}

/* Content area below heading */
.orbit-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
  padding: 16px 9px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

   overflow-x: hidden;
}
@media (min-width: 1024px) {
  .orbit-layout {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 24px 40px;
    gap: 30px;
    overflow-y: hidden;
  }
}

/* ── Solar system ─────────────────────── */
.solar {
  position: relative;
  flex-shrink: 0;
  width: min(40vw, 340px);
  height: min(40vw, 340px);
}
@media (max-width: 1023px) {
  .solar { width: min(78vw, 390px); height: min(78vw, 390px); }
}
@media (max-width: 600px) {
  .solar { width: min(93vw, 300px); height: min(93vw, 300px); }
}
@media (max-width: 400px) {
  .solar { width: 255px; height: 255px; }
}

.ring {
  position: absolute;
  border: 1px dashed var(--ring-color);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.sun-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(38px, 9vw, 62px);
  height: clamp(38px, 9vw, 62px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(255,255,255,.28);
}
.sun-orb img { width: 100%; height: 100%; object-fit: cover; }

.planet {
  position: absolute;
  width: clamp(32px, 5.5vw, 52px);
  height: clamp(32px, 5.5vw, 52px);
  border-radius: 50%;
  font-size: clamp(13px, 2.8vw, 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: transform .3s, box-shadow .3s, color .3s;
}
.planet.lit {
  transform: scale(1.5);
  color: #ffbb00;
  box-shadow: 0 0 18px rgba(255,187,0,.6);
}

/* ── Solution card ────────────────────── */
.sol-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
  width: 100%;
}
@media (min-width: 1024px) {
  .sol-card { flex-direction: row-reverse; align-items: center; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .sol-card { padding-top: 20px; }
}

/* Image container */
.card-img {
  position: relative;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  width: clamp(195px, 54vw, 360px);
  height: clamp(195px, 54vw, 360px);
}
@media (max-width: 600px) {
  .card-img { width: clamp(165px, 78vw, 270px); height: clamp(165px, 78vw, 270px); }
}
@media (max-width: 400px) {
  .card-img { width: 195px; height: 195px; }
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform .6s, opacity .4s;
}
.card-img::before {
  content: '';
  position: absolute;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  border: 1.5px dashed rgba(55,138,221,.35);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Spinning orbit icon */
.orbit-icon {
  position: absolute;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 8s linear infinite;
  z-index: 3;
}
.orbit-icon i {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(24px, 4.5vw, 40px);
  height: clamp(24px, 4.5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffbb00;
  font-size: clamp(15px, 3vw, 26px);
  box-shadow: 0 0 14px rgba(55,138,221,.45);
}
@keyframes orbitSpin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

.card-orbit-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(8px, 1.4vw, 11px);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  z-index: 4;
  white-space: nowrap;
}

/* Card body */
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}
@media (min-width: 1024px) {
  .card-body { align-items: flex-start; text-align: left; }
}

.card-body h2 {
  font-size: clamp(.95rem, 2.3vw, 1.35rem);
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.card-body > p {
  font-size: clamp(.75rem, 1.4vw, .92rem);
  color: var(--text2);
  line-height: 1.65;
  margin: 0;
}

/* Tags */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  justify-content: center;
}
@media (min-width: 1024px) { .card-tags { justify-content: flex-start; } }

.card-tag {
  font-size: clamp(8px, 1.1vw, 11px);
  font-weight: 700;
  padding: 5px 11px;
  background: teal;
  color: #fff;
  white-space: nowrap;
}

/* Explore button */
.explore-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: clamp(.72rem, 1.2vw, .92rem);
  font-weight: 600;
  border-radius: 3px;
  background: #ffbb00;
  color: black;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
  transition: transform .3s, box-shadow .3s, color .3s, border .3s;
}
.explore-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  background: black;
  z-index: -1;
  transition: width .45s;
}
.explore-btn:hover { transform: translateX(4px); color: white; border: 1px solid white; }
.explore-btn:hover::before { width: 100%; }
.explore-btn:hover .pixel-arrow span { background: white; }

/* Pixel arrow */
.pixel-arrow {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 1px;
  width: 12px;
  height: 12px;
}
.pixel-arrow span { width: 4px; height: 4px; background: black; }
.pixel-arrow span:nth-child(1) { grid-column: 2; grid-row: 1; }
.pixel-arrow span:nth-child(2) { grid-column: 3; grid-row: 2; }
.pixel-arrow span:nth-child(3) { grid-column: 2; grid-row: 2; }
.pixel-arrow span:nth-child(4) { grid-column: 3; grid-row: 3; }
.pixel-arrow span:nth-child(5) { grid-column: 2; grid-row: 3; }
.pixel-arrow span:nth-child(6) { grid-column: 1; grid-row: 2; }

/* Mobile: hide desktop tags+button, show sheet trigger */
.sheet-trigger { display: none; }

@media (max-width: 1023px) {
  .sol-card .card-tags,
  .sol-card .explore-btn { display: none !important; }

  .sheet-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #ffbb00;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(.78rem, 2.5vw, .9rem);
    font-weight: 700;
    color: #111;
    cursor: pointer;
    margin-top: 2px;
    transition: all .25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
  }
  .sheet-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
    background: #ffc233;
  }

  /* Clamp description on mobile */
  #cardDesc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ═══════════════════════════════════════════
   BOTTOM SHEET  z: overlay 5999, sheet 6000
═══════════════════════════════════════════ */
.sol-sheet-overlay {
  position: fixed;
  top: var(--frame); left: var(--frame);
  right: var(--frame); bottom: var(--frame);
  background: rgba(0,0,0,.55);
  z-index: 5999;
  opacity: 0;
  pointer-events: none;
  display: none;
  transition: opacity .3s;
}
.sol-sheet-overlay.open { display: block; opacity: 1; pointer-events: auto; }

.sol-bottom-sheet {
  position: fixed;
  bottom: var(--frame);
  left: var(--frame);
  right: var(--frame);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-bottom: none;
  padding: 16px 20px 36px;
  z-index: 6000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(110%);
  transition: transform .38s cubic-bezier(.32,.72,0,1);
  max-height: 80vh;
  overflow-y: auto;
}
.sol-bottom-sheet.open { transform: translateY(0); }

.sol-sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 2px;
  flex-shrink: 0;
}
.sol-sheet-close {
  position: absolute;
  top: 14px; right: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 30px; height: 30px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  transition: background .2s, color .2s;
}
.sol-sheet-close:hover { background: var(--teal); color: #fff; }

.sol-sheet-label {
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  padding-right: 38px;
}
.sol-sheet-desc {
  font-size: clamp(.78rem, 2vw, .9rem);
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
}

.sheet-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
}
.sheet-tags-wrap .card-tag {
  flex: 1 1 auto;
  text-align: center;
  font-size: clamp(9px, 2.8vw, 11px);
  padding: 8px 10px;
}

.sol-bottom-sheet .explore-btn { align-self: flex-start; margin-top: 4px; }

/* ═══════════════════════════════════════════
   PROJECTS & INDUSTRIES
═══════════════════════════════════════════ */
.pi-section {
  position: relative;
  width: 100%;
  background: var(--section-light);
  overflow: hidden;
  color: #fff;
  z-index: 10;
  padding: 60px 40px;
}
.pi-bg { position: absolute; inset: 0; filter: blur(4px); transform: scale(1.05); z-index: 0; }
.pi-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.pi-title {
  font-size: clamp(1.3rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 36px;
  line-height: 1.2;
  color: var(--primary);
}

/* Radar dashboard */
.radar-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.ring-chart-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
}
.ring-chart { width: 100%; height: 100%; }

.center-logo {
  position: absolute;
  top: 50%; left: 50%;
  width: 110px; height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}
.center-logo img { width: 100%; height: 100%; object-fit: cover; }

/* Service tags */
.service-tag {
  position: absolute;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: .8rem;
  font-weight: 600;
  color: white;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-tag .count {
  position: absolute;
  top: -10px; left: -10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.cctv   { background: #f59e0b; top: 95px;  left: 220px; }
.access { background: #2563eb; top: 60px;  right: 95px; }
.fire   { background: #10b981; right: 45px; bottom: 160px; }
.pos    { background: #34d399; left: 65px;  bottom: 120px; }
.cable  { background: #60a5fa; left: 40px;  top: 150px; }

/* Service table */
.service-table-wrapper { width: 100%; color: #fff; text-align: left; }
.table-title {
  margin: 10px 0 20px;
  font-size: clamp(.95rem, 2.5vw, 1.2rem);
  color: var(--primary);
  font-weight: 700;
}

.small-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  font-size: .8rem;
}
.small-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  transition: background .2s, color .2s;
}
.small-table td:first-child { width: 40px; font-weight: 600; color: var(--primary); }
.small-table tr:hover td { background: rgba(0,128,128,.1); color: var(--text); }
.small-table tr:last-child td { border-bottom: none; }

/* Industries grid */
.ind-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.ind-box { position: relative; overflow: hidden; cursor: pointer; min-height: 200px; }
.ind-box:nth-child(1) { grid-row: span 2; }
.ind-box img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .45s;
  min-height: 140px;
}
.ind-box:nth-child(1) img { min-height: 300px; }
.ind-box:hover img { transform: scale(1.06); }
.ind-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: background .3s;
}
.ind-box:hover .ind-overlay { background: linear-gradient(to top, rgba(0,100,100,.82), rgba(0,0,0,.1) 60%); }
.ind-overlay span { font-size: clamp(.75rem, 1.5vw, .95rem); font-weight: 700; color: #fff; }
.ind-overlay i    { color: #fff; margin-right: 8px; font-size: clamp(.7rem, 1.2vw, .85rem); }

@media (max-width: 1200px) {
  .pi-grid { grid-template-columns: 1fr; gap: 50px; }
  .radar-dashboard { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) { .pi-section { padding: 40px 30px; } }
@media (max-width: 768px) {
  .pi-section { padding: 30px 20px; }
  .ring-chart-wrapper { height: 350px; }
  .service-tag { padding: 6px 10px; font-size: .7rem; }
  .service-tag .count { width: 18px; height: 18px; font-size: .6rem; }
  .cctv   { top: 60px;  left: 150px; }
  .access { top: 30px;  right: 60px; }
  .fire   { right: 20px; bottom: 100px; }
  .pos    { left: 30px;  bottom: 80px; }
  .cable  { left: 15px;  top: 100px; }
}
@media (max-width: 480px) {
  .ring-chart-wrapper { height: 280px; }
  .service-tag { padding: 5px 8px; font-size: .65rem; }
  .service-tag .count { width: 16px; height: 16px; font-size: .55rem; }
}

/* ═══════════════════════════════════════════
   BLOGS & EVENTS
═══════════════════════════════════════════ */
.be-section {
  background: var(--bg);
  position: relative;
  z-index: 10;
  padding: 60px 0px 50px;
}
.blogs-events {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 40px;
}
.blogs-events h1 {
  text-align: left;
  padding-top: 0;
  font-size: clamp(1.3rem, 3vw, 25px);
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 700;
}
.blogs { flex: 1; }
.events {
  flex: 0 0 300px;
  background: var(--bg2);
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,.1);
  height: fit-content;
  position: sticky;
  top: calc(var(--frame) + var(--nav-h) + 20px);
 
}

.blog-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}
.article {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
}
.article img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article:hover img { transform: scale(1.05); }
.article .overlay {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.8));
}
.article h3 {
  position: absolute;
  top: 20px; left: 20px; right: 20px;
  margin: 0;
  font-size: clamp(1rem, 2vw, 18px);
  font-weight: 600;
  z-index: 2;
  color: #fff;
}
.nbe-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,200,181,.2);
  color: #00c2b5;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 3;
}
body.light .nbe-badge { background: rgba(0,128,128,.2); color: #008080; }
.article p { font-size: clamp(.85rem, 1.3vw, 14px); line-height: 1.5; margin-bottom: 10px; }
.article a { font-size: clamp(.8rem, 1.2vw, 14px); font-weight: 600; color: #00c2b5; text-decoration: none; transition: color .3s; }
.article a:hover { color: #fff; }

.events-list { display: flex; flex-direction: column; gap: 15px; }
.event {
  position: relative;
  padding: 15px;
  background: #008080;
  color: #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,.15);
  transition: transform .2s, box-shadow .2s;
  border-radius: 4px;
}
body.light .event { background: #f5f5f5; color: #000; }
.event:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,.25); }
.event h3 { margin: 0 0 10px; font-size: clamp(1rem, 2vw, 18px); font-weight: 600; color: #fff; }
body.light .event h3 { color: #000; }
.event-meta { display: flex; flex-direction: column; gap: 6px; font-size: clamp(.8rem, 1.3vw, 14px); color: #fff; }
body.light .event-meta { color: #333; }
.event-meta span { display: flex; align-items: center; gap: 6px; }
.more-events {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #008080;
  text-decoration: none;
  transition: color .3s;
  font-size: clamp(.8rem, 1.2vw, 14px);
}
body.light .more-events { color: #16a34a; }
.event-status {
  position: absolute;
  top: 10px; right: 10px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: clamp(10px, .9vw, 12px);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.event-status.upcoming { background: #28a745; color: #fff; }
.event-status.past     { background: #dc3545; color: #fff; }

/* =========================
   RESPONSIVE FIX (FINAL)
========================= */

/* ≤ 1200px (tablet / small laptop) */
@media (max-width: 1200px) {

  /* Switch main layout to column */
  .blogs-events {
    flex-direction: column;
    gap: 40px;
  }

  /* Blogs take full width */
  .blogs {
    width: 100%;
  }

  /* GRID becomes single column */
  .blog-articles {
    grid-template-columns: 1fr;
  }

  /* IMPORTANT: force grid items to stretch */
  .article {
    width: 100%;
    min-height: 340px;
  }

  /* Center heading */
  .blogs-events h1 {
    text-align: center;
  }

  /* Events become full width block */
  .events {
    width: 100%;
    flex: none;
    position: static;
  }
}

/* ≤ 768px (tablet portrait / large phone) */
@media (max-width: 768px) {

  .be-section {
    padding: 40px 0px 20px;
  }

  .blog-articles {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .article {
    min-height: 300px;
  }

  .events {
    width: 100%;
    position: static;
  }
}

/* ≤ 480px (mobile) */
@media (max-width: 480px) {

  .be-section {
    padding: 30px 0px 15px;
  }

  .blogs-events h1 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
  }

  .article {
    min-height: 260px;
  }
}
/* ═══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
#ctaSec {
  position: relative;
  z-index: 10;
  background: var(--teal);
  padding: clamp(60px, 8vw, 100px) 30px;
  text-align: center;
  overflow: hidden;
}
#ctaSec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,.08), transparent 70%);
  pointer-events: none;
}
#ctaSec h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -.5px;
  position: relative;
  z-index: 1;
}
#ctaSec p {
  font-size: clamp(.9rem, 2vw, 1.05rem);
  color: rgba(255,255,255,.82);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-size: clamp(.75rem, 1.3vw, .88rem);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #fff;
  color: var(--teal);
  border: 2px solid #fff;
  text-decoration: none;
  transition: background .25s, color .25s;
  position: relative;
  z-index: 1;
  border-radius: 6px;
}
.cta-btn:hover { background: transparent; color: #fff; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 10;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px clamp(24px, 5vw, 72px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto 36px;
}
.footer-brand .brand-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: block; }
.footer-brand .brand-name { display: block; font-size: clamp(.95rem, 2vw, 1.15rem); margin: 12px 0 10px; color: var(--text); font-weight: 700; }
.footer-brand p { font-size: clamp(.75rem, 1.5vw, .88rem); color: var(--text2); line-height: 1.6; }
.footer-col h5 { font-size: clamp(.65rem, 1.2vw, .8rem); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.footer-col a  { display: block; color: var(--text2); text-decoration: none; font-size: clamp(.75rem, 1.5vw, .88rem); margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 60px;
}
.footer-bottom p { font-size: clamp(.7rem, 1.3vw, .82rem); color: var(--text2); margin: 0; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  font-size: clamp(.7rem, 1.2vw, .85rem);
  text-decoration: none;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.footer-socials a:hover { background: var(--teal); color: #fff; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-socials { justify-content: center; }
}

/* ═══════════════════════════════════════════
   MISC RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .slide-content { justify-content: flex-end; padding: 20px 14px 70px; }
}
@media (max-width: 480px) {
  .about-inner { padding: 20px 15px; }
  .slide-content { padding: 20px 10px 60px; }
}


/* ================================
   BACK TO TOP BUTTON
================================ */
#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 35px;
  display: none;
  padding: 12px 14px;
  font-size: 18px;
  background-color: teal;
  color: white;
  border: none;
  cursor: pointer;
  outline: none;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #006666;
}


/* ================================
   FLOATING CONTACT BUTTONS
================================ */
.floating-contact {
  position: fixed;
  bottom: 80px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999999;
  pointer-events: auto;
}

.contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  font-size: 22px;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  background-color: #25D366;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, background 0.3s ease;
}

.call-btn {
  background-color: #007bff;
}

.contact-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}




/* ═══════════════════════════════════════════════════════════════
TABS/MENU SYSTEM - IMPROVED STYLING
═══════════════════════════════════════════════════════════════ */
.wrapper {
margin: 60px auto;
display: flex;
gap: 60px;
max-width: 1400px;
padding: 0 2rem;
}

/* ═══════════════════════════════════════════════════════════════
SIDEBAR - COMPACT CELL STYLE
═══════════════════════════════════════════════════════════════ */
.sidebar {
width: 280px;
box-sizing: border-box;
position: sticky;
top: 140px;
height: max-content;
background: var(--bg);
padding: 8px 6px;
z-index: 40;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
gap: 4px; /* tighter cell spacing */
}

/* SIDEBAR HEADER */
.sidebar::before {
display: block;
font-size: 0.8rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 1.2px;
margin-bottom: 12px;
padding: 0 10px 12px;
border-bottom: 2px solid #e5e7eb;
}

/* MENU ITEM CONTENT LAYOUT */
.menu-box {
width: 100%;
padding: 18px 27px;
border-radius: 8px;
border: 1px solid #d1d5db;
background: var(--bg);
color: #4b5563;
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

/* LEFT SIDE */
.menu-left {
display: flex;
align-items: center;
gap: 12px;
}

/* MAIN ICON */
.menu-left i {
font-size: 1rem;
width: 20px;
text-align: center;
color: #008080;
transition: color 0.3s ease, transform 0.3s ease;
}

/* TEXT */
.menu-left span {
font-weight: 600;
font-size: 0.95rem;
}

/* RIGHT ARROW */
.menu-arrow {
font-size: 0.8rem;
color: #9ca3af;
transition: transform 0.3s ease, color 0.3s ease;
}

/* HOVER */
.menu-box:hover {
background: #f0f9f8;
color: #008080;
transform: translateX(4px);
}

.menu-box:hover .menu-left i {
transform: scale(1.15);
}

.menu-box:hover .menu-arrow {
transform: translateX(4px);
color: #008080;
}

/* ACTIVE */
.menu-box.active {
background: linear-gradient(135deg, #008080 0%, #00a09a 100%);
color: white;
border-color: #008080;
}

.menu-box.active .menu-left i,
.menu-box.active .menu-arrow {
color: white;
}

/* MOBILE */
@media(max-width:768px) {
.menu-box {
padding: 14px 18px;
}

.menu-left span {
font-size: 1rem;
}
}
/* CONTENT AREA */
.content {
flex: 1;
min-width: 0;
}

.content-section {
padding: 0;
box-sizing: border-box;
min-height: 70vh;
margin-bottom: 80px;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.4s ease, visibility 0.4s ease;
scroll-margin-top: 120px;
}

.content-section.active {
opacity: 1;
visibility: visible;
pointer-events: auto;
animation: fadeInContent 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInContent {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.content h1, .content h2 {
margin: 0 0 32px 0;
font-size: clamp(2.2rem, 5vw, 3.6rem);
font-weight: 800;
color: #008080;
letter-spacing: -0.02em;
position: relative;
padding-bottom: 16px;
}

.content h1::after, .content h2::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 80px;
height: 5px;
background: linear-gradient(90deg, #008080, #00a09a);
border-radius: 3px;
}

.content p {
margin: 0 0 24px 0;
color: #4b5563;
font-size: 1.08rem;
line-height: 1.85;
letter-spacing: 0.2px;
max-width: 800px;
}

.content p:last-child {
margin-bottom: 0;
}

/* ABOUT STATS */
.about-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 1.5rem;
margin-top: 2rem;
padding: 10px;
}

.about-stat {
background: rgba(0, 128, 128, 0.05);
border: 1px solid rgba(0, 128, 128, 0.2);
border-radius: 8px;
padding: 1.8rem 1.4rem;
text-align: center;
transition: var(--transition);
position: relative;
overflow: hidden;
}

.about-stat::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle at top, rgba(0, 128, 128, 0.1), transparent 70%);
opacity: 0;
transition: opacity 0.35s ease;
}

.about-stat:hover {
transform: translateY(-6px) scale(1.02);
border-color: #008080;
box-shadow: var(--shadow-lg);
}

.about-stat:hover::before {
opacity: 1;
}

.about-stat h3 {
font-size: clamp(1.8rem, 2.5vw, 2.4rem);
color: #008080;
margin-bottom: 0.4rem;
font-weight: 700;
letter-spacing: 0.5px;
}

.about-stat span {
font-size: 0.95rem;
color: var(--text-muted);
letter-spacing: 0.6px;
text-transform: uppercase;
font-weight: 500;
}

/* MAP SECTION */
.map-section {
padding: 3rem 0;
text-align: center;
position: relative;
overflow: hidden;
}

.map-section h2 {
font-size: clamp(1.8rem, 3.5vw, 2.5rem);
font-weight: 700;
margin-bottom: 1rem;
color: var(--text);
}

.map-section > p {
max-width: 600px;
margin: 0 auto 2rem;
color: #6b7280;
padding: 0 10px;
}

.map-wrapper {
position: relative;
display: inline-block;
width: 100%;
max-width: 100%;
margin: 0 auto;
}

.map-wrapper img {
width: 100%;
height: auto;
animation: floatMap 6s ease-in-out infinite;
border-radius: 12px;
}

@keyframes floatMap {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-12px); }
}

.map-overlay {
position: absolute;
width: 200px;
top: 1rem;
right: 1rem;
background: rgba(0, 128, 128, 0.95);
backdrop-filter: blur(8px);
padding: 0.85rem 1.1rem;
border-radius: 8px;
display: flex;
flex-direction: column;
text-align: left;
gap: 0.5rem;
box-shadow: var(--shadow-lg);
animation: fadeSlideIn 1.2s ease forwards;
}

.map-overlay span {
color: #ffffff;
font-size: 0.9rem;
font-weight: 600;
letter-spacing: 0.03em;
white-space: nowrap;
}

@keyframes fadeSlideIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}

/* JUMP LABEL */
.jump-indicator {
display: none;
position: fixed;
right: 20px;
bottom: 150px;
background: #1e293b;
color: white;
padding: 10px 16px;
border-radius: 30px;
font-size: 14px;
opacity: 0.85;
pointer-events: none;
z-index: 1;
transition: opacity 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════
MOBILE SIDEBAR - ICON ONLY MODE
═══════════════════════════════════════════════════════════════ */
@media(max-width:768px) {

.sidebar {
width: 20px;
display: flex;
flex-direction: column;
align-items: center;
position: sticky;
top: 120px;
gap: 32px;
}

/* Vertical guide line */
.sidebar::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
width: 0.5px;
background: var(--section-light);
left: 50%;
transform: translateX(-50%);
}

/* MENU BOX */
.menu-box {
width: 42px;
height: 42px;
padding: 0;
margin: 0;

border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;

background: #f3f4f6;
border: 1px solid #d1d5db;

position: relative;
z-index: 1;

text-indent: 0;
overflow: hidden;
}

/* REMOVE LABEL TEXT */
.menu-left span,
.menu-arrow {
display: none !important;
}

/* CENTER ICON */
.menu-left {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}

.menu-left i {
font-size: 1rem;
width: auto;
color: #008080;
margin: 0;
}

/* HOVER */
.menu-box:hover {
transform: scale(1.08);
background: #f0f9f8;
}

/* ACTIVE */
.menu-box.active {
transform: scale(1.25);
background: linear-gradient(135deg, #008080 0%, #00a09a 100%);
border-color: #008080;
box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.25);
}

.menu-box.active .menu-left i {
color: white;
}

/* REMOVE DESKTOP EFFECTS */
.menu-box::before,
.menu-box::after {
display: none;

}

.content {
padding-left: 1px;
}

.content h1, .content h2 {
padding: 5px 2px;
font-size: clamp(1.5rem, 3vw, 2rem);
}

.content p {
padding: 5px 2px;
font-size: 0.95rem;
}
}

@media (max-width: 600px) {
.wrapper {
margin: 20px auto;
}

.about-stats {
grid-template-columns: 1fr;
}

.map-overlay {
width: 160px;
top: 0.5rem;
right: 0.5rem;
padding: 0.6rem 0.8rem;
font-size: 0.8rem;
}

.map-overlay span {
font-size: 0.8rem;
}
}

/* ─────────────────────────────
   ABOUT SECTION
───────────────────────────── */
.about-section {
  position: relative;
  padding: 90px 0;
  background: var(--bg);
  overflow: hidden;
  margin-top:30px;
}

.about-container {
 
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* IMAGE SIDE */
.about-image {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* CONTENT SIDE */
.about-content {
  padding: 20px;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 20px;
  position: relative;
}

.about-content h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: var(--teal);
  position: absolute;
  left: 0;
  bottom: -10px;
}

.about-content p {
  margin-top: 28px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.9;
  color: var(--text2);
  max-width: 600px;
}

/* ─────────────────────────────
   MOBILE GRADIENT SHADE OVERLAY
───────────────────────────── */
.about-overlay {
  display: none;
}

/* ─────────────────────────────
   RESPONSIVE LAYOUT
───────────────────────────── */
@media(max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-image {
    border-radius: 18px 18px 0 0;
  }

  .about-image img {
    min-height: 300px;
  }

  .about-content {
    position: relative;
    padding: 60px 25px 40px;
    background: var(--bg);
   
    margin-top: -5px;
  }

  /* Three-shade separator */
  .about-overlay {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(300px + 90px);
    height: 120px;
    z-index: 1;
    background:
      linear-gradient(to bottom,
        rgba(0,128,128,0) 0%,
        rgba(0,128,128,0.18) 30%,
        rgba(0,128,128,0.38) 65%,
        rgba(0,128,128,0.75) 100%);
  }

  .about-content h2,
  .about-content p {
    position: relative;
    z-index: 2;
  }
}

@media(max-width: 600px) {
  .about-section {
    padding: 70px 0;
  }

  .about-image img {
    min-height: 240px;
  }

  .about-overlay {
    top: calc(240px + 70px);
    height: 100px;
  }

  .about-content {
    padding: 55px 20px 35px;
  }

  .about-content p {
    line-height: 1.8;
  }
}

/* ════ CONTACT PAGE ════ */
.contact-page {
    margin: 0 auto;
    padding: 56px var(--frame) 100px;
}

.contact-page-header {
    text-align: center;
    margin-bottom: 76px;
}

.contact-page-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 12px;
}

.contact-page-header p {
    font-size: 1.05rem;
    color: var(--text2);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════
   CONTACT GRID (50 / 50)
═══════════════════════════════════════*/
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* ═══════════════════════════════════════
   CARD BASE
═══════════════════════════════════════*/
.contact-form-card,
.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 36px;
    box-shadow: none;
    height: 100%;
}

/* ═══════════════════════════════════════
   FORM HEADER
═══════════════════════════════════════*/
.contact-form-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════
   FORM LAYOUT
═══════════════════════════════════════*/
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text);
    opacity: .55;
}

/* ═══════════════════════════════════════
   INPUT GROUP (ICON INSIDE)
═══════════════════════════════════════*/
.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .85rem;
    color: var(--text2);
    pointer-events: none;
}

/* ═══════════════════════════════════════
   FORM CONTROL (UNIFIED)
═══════════════════════════════════════*/
.form-control {
    width: 100%;
    padding: 8px 12px 8px 38px;
    border-radius: 0;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: .92rem;
    transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.15);
}

textarea.form-control {
    min-height: 130px;
    line-height: 1.6;
    resize: none;
}

/* Dark mode */
body:not(.light) .form-control {
    background: var(--surface);
}

body:not(.light) select.form-control option {
    background: var(--bg2);
}

/* ═══════════════════════════════════════
   BUTTON
═══════════════════════════════════════*/
.form-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity .2s, transform .2s;
}

.form-submit-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.form-submit-btn i {
    font-size: .9rem;
}

/* ═══════════════════════════════════════
   MAP
═══════════════════════════════════════*/
.contact-info-card {
    padding: 0;
    overflow: hidden;
}

.contact-map-embed {
    width: 100%;
    height: 100%;
}

.contact-map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ═══════════════════════════════════════
   FAQ GRID (50 / 50)
═══════════════════════════════════════*/
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 64px;
    align-items: start;
}

/* ═══════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════*/
.faq-section {
    margin-top: 0;
}

.faq-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.faq-section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
}

.faq-section-header p {
    font-size: .97rem;
    color: var(--text2);
    margin-top: 6px;
}

/* FAQ list */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Item */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    transition: border-color .25s;
}

.faq-item.open {
    border-color: var(--primary);
}

/* Question */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    color: var(--text);
    user-select: none;
    transition: color .2s;
}

.faq-question:hover {
    color: var(--primary);
}

/* Icon */
.faq-question .faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: var(--text2);
    flex-shrink: 0;
    transition: transform .3s, border-color .2s, color .2s, background .2s;
}

.faq-item.open .faq-question .faq-icon {
    transform: rotate(45deg);
    border-color: var(--primary);
    color: var(--primary);
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .3s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer-inner {
    padding: 0 18px 16px;
    font-size: .92rem;
    color: var(--text2);
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   HELP PANEL (RIGHT SIDE)
═══════════════════════════════════════*/
.faq-help {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card */
.faq-help-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 0;
}

/* Titles */
.faq-help-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text);
}

/* Text */
.faq-help-card p {
    font-size: .9rem;
    color: var(--text2);
    margin-bottom: 18px;
}

/* Buttons */
.faq-help-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-help-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    border: 1px solid var(--primary);
    color: #fff;
    background: var(--primary);
    transition: .2s;
}

.faq-help-btn.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.faq-help-btn:hover {
    opacity: .9;
}

/* Mini info */
.faq-mini-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: .9rem;
    color: var(--text2);
}

.faq-mini-info div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-mini-info i {
    font-size: .8rem;
    color: var(--primary);
}

/* ═══════════════════════════════════════
   RESPONSIVE — 1080px
═══════════════════════════════════════*/
@media (max-width: 1080px) {
    .contact-page {
        padding: 48px var(--frame) 80px;
    }

    .contact-page-header {
        margin-bottom: 56px;
    }

    .contact-page-header h1 {
        font-size: 2rem;
    }

    .contact-grid {
        gap: 20px;
    }

    .faq-grid {
        gap: 24px;
        margin-top: 48px;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 900px
═══════════════════════════════════════*/
@media (max-width: 900px) {
    .contact-page {
        padding: 40px var(--frame) 72px;
    }

    .contact-page-header h1 {
        font-size: 1.8rem;
    }

    .contact-page-header p {
        font-size: 1rem;
    }

    /* Stack contact grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Give map a fixed height when stacked */
    .contact-info-card {
        min-height: 320px;
    }

    .contact-form-card,
    .contact-info-card {
        height: auto;
    }

    /* Stack FAQ grid */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 40px;
    }

    .faq-help {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .faq-help-card {
        flex: 1 1 280px;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 768px
═══════════════════════════════════════*/
@media (max-width: 768px) {
    .contact-page {
        padding: 36px var(--frame) 64px;
    }

    .contact-page-header {
        margin-bottom: 40px;
    }

    .contact-page-header h1 {
        font-size: 1.6rem;
    }

    .contact-form-card {
        padding: 28px 24px;
    }

    /* Stack form row */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .faq-section-header h2 {
        font-size: 1.4rem;
    }

    .faq-help {
        flex-direction: column;
    }

    .faq-help-card {
        flex: unset;
    }

    .faq-help-actions {
        flex-direction: row;
    }

    .faq-help-btn {
        flex: 1;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 600px
═══════════════════════════════════════*/
@media (max-width: 600px) {
    .contact-page {
        padding: 28px var(--frame) 56px;
    }

    .contact-page-header h1 {
        font-size: 1.45rem;
    }

    .contact-page-header p {
        font-size: .95rem;
    }

    .contact-form-card {
        padding: 24px 20px;
    }

    .contact-info-card {
        min-height: 260px;
    }

    .faq-question {
        font-size: .9rem;
        padding: 12px 14px;
    }

    .faq-answer-inner {
        font-size: .88rem;
        padding: 0 14px 14px;
    }

    .faq-help-actions {
        flex-direction: column;
    }

    .faq-help-btn {
        flex: unset;
    }

    .faq-mini-info {
        font-size: .85rem;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 480px
═══════════════════════════════════════*/
@media (max-width: 480px) {
    .contact-page {
        padding: 24px var(--frame) 48px;
    }

    .contact-page-header {
        margin-bottom: 32px;
    }

    .contact-page-header h1 {
        font-size: 1.3rem;
    }

    .contact-page-header p {
        font-size: .9rem;
    }

    .contact-form-card {
        padding: 20px 16px;
    }

    .contact-form-card h2 {
        font-size: 1.05rem;
        margin-bottom: 18px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-control {
        font-size: .88rem;
        padding: 8px 10px 8px 34px;
    }

    .form-submit-btn {
        padding: 12px;
        font-size: .95rem;
    }

    .contact-info-card {
        min-height: 220px;
    }

    .faq-grid {
        margin-top: 32px;
    }

    .faq-section-header h2 {
        font-size: 1.2rem;
    }

    .faq-section-header p {
        font-size: .88rem;
    }

    .faq-help-card {
        padding: 18px 16px;
    }

    .faq-help-card h3 {
        font-size: 1rem;
    }

    .faq-help-card p {
        font-size: .85rem;
        margin-bottom: 14px;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 420px
═══════════════════════════════════════*/
@media (max-width: 420px) {
    .contact-page-header h1 {
        font-size: 1.2rem;
    }

    .contact-form-card {
        padding: 18px 14px;
    }

    .contact-form-card h2 {
        font-size: 1rem;
    }

    .form-group label {
        font-size: .72rem;
    }

    .form-control {
        font-size: .85rem;
    }

    .contact-info-card {
        min-height: 200px;
    }

    .faq-question {
        font-size: .85rem;
        padding: 11px 12px;
    }

    .faq-icon {
        width: 20px;
        height: 20px;
        font-size: .65rem;
    }

    .faq-answer-inner {
        font-size: .85rem;
        padding: 0 12px 12px;
    }

    .faq-help-card {
        padding: 16px 14px;
    }

    .faq-help-btn {
        font-size: .85rem;
        padding: 9px;
    }

    .faq-mini-info {
        font-size: .8rem;
    }
}

