/* Caprisilcolumns.com — Sunset Orange Gradient theme
   One-page starter. Reusable header/footer injected from assets/components.js
*/
:root{
  --sidebar-width: 300px;
  --sidebar-gap: 24px;

  --font: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --bg1: #ff5f1f;     /* sunset orange */
  --bg2: #ff9f1c;     /* golden orange */
  --bg3: #ff3d77;     /* warm pink */
  --ink: rgba(255,255,255,0.92);
  --ink2: rgba(255,255,255,0.78);
  --card: rgba(255,255,255,0.14);
  --card2: rgba(255,255,255,0.10);
  --stroke: rgba(255,255,255,0.22);
  --shadow: 0 12px 35px rgba(0,0,0,0.22);
  --shadow2: 0 10px 22px rgba(0,0,0,0.18);
  --radius: 18px;
  --radius2: 22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background: radial-gradient(1100px 600px at 15% 10%, rgba(255,255,255,0.25), transparent 55%),
              radial-gradient(900px 520px at 85% 20%, rgba(255,255,255,0.18), transparent 60%),
              linear-gradient(135deg, var(--bg1), var(--bg2) 45%, var(--bg3));
  background-attachment: fixed;
}

a{color:var(--ink); text-decoration:none}
a:hover{opacity:0.95; text-decoration:underline}

.skip-link{
  position:absolute;
  left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px; border-radius:12px;
  background:rgba(0,0,0,0.35);
  border:1px solid rgba(255,255,255,0.35);
  z-index:9999;
}

.page{max-width:1180px; margin:0 auto; padding:92px 16px 40px;}

.header{
  position:fixed; top:0; left:0; right:0;
  z-index:1000;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.20);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.header-inner{
  max-width:1180px;
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 320px;
}
.logo{
  width:52px; height:52px;
  border-radius:999px;
  display:grid; place-items:center;
  background: linear-gradient(160deg, rgba(255,255,255,0.25), rgba(255,255,255,0.10));
  border:1px solid rgba(255,255,255,0.28);
  box-shadow: var(--shadow2);
  flex:0 0 auto;
}
.logo span{
  font-weight:800;
  letter-spacing:0.5px;
}
.brand-text{line-height:1.15}
.brand-text .site{
  font-size:18px;
  font-weight:700;
}
.brand-text .tag{
  font-size:12px;
  color:var(--ink2);
  font-weight:500;
}
.brand-text .tag strong{color:var(--ink); font-weight:700}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 1 1 auto;
  justify-content:flex-start;
}
.nav a, .nav button{
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 12px;
  border-radius: 14px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.nav a:hover, .nav button:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  text-decoration:none;
  transform: translateY(-1px);
}
.nav .active{
  background: rgba(0,0,0,0.18);
  border-color: rgba(255,255,255,0.20);
}

.dropdown{position:relative}
.dropdown-menu{
  position:absolute;
  top:46px; left:0;
  min-width: 240px;
  padding: 8px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.30);
  box-shadow: var(--shadow);
  display:none;
}
.dropdown-menu a{
  display:block;
  padding:10px 12px;
  border-radius: 12px;
}
.dropdown-menu a:hover{
  background: rgba(255,255,255,0.12);
  text-decoration:none;
}
.dropdown.open .dropdown-menu{display:block}

.header-cta{
  display:flex; gap:10px; align-items:center;
  flex:0 0 auto;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow2);
  font-size: 12px;
  color: var(--ink2);
}
.pill strong{color:var(--ink)}
.btn-small{
  padding:10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-small:hover{
  background: rgba(0,0,0,0.25);
  text-decoration:none;
}

.hero{
  margin-top: 10px;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  align-items: stretch;
}
.hero-copy, .hero-panel{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
}
.hero-copy{padding:22px}
.hero-copy h1{
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: .2px;
}
.hero-copy p{margin:0; color:var(--ink2); line-height:1.6}
.hero-copy strong{color:var(--ink)}
.hero-badges{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px}
.badge{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(255,255,255,0.20);
}

.hero-panel{padding:18px}
.hero-panel h2{margin:0 0 8px; font-size: 16px}
.quick{margin: 0; padding-left:18px; color:var(--ink2)}
.quick a{color:var(--ink)}
.mini-note{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--ink2);
  font-size: 12px;
  line-height: 1.55;
}

.section{margin-top: 26px;}
.section-head{
  padding: 16px 18px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.12);
  box-shadow: var(--shadow2);
}
.section-head h2{margin:0 0 6px; font-size: 20px}
.section-head p{margin:0; color:var(--ink2); line-height:1.6}

.grid-3x3{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  box-shadow: var(--shadow2);
  padding: 16px;
  display:flex;
  flex-direction:column;
  gap: 12px;
  min-height: 330px;
}
.card h3{
  margin:0 0 6px;
  font-size: 18px;
}
.card p{
  margin:0;
  color: var(--ink2);
  line-height:1.55;
  font-size: 13px;
}
.card-specs{
  padding: 12px;
  border-radius: 16px;
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.16);
}
.card-specs h4{
  margin:0 0 8px;
  font-size: 13px;
  letter-spacing: .2px;
}
.card-specs ul{
  margin:0;
  padding-left: 18px;
  color: var(--ink2);
  line-height: 1.55;
  font-size: 12.5px;
}
.card-cta{
  margin-top:auto;
  display:inline-flex;
  justify-content:center;
  padding: 11px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.16);
  box-shadow: var(--shadow2);
  font-weight: 600;
}
.card-cta:hover{background: rgba(0,0,0,0.24); text-decoration:none}

.enquiry{
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  box-shadow: var(--shadow2);
}
.enquiry label{
  display:flex;
  flex-direction:column;
  gap: 6px;
  font-size: 12px;
  color: var(--ink2);
  font-weight: 500;
}
.enquiry input, .enquiry textarea{
  font-family: var(--font);
  font-size: 13px;
  color: var(--ink);
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 11px 12px;
  border-radius: 14px;
  outline:none;
}
.enquiry input:focus, .enquiry textarea:focus{
  border-color: rgba(255,255,255,0.34);
}
.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.row-actions{
  grid-template-columns: 1fr auto;
  align-items:center;
}
.checkbox{
  display:flex !important;
  flex-direction:row !important;
  align-items:center;
  gap:10px !important;
  color: var(--ink);
  font-weight:600;
}
.checkbox input{width:18px; height:18px; accent-color: #ffffff;}
.btn{
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,0.26);
  background: rgba(0,0,0,0.22);
  color: var(--ink);
  cursor:pointer;
  box-shadow: var(--shadow2);
}
.btn:hover{background: rgba(0,0,0,0.30)}
.form-note{margin:10px 0 0; color: var(--ink2); font-size: 12px; line-height:1.55}

.footer{
  border-top:1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.22);
  margin-top: 26px;
}
.footer-inner{
  max-width:1180px;
  margin:0 auto;
  padding: 18px 16px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 14px;
}
.footer h3{
  margin:0 0 8px;
  font-size: 14px;
}
.footer p, .footer li{
  margin:0;
  color: var(--ink2);
  font-size: 12.5px;
  line-height:1.55;
}
.footer ul{margin:0; padding-left: 18px; color: var(--ink2)}
.footer a{color: var(--ink)}
.footer-bottom{
  margin-top: 14px;
  padding-top: 14px;
  border-top:1px solid rgba(255,255,255,0.12);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap: 10px;
  color: var(--ink2);
  font-size: 12px;
}
.counter{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.counter .box{
  padding:8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.16);
  color: var(--ink);
  font-weight:700;
}
.counter small{color: var(--ink2); font-weight:500}

@media (max-width: 980px){
  .hero-inner{grid-template-columns: 1fr}
  .grid-3x3{grid-template-columns: repeat(2, 1fr)}
  .footer-grid{grid-template-columns: 1fr}
  .brand{min-width:unset}
  .nav{flex-wrap:wrap}
}
@media (max-width: 620px){
  .grid-3x3{grid-template-columns: 1fr}
  .row{grid-template-columns: 1fr}
  .page{padding-top: 112px}
}

/* ===== Vertical Sidebar Menu (Common for all pages) ===== */
:root{
  --sidebar-bg: rgba(10, 8, 8, 0.62); /* dark for strong contrast */
  --sidebar-stroke: rgba(255,255,255,0.16);
  --sidebar-link: rgba(255,255,255,0.96);
  --sidebar-muted: rgba(255,255,255,0.78);
}

.page{
  max-width:1180px;
  margin:0 auto;
  padding: 28px 16px 40px;
  padding-left: calc(300px + 16px); /* room for sidebar */
}

.sidebar{
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  padding: 14px 14px 16px;
  background: var(--sidebar-bg);
  backdrop-filter: blur(10px);
  border-right: 1px solid var(--sidebar-stroke);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* allow the whole sidebar to scroll if needed (safe fallback) */
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-bottom: 28px;
}

.sidebar-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}

.logo{
  width:52px; height:52px;
  border-radius:999px;
  display:grid; place-items:center;
  background: linear-gradient(160deg, rgba(255,255,255,0.20), rgba(255,255,255,0.06));
  border:1px solid rgba(255,255,255,0.24);
  box-shadow: var(--shadow2);
  flex:0 0 auto;
}
.logo span{font-weight:900; letter-spacing:0.6px; color: #fff;}

.brand-text .site{
  font-size: 18px;
  font-weight: 800;
  color: var(--sidebar-link);
}
.brand-text .tag{
  font-size: 12px;
  color: var(--sidebar-muted);
  font-weight: 500;
  line-height: 1.35;
}

.side-nav{
  display:flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}

.side-nav a, .side-btn{
  font: inherit;
  color: var(--sidebar-link);
  background: rgba(0,0,0,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 12px 12px;
  border-radius: 14px;
  cursor:pointer;
  text-align:left;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.side-nav a:hover, .side-btn:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  text-decoration:none;
  transform: translateY(-1px);
}
.side-nav a.active{
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
}

.side-group{display:flex; flex-direction:column; gap:8px;}
.side-sub{
  display:none;
  padding-left: 8px;
  gap: 8px;
  flex-direction: column;
}
.side-group.open .side-sub{display:flex;}
.side-sub a{
  padding: 11px 12px;
  background: rgba(0,0,0,0.06);
}
.chev{float:right; opacity:0.9}

.side-foot{
  margin-top: auto;
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
  font-size: 12px;
  color: var(--sidebar-muted);
}
.pill strong{color: var(--sidebar-link);}
.pill a{color: var(--sidebar-link); text-decoration: underline; text-underline-offset: 3px;}

.btn-small{
  display:inline-flex;
  justify-content:center;
  padding:10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--sidebar-link);
}
.btn-small:hover{background: rgba(255,255,255,0.14); text-decoration:none;}

/* Remove top fixed header spacing from old layout */
.page{padding-top: 24px;}

/* Responsive: sidebar becomes top bar */
@media (max-width: 980px){
  .sidebar{
    position: sticky;
    width: auto;
    height: auto;
    top: 0;
    border-right: none;
    border-bottom: 1px solid var(--sidebar-stroke);
    flex-direction: column;
  }
  .page{
    padding-left: 16px;
    padding-top: 14px;
  }
}

/* ===== Overrides: Full-width top header + horizontal menu ===== */
.page{
  max-width:1180px;
  margin:0 auto;
  padding: 92px 16px 40px; /* space for fixed header */
}

/* Full-width fixed header */
.top-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1500;
  backdrop-filter: blur(10px);
  background: rgba(10,8,8,0.50);   /* darker for better contrast */
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.top-header-inner{
  max-width:1180px;
  margin:0 auto;
  padding: 10px 16px;
  display:flex;
  align-items:center;
  gap: 14px;
  justify-content: space-between;
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-start;
}
.nav a, .nav button{
  font: inherit;
  color: rgba(255,255,255,0.96);
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 12px;
  border-radius: 14px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.nav a:hover, .nav button:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  text-decoration:none;
  transform: translateY(-1px);
}
.nav a.active{
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
}

.dropdown{position:relative}
.dropdown-menu{
  position:absolute;
  top:46px; left:0;
  min-width: 240px;
  padding: 8px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.40);
  box-shadow: var(--shadow);
  display:none;
}
.dropdown.open .dropdown-menu{display:block}
.dropdown-menu a{display:block; padding:10px 12px; border-radius:12px; color: rgba(255,255,255,0.95);}
.dropdown-menu a:hover{background: rgba(255,255,255,0.12); text-decoration:none}

/* Hero right panel: phases index */
.panel-note{
  margin: 8px 0 12px;
  color: var(--ink2);
  font-size: 12.5px;
  line-height: 1.55;
}
.phase-index{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.90);
}
.phase-index a{
  color: rgba(255,255,255,0.96);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Remove empty space previously reserved by sidebar overrides on small screens */
@media (max-width: 980px){
  .page{padding-top: 112px;}
  .nav{flex-wrap:wrap}
}

/* ===== FULL WIDTH HEADER ===== */
.top-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  backdrop-filter: blur(10px);
  background: rgba(20,10,10,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.top-header-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
}

/* ===== FIXED VERTICAL SIDEBAR MENU ===== */
.sidebar{
  position: fixed;
  top: 78px;   /* below header */
  left: 0;
  bottom: 0;
  width: 260px;
  background: rgba(10,8,8,0.75);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255,255,255,0.14);
  padding: 18px 14px;
  z-index: 1400;
}

.side-nav{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-nav a, .side-btn{
  font: inherit;
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: 0.2s ease;
}

.side-nav a:hover, .side-btn:hover{
  background: rgba(255,255,255,0.15);
}

.side-nav a.active{
  background: rgba(255,255,255,0.22);
}

.side-group .side-sub{
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.side-group.open .side-sub{
  display: flex;
}

/* Adjust page content for sidebar */
.page{
  padding-top: 110px;
  padding-left: 290px;
}

/* ===== Card Typography Enhancement (Stronger Contrast + Bold) ===== */

.card h3{
  font-weight: 800;
  color: #ffffff;
  font-size: 19px;
  letter-spacing: 0.3px;
}

.card p{
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  font-size: 14px;
}

.card-specs h4{
  font-weight: 700;
  color: #ffffff;
}

.card-specs ul{
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.10));
  border: 1px solid rgba(255,255,255,0.28);
}

/* ===== Products List Page: Filters + Table ===== */
.filters{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap:wrap;
  padding: 12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.12);
  box-shadow: var(--shadow2);
}
.filters input, .filters select{
  font-family: var(--font);
  font-size: 13.5px;
  color: rgba(255,255,255,0.96);
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 11px 12px;
  border-radius: 14px;
  outline: none;
}
.filters input{flex: 1 1 360px; min-width: 260px;}
.filters select{flex: 0 0 180px;}
.filters .count{display:flex; align-items:center; gap:10px; margin-left:auto;}
.filters .box{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 800;
}
.filters small{color: var(--ink2); font-weight:600;}

.table-wrap{
  margin-top: 14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,0.18);
  overflow:auto;
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow2);
}
.data-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}
.data-table thead th{
  position: sticky;
  top: 0;
  background: rgba(10,8,8,0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  text-align:left;
  padding: 12px 12px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  z-index: 2;
}
.data-table td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-size: 12.8px;
  line-height: 1.35;
  vertical-align: top;
}
.data-table tbody tr:hover td{
  background: rgba(255,255,255,0.06);
}
.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 800;
  color: #fff;
}

/* ===== Phase Navigation Buttons ===== */
.phase-nav{
  margin-top: 14px;
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.18);
}

.phase-nav h3{
  margin: 0 0 12px;
  font-weight: 800;
  color: #ffffff;
}

.phase-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.phase-btn{
  padding:10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.22);
  color:#ffffff;
  font-weight:700;
  text-decoration:none;
  transition:0.2s ease;
}

.phase-btn:hover{
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* ===== HIGH CONTRAST PROFESSIONAL THEME (Deep Indigo) ===== */

body.sunset{
  background: linear-gradient(135deg, #1e1b4b, #312e81 45%, #4338ca);
  color: #f8fafc;
}

/* Header */
.top-header{
  background: rgba(49, 46, 129, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

/* Sidebar */
.sidebar{
  background: rgba(30, 27, 75, 0.95);
  border-right: 1px solid rgba(255,255,255,0.25);
}

/* Section blocks */
.section-head,
.filters,
.phase-nav,
.table-wrap{
  background: rgba(67, 56, 202, 0.15);
  border: 1px solid rgba(255,255,255,0.25);
}

/* Card styling */
.card{
  background: rgba(67, 56, 202, 0.25);
  border: 1px solid rgba(255,255,255,0.35);
}

.card h3{
  color: #ffffff;
  font-weight: 800;
}

.card p,
.card-specs ul,
.section-head p{
  color: #f1f5f9;
  font-weight: 500;
}

/* Table */
.data-table thead th{
  background: #312e81;
  color: #ffffff;
  font-weight: 800;
}

.data-table td{
  color: #f8fafc;
}

.data-table tbody tr:hover td{
  background: rgba(255,255,255,0.15);
}

/* Buttons */
.phase-btn,
.side-nav a,
.side-btn{
  background: #4338ca;
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;
  font-weight: 700;
}

.phase-btn:hover,
.side-nav a:hover,
.side-btn:hover{
  background: #6366f1;
}

/* Inputs */
.filters input,
.filters select{
  background: #312e81;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}

/* Mono text */
.mono{
  color: #ffffff;
  font-weight: 800;
}

/* ===== EMERALD TEAL PROFESSIONAL THEME ===== */

body.sunset{
  background: linear-gradient(135deg, #064e3b, #065f46 45%, #0f766e);
  color: #f0fdfa;
}

/* Header */
.top-header{
  background: rgba(6, 78, 59, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.30);
}

/* Sidebar */
.sidebar{
  background: rgba(6, 95, 70, 0.95);
  border-right: 1px solid rgba(255,255,255,0.30);
}

/* Section blocks */
.section-head,
.filters,
.phase-nav,
.table-wrap{
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(255,255,255,0.35);
}

/* Cards */
.card{
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(255,255,255,0.40);
}

.card h3{
  color: #ffffff;
  font-weight: 800;
}

.card p,
.card-specs ul,
.section-head p{
  color: #ecfdf5;
  font-weight: 500;
}

/* Tables */
.data-table thead th{
  background: #065f46;
  color: #ffffff;
  font-weight: 800;
}

.data-table td{
  color: #f0fdfa;
}

.data-table tbody tr:hover td{
  background: rgba(255,255,255,0.20);
}

/* Buttons */
.phase-btn,
.side-nav a,
.side-btn{
  background: #10b981;
  border: 1px solid rgba(255,255,255,0.40);
  color: #ffffff;
  font-weight: 700;
}

.phase-btn:hover,
.side-nav a:hover,
.side-btn:hover{
  background: #34d399;
}

/* Inputs */
.filters input,
.filters select{
  background: #065f46;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.40);
}

/* Mono text */
.mono{
  color: #ffffff;
  font-weight: 800;
}

/* ===== POPPINS FONT APPLIED ===== */
:root{
  --font: 'Poppins', sans-serif;
}

body{
  font-family: var(--font);
}

/* ===== TABLE FULL WIDTH + SINGLE LINE DESCRIPTION ===== */

/* Expand main content closer to sidebar */
.page{
  margin-left: 220px !important;   /* reduce gap from vertical menu */
  padding-right: 20px !important;
}

/* Make table stretch full width */
.table-wrap{
  width: 100% !important;
  max-width: 100% !important;
}

/* Reduce extra spacing */
.section{
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* Make description single line */
.data-table td:first-child{
  white-space: nowrap;
}

/* Reduce cell padding for compact professional look */
.data-table td,
.data-table th{
  padding: 8px 10px !important;
}

/* Ensure horizontal scroll appears if needed */
.table-wrap{
  overflow-x: auto;
}

/* ===== BODY WIDTH + LEFT SHIFT (USER REQUEST) =====
   Reduce gap between vertical menu and content,
   add small padding so content is readable.
*/
:root{
  --sidebar-w: 260px;   /* sidebar width */
  --content-gap: 12px;  /* space between sidebar and content */
  --content-pad: 18px;  /* inner padding for body */
}

.page{
  margin-left: calc(var(--sidebar-w) + var(--content-gap)) !important;
  padding-left: var(--content-pad) !important;
  padding-right: 18px !important;
  max-width: 100% !important;
}

/* Use full available width */
.section, .section-head, .grid, .table-wrap{
  max-width: 100% !important;
}

/* ===== FORCE 3-CARD ROW LAYOUT FOR HOME SECTIONS ===== */
.grid-3{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
  gap: 20px !important;
}

@media (max-width: 1100px){
  .grid-3{ grid-template-columns: repeat(2, minmax(260px, 1fr)) !important; }
}
@media (max-width: 760px){
  .grid-3{ grid-template-columns: 1fr !important; }
}

/* ===== SUBMENU SCROLL SUPPORT ===== */
.side-sub{
  /* Make sure the last submenu item is always reachable/visible */
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  padding-right: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  scrollbar-gutter: stable;
}
.side-sub .sub-link{
  font-weight: 600;
  opacity: .95;
  display:block;
}
.side-sub .sub-sep{
  height: 1px;
  margin: 10px 6px;
  background: rgba(255,255,255,0.16);
}

/* ===== ONLY PHASE ITEMS YELLOW ===== */
/* This targets only links with class="sub-link"
   Group headings like "Caprichiral Columns" remain default */
.sidebar .side-sub a.sub-link{
  background: #f5c542 !important;
  border-color: rgba(0,0,0,0.20) !important;
  color: #1a1a1a !important;
  font-weight: 700 !important;
}

.sidebar .side-sub a.sub-link:hover{
  background: #ffd86a !important;
  color: #000000 !important;
}

/* ===== Contact Form ===== */
.form-wrap{max-width:920px;margin:0 auto}
.enquiry-form{padding:16px;border:1px solid rgba(255,255,255,0.16);border-radius:16px;background:rgba(0,0,0,0.10)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.enquiry-form label{display:flex;flex-direction:column;gap:6px}
.enquiry-form label.full{margin-top:12px}
.enquiry-form input,.enquiry-form textarea{
  padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.08);color:rgba(255,255,255,0.95);outline:none
}
.enquiry-form input:focus,.enquiry-form textarea:focus{border-color:rgba(255,255,255,0.32)}
.human-check{margin-top:12px;flex-direction:row !important;align-items:center;gap:10px}
.human-check input{width:18px;height:18px}
.form-actions{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:680px){.form-grid{grid-template-columns:1fr}}

/* ===== Footer Layout Fix ===== */
.site-footer{
  margin-top:40px;
  padding:40px 60px;
  background:rgba(0,0,0,0.25);
  border-top:1px solid rgba(255,255,255,0.18);
}

.footer-inner{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:40px;
  max-width:1300px;
  margin:0 auto;
}

.footer-col{
  padding:0 10px;
}

.footer-col h4{
  margin-bottom:14px;
  font-size:15px;
  letter-spacing:.5px;
  text-transform:uppercase;
}

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

.footer-links li{
  margin:8px 0;
}

.footer-links a{
  color:#ffffff;
  text-decoration:none;
}

.footer-links a:hover{
  text-decoration:underline;
}

.visitor-box{
  margin-top:12px;
  padding:12px;
  border-radius:14px;
  background:rgba(0,0,0,0.15);
  border:1px solid rgba(255,255,255,0.15);
}

.footer-bottom{
  margin-top:30px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,0.15);
  text-align:center;
  font-size:13px;
}

@media(max-width:1000px){
  .footer-inner{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:600px){
  .site-footer{
    padding:30px 20px;
  }
  .footer-inner{
    grid-template-columns:1fr;
  }
}


/* ===== Footer Alignment With Sidebar ===== */
.site-footer{
  margin-left: calc(var(--sidebar-width) + var(--sidebar-gap));
  width: calc(100% - (var(--sidebar-width) + var(--sidebar-gap)));
  box-sizing: border-box;
}
@media(max-width: 900px){
  .site-footer{
    margin-left: 0;
    width: 100%;
  }
}

/* Sidebar contact item fallback */
#site-sidebar .menu-item a{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  margin-top:10px;
  background:rgba(255,255,255,0.10);
  color:rgba(255,255,255,0.95);
  text-decoration:none;
  font-weight:700;
}
#site-sidebar .menu-item a:hover{
  background:rgba(255,255,255,0.16);
}

/* Sidebar Contact Button */
#site-sidebar .nav-btn{
  display:block;
  padding:14px 16px;
  margin:10px 10px 0 10px;
  border-radius:16px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.15);
  color:rgba(255,255,255,0.95);
  text-decoration:none;
  font-weight:800;
}
#site-sidebar .nav-btn:hover{
  background:rgba(255,255,255,0.16);
}
