* {
  box-sizing:border-box;
}

:root {
  --navy:#071747;
  --deep:#10265c;
  --blue:#075bff;
  --cyan:#00b8f0;
  --ink:#101b43;
  --muted:#68738e;
  --pale:#f4f7ff;
  --line:#e5eaf6;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
}

a {
  color:inherit;
  text-decoration:none;
}

img {
  max-width:100%;
  display:block;
}

.container {
  width:min(1200px,calc(100% - 48px));
  margin:auto;
}

.site-header {
  height:90px;
  padding:0 max(4.5%,calc((100% - 1400px)/2));
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#fff;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 4px 24px #0717470b;
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--navy);
  min-width:235px;
}

.brand-mark {
  width:58px;
  height:58px;
  border:2px solid #0a285e;
  border-radius:50%;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  color:#075bff;
  background:#f3f7ff;
}

.brand-mark img {
  width:100%;
  height:100%;
  object-fit:contain;
  position:absolute;
  inset:0;
}

.brand-mark i {
  font-size:27px;
}

.brand b {
  font-size:20px;
  display:block;
  letter-spacing:-.7px;
}

.brand small {
  display:block;
  font-size:12px;
  font-weight:600;
  margin-top:2px;
}

.main-nav {
  display:flex;
  align-items:center;
  gap:8px;
}

.main-nav a {
  font-size:13px;
  font-weight:650;
  padding:13px 14px;
  border-radius:30px;
  white-space:nowrap;
}

.main-nav a i {
  margin-right:7px;
}

.main-nav a:hover,.main-nav a.active {
  background:var(--blue);
  color:white;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  border-radius:28px;
  padding:14px 21px;
  font:700 13px Inter;
  cursor:pointer;
  transition:.2s;
}

.btn:hover {
  transform:translateY(-2px);
  box-shadow:0 9px 22px #075bff28;
}

.btn-primary {
  background:var(--blue);
  color:white;
}

.btn-outline {
  border:1px solid var(--blue);
  color:var(--blue);
  background:transparent;
}

.btn-glass {
  border:1px solid #ffffff60;
  color:#fff;
  background:#ffffff12;
}

.btn-dark {
  background:var(--navy);
  color:#fff;
}

.header-cta {
  padding:15px 22px;
}

.nav-toggle {
  display:none;
  background:none;
  border:0;
  font-size:24px;
  color:var(--navy);
}

.hero {
  position:relative;
  min-height:510px;
  overflow:hidden;
  background:radial-gradient(ellipse at 72% 50%,#1557b9 0,#0c2867 36%,#06143e 76%);
  color:#fff;
}

.hero:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#04133df5 0%,#061847e8 42%,#06184720 100%),repeating-linear-gradient(125deg,transparent 0 70px,#ffffff08 71px 72px);
}

.hero-content {
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  min-height:465px;
  gap:30px;
}

.hero-copy {
  padding:45px 0 30px;
}

.eyebrow,.section-kicker {
  font-size:11px;
  letter-spacing:2px;
  font-weight:800;
  color:var(--cyan);
}

.pulse {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#00c8ff;
  margin-right:7px;
  box-shadow:0 0 0 5px #00b8f022;
}

.hero h1 {
  font-size:clamp(42px,5vw,62px);
  line-height:1.04;
  letter-spacing:-2.6px;
  margin:20px 0 15px;
}

.hero h1 em,.page-hero h1 em {
  font-style:normal;
  color:#00b8f0;
}

.hero-copy>p {
  font-size:18px;
  line-height:1.55;
  color:#e1e9ff;
  max-width:520px;
}

.hero-services {
  display:flex;
  gap:0;
  margin:28px 0 25px;
}

.hero-services span {
  font-size:12px;
  line-height:1.35;
  padding:0 22px;
  border-right:1px solid #ffffff24;
  min-width:105px;
}

.hero-services span:first-child {
  padding-left:0;
}

.hero-services span:last-child {
  border:0;
}

.hero-services i {
  display:block;
  font-size:26px;
  color:#20c8ff;
  margin-bottom:9px;
}

.hero-actions {
  display:flex;
  gap:12px;
}

.hero-visual {
  height:370px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  perspective:900px;
}

.code-window {
  width:95%;
  height:290px;
  border:1px solid #4c9bff70;
  border-radius:16px;
  background:linear-gradient(145deg,#08152fe8,#0b2b67dd);
  box-shadow:0 35px 80px #0008;
  transform:rotateY(-12deg) rotateX(4deg);
  padding:18px;
  position:relative;
  overflow:hidden;
}

.window-top {
  display:flex;
  gap:6px;
  align-items:center;
  border-bottom:1px solid #ffffff20;
  padding-bottom:15px;
}

.window-top i {
  width:8px;
  height:8px;
  background:#ff6d6d;
  border-radius:50%;
}

.window-top i:nth-child(2) {
  background:#ffc45f;
}

.window-top i:nth-child(3) {
  background:#42d99a;
}

.window-top span {
  margin-left:15px;
  color:#8eafd9;
  font-size:11px;
}

.code-lines {
  font:14px/2.1 monospace;
  color:#b5d4ff;
  padding:20px 8px;
  position:relative;
  z-index:1;
}

.code-lines b {
  color:#3bd9d2;
}

.code-lines strong {
  color:#71a7ff;
}

.code-lines em {
  color:#ffc36d;
  font-style:normal;
}

.code-glow {
  position:absolute;
  width:180px;
  height:180px;
  background:#007bff55;
  filter:blur(60px);
  right:0;
  bottom:0;
}

.floating-shield {
  position:absolute;
  right:1%;
  bottom:10px;
  width:230px;
  height:200px;
  border:1px solid #39c5ff;
  border-radius:18px;
  background:linear-gradient(145deg,#0b4b9dbb,#061d58dd);
  box-shadow:0 15px 45px #00113e99;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transform:rotate(5deg);
  text-align:center;
}

.shield-icon {
  width:78px;
  height:78px;
  border:2px solid #fff;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:39px;
  margin-bottom:13px;
}

.shield-icon i:last-child {
  position:absolute;
  font-size:16px;
  color:#00b8f0;
}

.floating-shield b {
  font-size:14px;
  letter-spacing:1px;
}

.floating-shield small {
  font-size:10px;
  letter-spacing:2px;
  margin-top:5px;
}

.hero-bottom {
  position:relative;
  display:flex;
  justify-content:space-between;
  color:#a9c9ff;
  font-size:11px;
  padding-bottom:18px;
}

.hero-bottom i {
  color:#00c8ff;
  margin-right:7px;
}

.section {
  padding:82px 0;
}

.projects-section {
  background:linear-gradient(180deg,#f4f7ff,#fff);
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:30px;
}

.section-heading h2,.center-heading h2,.about-grid h2 {
  font-size:36px;
  letter-spacing:-1.4px;
  margin:8px 0;
}

.section-heading p,.center-heading p {
  color:var(--muted);
  margin:0;
}

.project-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.project-card {
  background:#fff;
  border:1px solid #e7ecf8;
  border-radius:17px;
  overflow:hidden;
  box-shadow:0 8px 28px #10265c0c;
  transition:.25s;
}

.project-card:hover {
  transform:translateY(-5px);
  box-shadow:0 18px 40px #10265c18;
}

.project-thumb {
  height:180px;
  background:linear-gradient(135deg,#e8f0ff,#dbe8ff);
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
}

.project-thumb img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.thumb-placeholder {
  font-size:48px;
  color:#1765e9;
}

.thumb-arrow {
  position:absolute;
  right:14px;
  top:14px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#fff;
  color:var(--blue);
  display:grid;
  place-items:center;
  opacity:0;
  transition:.2s;
}

.project-card:hover .thumb-arrow {
  opacity:1;
}

.project-body {
  padding:20px;
}

.tag {
  display:inline-block;
  padding:6px 10px;
  border-radius:8px;
  background:#eaf1ff;
  color:#075bff;
  font-size:10px;
  font-weight:800;
}

.project-body h3 {
  font-size:19px;
  margin:12px 0 8px;
}

.project-body p {
  font-size:13px;
  line-height:1.6;
  color:var(--muted);
  min-height:42px;
}

.tech-row {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:15px 0;
}

.tech-row span {
  font-size:10px;
  font-weight:700;
  color:#31528b;
  background:#f0f4fc;
  border-radius:7px;
  padding:6px 8px;
}

.text-link {
  font-size:12px;
  font-weight:800;
  color:var(--blue);
}

.text-link i {
  margin-left:7px;
}

.center-heading {
  text-align:center;
  max-width:700px;
  margin:0 auto 40px;
}

.center-heading p {
  line-height:1.7;
}

.services-section {
  background:#fff;
}

.service-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:17px;
}

.service-card {
  border:1px solid var(--line);
  border-radius:15px;
  padding:25px 21px;
  background:#fff;
  transition:.2s;
}

.service-card:hover {
  border-color:#a9c5ff;
  box-shadow:0 14px 35px #0c34700d;
  transform:translateY(-3px);
}

.service-icon {
  width:48px;
  height:48px;
  border-radius:13px;
  background:#eaf2ff;
  color:var(--blue);
  display:grid;
  place-items:center;
  font-size:21px;
}

.service-card h3 {
  font-size:15px;
  margin:18px 0 9px;
}

.service-card p {
  font-size:12px;
  color:var(--muted);
  line-height:1.65;
  margin:0;
}

.about-section {
  background:#f5f8ff;
}

.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.about-grid p {
  color:var(--muted);
  line-height:1.8;
  font-size:14px;
}

.about-art {
  height:370px;
  position:relative;
  display:grid;
  place-items:center;
}

.orbit {
  position:absolute;
  border:1px solid #b9d1ff;
  border-radius:50%;
  transform:rotate(-25deg);
}

.orbit-one {
  width:340px;
  height:210px;
}

.orbit-two {
  width:280px;
  height:310px;
  transform:rotate(55deg);
}

.about-core {
  width:160px;
  height:160px;
  border-radius:50%;
  background:linear-gradient(145deg,#0c3b92,#071747);
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:0 20px 45px #092c7050;
}

.about-core i {
  font-size:45px;
  color:#57d4ff;
}

.about-core b {
  margin-top:9px;
  letter-spacing:1px;
}

.about-core small {
  font-size:7px;
  margin-top:5px;
}

.orbit-label {
  position:absolute;
  background:white;
  border:1px solid var(--line);
  box-shadow:0 8px 25px #10265c12;
  border-radius:10px;
  padding:10px 13px;
  font-size:11px;
  font-weight:800;
}

.orbit-label i {
  color:var(--blue);
  margin-right:5px;
}

.label-ai {
  top:40px;
  left:18%;
}

.label-cloud {
  right:8%;
  top:45%;
}

.label-data {
  bottom:30px;
  left:28%;
}

.value-list {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:22px 0 28px;
}

.value-list span {
  font-size:12px;
  font-weight:700;
}

.value-list i {
  color:#00a978;
  margin-right:6px;
}

.case-section {
  background:#fff;
}

.case-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.case-card {
  padding:26px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  transition:.2s;
}

.case-card:hover {
  transform:translateY(-4px);
  box-shadow:0 15px 35px #10265c12;
}

.case-icon {
  width:48px;
  height:48px;
  border-radius:13px;
  background:#eaf1ff;
  color:var(--blue);
  display:grid;
  place-items:center;
  font-size:20px;
  margin-bottom:20px;
}

.case-card small {
  color:var(--blue);
  font-size:9px;
  font-weight:800;
  letter-spacing:1px;
}

.case-card h3 {
  font-size:19px;
}

.case-card p {
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
}

.case-card>b {
  font-size:12px;
  color:var(--blue);
}

.contact-section {
  background:linear-gradient(120deg,#071747,#102d70);
  color:#fff;
}

.contact-grid {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:80px;
  align-items:center;
}

.contact-grid h2 {
  font-size:45px;
  line-height:1.1;
  letter-spacing:-2px;
  margin:15px 0;
}

.contact-grid>div>p {
  color:#c5d4f5;
  line-height:1.7;
  max-width:360px;
}

.contact-detail {
  margin-top:20px;
  color:#d8e5ff;
  font-size:13px;
}

.contact-detail i {
  color:#42cbff;
  margin-right:12px;
}

.contact-form {
  background:white;
  color:var(--ink);
  padding:32px;
  border-radius:18px;
  box-shadow:0 25px 60px #0003;
}

.contact-form h3 {
  margin:0 0 23px;
  font-size:22px;
}

.contact-form label,.admin-form label,.login-card label {
  display:block;
  font-size:11px;
  font-weight:800;
  color:#354363;
  margin-bottom:15px;
}

.contact-form input,.contact-form textarea,.admin-form input,.admin-form textarea,.admin-form select,.login-card input,.status-form select {
  display:block;
  width:100%;
  margin-top:8px;
  border:1px solid #dfe5f1;
  border-radius:9px;
  padding:12px 13px;
  font:13px Inter;
  color:var(--ink);
  outline:none;
  background:#fff;
}

.contact-form input:focus,.contact-form textarea:focus,.admin-form input:focus,.admin-form textarea:focus {
  border-color:#7ba5ff;
  box-shadow:0 0 0 3px #075bff12;
}

.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.footer {
  background:#050f2c;
  color:#b9c7e5;
  padding:55px 0 20px;
}

.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1.2fr;
  gap:40px;
}

.footer-brand {
  color:#fff;
}

.footer-brand .brand-mark {
  background:#10265c;
  border-color:#8db5ff;
  color:#fff;
}

.footer-grid p {
  font-size:12px;
  line-height:1.7;
  color:#93a6ce;
}

.footer-grid h4 {
  color:white;
  font-size:13px;
  margin:8px 0 20px;
}

.footer-grid>div>a:not(.brand) {
  display:block;
  font-size:12px;
  margin:12px 0;
}

.footer-grid .social {
  display:inline-block;
  font-size:19px!important;
  margin-right:10px!important;
}

.footer-bottom {
  border-top:1px solid #ffffff18;
  margin-top:42px;
  padding-top:20px;
  font-size:10px;
  display:flex;
  justify-content:space-between;
  color:#7f93bd;
}

.page-hero {
  padding:75px 0;
  background:radial-gradient(circle at 80% 20%,#174da3,#071747 65%);
  color:white;
}

.page-hero h1 {
  font-size:46px;
  letter-spacing:-1.8px;
  margin:14px 0;
}

.page-hero p {
  color:#c4d6fa;
  max-width:650px;
  line-height:1.7;
}

.filter-bar {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-bottom:28px;
}

.filter-btn {
  border:1px solid var(--line);
  background:#fff;
  border-radius:24px;
  padding:10px 16px;
  font:700 11px Inter;
  color:#455477;
  cursor:pointer;
}

.filter-btn.active,.filter-btn:hover {
  background:var(--blue);
  color:white;
  border-color:var(--blue);
}

.detail-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:35px;
  align-items:start;
}

.detail-cover {
  width:100%;
  border-radius:16px;
  margin-bottom:25px;
}

.video-frame {
  aspect-ratio:16/9;
  background:#071747;
  border-radius:16px;
  overflow:hidden;
  margin-bottom:28px;
}

.video-frame iframe,.video-frame video {
  width:100%;
  height:100%;
  border:0;
}

.detail-copy h2 {
  font-size:22px;
  margin:28px 0 10px;
}

.detail-copy p {
  font-size:14px;
  line-height:1.8;
  color:#5d6985;
}

.feature-list {
  list-style:none;
  padding:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.feature-list li {
  font-size:13px;
}

.feature-list i {
  color:#00a978;
  margin-right:8px;
}

.gallery-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.gallery-item {
  height:130px;
  overflow:hidden;
  border-radius:10px;
  background:#edf2ff;
}

.gallery-item img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.3s;
}

.gallery-item:hover img {
  transform:scale(1.06);
}

.detail-sidebar {
  position:sticky;
  top:115px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px;
  box-shadow:0 10px 30px #10265c0a;
}

.detail-sidebar h3 {
  font-size:22px;
}

.detail-sidebar p {
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
}

.detail-sidebar h4 {
  font-size:12px;
  margin-top:25px;
}

.full {
  width:100%;
  margin:8px 0;
}

.lightbox {
  display:none;
  position:fixed;
  inset:0;
  background:#020817ed;
  z-index:100;
  align-items:center;
  justify-content:center;
  padding:40px;
}

.lightbox.show {
  display:flex;
}

.lightbox img {
  max-width:90vw;
  max-height:85vh;
  border-radius:8px;
}

.lightbox button {
  position:absolute;
  right:30px;
  top:20px;
  background:none;
  border:0;
  color:white;
  font-size:40px;
  cursor:pointer;
}

.article-content {
  max-width:850px;
}

.article-content section {
  padding:10px 0 25px;
  border-bottom:1px solid var(--line);
}

.article-content h2 {
  font-size:22px;
}

.article-content section div {
  color:#596782;
  line-height:1.85;
  font-size:14px;
}

.empty-state {
  grid-column:1/-1;
  padding:35px;
  border:1px dashed #c7d5ef;
  border-radius:14px;
  text-align:center;
  color:#667493;
  background:#fafcff;
}

.thankyou {
  text-align:center;
  min-height:420px;
}

.success-icon {
  width:65px;
  height:65px;
  border-radius:50%;
  background:#e5fff4;
  color:#009b6b;
  display:grid;
  place-items:center;
  font-size:26px;
  margin:0 auto 20px;
}

.login-page {
  min-height:100vh;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#071747,#0e3b88);
}

.login-card {
  width:min(430px,calc(100% - 35px));
  background:white;
  padding:38px;
  border-radius:18px;
  box-shadow:0 30px 80px #0005;
}

.login-card h1 {
  font-size:27px;
  margin:35px 0 5px;
}

.login-card>p {
  font-size:13px;
  color:var(--muted);
  margin-bottom:25px;
}

.back-home {
  display:block;
  text-align:center;
  font-size:12px;
  color:var(--blue);
  margin-top:20px;
}

.alert {
  background:#fff0f0;
  color:#b32626;
  padding:10px;
  border-radius:8px;
  font-size:12px;
  margin:15px 0;
}

.admin-body {
  background:#f4f7fc;
  min-height:100vh;
}

.admin-sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:245px;
  background:#071747;
  padding:25px 18px;
  color:#fff;
}

.admin-sidebar .brand {
  color:#fff;
  margin-bottom:45px;
}

.admin-sidebar .brand-mark {
  background:#16336f;
  border-color:#6da1ff;
  color:white;
}

.admin-sidebar nav a {
  display:block;
  padding:13px 14px;
  border-radius:9px;
  color:#c2d1ef;
  font-size:13px;
  margin:5px 0;
}

.admin-sidebar nav a:hover {
  background:#17428d;
  color:#fff;
}

.admin-sidebar nav i {
  width:25px;
}

.admin-main {
  margin-left:245px;
  padding:28px 35px;
  max-width:1600px;
}

.admin-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:28px;
}

.admin-top small {
  font-size:9px;
  letter-spacing:1.5px;
  color:#7281a1;
  font-weight:800;
}

.admin-top h1 {
  margin:6px 0;
  font-size:28px;
}

.admin-top>span {
  font-size:12px;
  color:#65718a;
}

.admin-stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
  margin-bottom:22px;
}

.stat-card,.admin-panel {
  background:#fff;
  border:1px solid #e6ebf5;
  border-radius:13px;
  padding:22px;
  box-shadow:0 5px 20px #10265c08;
}

.stat-card span {
  display:block;
  font-size:12px;
  color:#71809e;
}

.stat-card strong {
  display:block;
  font-size:30px;
  color:var(--navy);
  margin-top:8px;
}

.admin-panel {
  margin-bottom:22px;
}

.admin-panel h2 {
  font-size:17px;
  margin:0 0 20px;
}

.panel-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.panel-heading a,.table-wrap a,.link-button {
  color:var(--blue);
  font-size:12px;
  font-weight:700;
}

.table-wrap {
  overflow-x:auto;
}

table {
  border-collapse:collapse;
  width:100%;
  font-size:12px;
}

th {
  text-align:left;
  color:#74819c;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.6px;
}

td,th {
  padding:13px 12px;
  border-bottom:1px solid #edf0f6;
  vertical-align:top;
}

td small {
  display:block;
  color:#8793aa;
  margin-top:4px;
}

.admin-form {
  max-width:1000px;
}

.admin-form textarea {
  resize:vertical;
}

.check-label {
  display:flex!important;
  align-items:center;
  gap:8px;
}

.check-label input {
  width:auto!important;
  margin:0!important;
}

.admin-message {
  background:#e9fff5;
  color:#087b59;
  border:1px solid #b8f0d9;
  border-radius:9px;
  padding:12px 15px;
  margin-bottom:18px;
  font-size:13px;
}

.inline-form {
  display:inline;
}

.link-button {
  border:0;
  background:none;
  padding:0;
  cursor:pointer;
}

.message-cell {
  min-width:220px;
  max-width:360px;
  line-height:1.6;
  white-space:pre-wrap;
}

.status-form {
  display:flex;
  gap:5px;
  align-items:center;
}

.status-form select {
  width:auto;
  margin:0;
  padding:8px;
}

.btn-small {
  padding:8px 10px;
  font-size:10px;
}

.status {
  display:inline-block;
  background:#edf3ff;
  color:#315b9c;
  border-radius:20px;
  padding:5px 9px;
  font-size:10px;
}

.footer a:hover {
  color:white;
}

@media(max-width:1100px) {
  .main-nav {
    gap:0;
  }
  .main-nav a {
    padding:12px 9px;
    font-size:11px;
  }
  .brand {
    min-width:auto;
  }
  .brand b {
    font-size:17px;
  }
  .header-cta {
    display:none;
  }
  .hero-visual {
    transform:scale(.9);
  }
  .service-grid {
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:800px) {
  .site-header {
    height:74px;
    padding:0 22px;
  }
  .brand-mark {
    width:48px;
    height:48px;
  }
  .brand b {
    font-size:16px;
  }
  .nav-toggle {
    display:block;
  }
  .main-nav {
    display:none;
    position:absolute;
    top:74px;
    left:0;
    right:0;
    background:white;
    padding:15px 20px 22px;
    box-shadow:0 15px 20px #07174715;
    align-items:stretch;
  }
  .main-nav.open {
    display:flex;
    flex-direction:column;
  }
  .main-nav a {
    font-size:13px;
  }
  .hero-content {
    grid-template-columns:1fr;
    min-height:auto;
    padding-top:40px;
  }
  .hero-copy {
    padding:15px 0;
  }
  .hero-visual {
    height:290px;
    max-width:560px;
    width:100%;
    margin:auto;
  }
  .code-window {
    height:235px;
  }
  .floating-shield {
    width:170px;
    height:145px;
    right:0;
    bottom:0;
  }
  .shield-icon {
    width:55px;
    height:55px;
    font-size:27px;
  }
  .floating-shield b {
    font-size:10px;
  }
  .hero-bottom {
    padding:15px 0 20px;
  }
  .project-grid,.case-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .about-grid,.contact-grid {
    grid-template-columns:1fr;
    gap:35px;
  }
  .about-art {
    height:300px;
  }
  .contact-grid {
    gap:25px;
  }
  .footer-grid {
    grid-template-columns:1fr 1fr;
  }
  .detail-layout {
    grid-template-columns:1fr;
  }
  .detail-sidebar {
    position:static;
    grid-row:1;
  }
  .admin-sidebar {
    width:190px;
  }
  .admin-main {
    margin-left:190px;
    padding:22px;
  }
  .admin-stats {
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:560px) {
  .container {
    width:calc(100% - 34px);
  }
  .hero h1 {
    font-size:43px;
  }
  .hero-copy>p {
    font-size:15px;
  }
  .hero-services span {
    min-width:0;
    padding:0 10px;
    font-size:9px;
  }
  .hero-services i {
    font-size:21px;
  }
  .hero-actions {
    flex-wrap:wrap;
  }
  .section {
    padding:58px 0;
  }
  .section-heading {
    align-items:flex-start;
    gap:15px;
    flex-direction:column;
  }
  .section-heading h2,.center-heading h2,.about-grid h2 {
    font-size:29px;
  }
  .project-grid,.case-grid,.service-grid {
    grid-template-columns:1fr;
  }
  .project-thumb {
    height:190px;
  }
  .form-row {
    grid-template-columns:1fr;
    gap:0;
  }
  .contact-form {
    padding:23px;
  }
  .contact-grid h2 {
    font-size:38px;
  }
  .footer-grid {
    grid-template-columns:1fr 1fr;
    gap:25px;
  }
  .footer-grid>div:first-child {
    grid-column:1/-1;
  }
  .footer-bottom {
    gap:10px;
    flex-direction:column;
  }
  .page-hero {
    padding:55px 0;
  }
  .page-hero h1 {
    font-size:36px;
  }
  .feature-list {
    grid-template-columns:1fr;
  }
  .gallery-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .admin-sidebar {
    position:static;
    width:100%;
    padding:14px;
  }
  .admin-sidebar .brand {
    margin-bottom:12px;
  }
  .admin-sidebar nav {
    display:flex;
    overflow:auto;
    gap:5px;
  }
  .admin-sidebar nav a {
    white-space:nowrap;
    padding:10px;
  }
  .admin-main {
    margin:0;
    padding:18px 13px;
  }
  .admin-top {
    align-items:flex-start;
    gap:10px;
    flex-direction:column;
  }
  .admin-top h1 {
    font-size:23px;
  }
  .admin-stats {
    gap:8px;
  }
  .stat-card {
    padding:15px;
  }
  .stat-card strong {
    font-size:25px;
  }
  .admin-panel {
    padding:15px;
  }
  .login-card {
    padding:28px;
  }
}

/* MODULE 4 — Accessible public project detail modal */
.project-modal[hidden],.project-lightbox[hidden] {
  display:none!important;
}

.project-modal {
  position:fixed;
  inset:0;
  z-index:120;
  display:grid;
  place-items:center;
  padding:28px;
}

.project-modal-backdrop {
  position:absolute;
  inset:0;
  background:rgba(3,10,31,.78);
  backdrop-filter:blur(8px);
}

.project-modal-panel {
  position:relative;
  z-index:1;
  width:min(1040px,100%);
  max-height:min(90vh,900px);
  overflow:auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 28px 90px #0005;
  scrollbar-width:thin;
}

.project-modal-close {
  position:sticky;
  float:right;
  top:12px;
  margin:12px 12px -48px 0;
  z-index:5;
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#071747;
  box-shadow:0 3px 15px #07174720;
  font-size:19px;
  cursor:pointer;
}

.project-modal-loading {
  padding:35px;
  display:grid;
  gap:13px;
}

.project-skeleton {
  height:18px;
  border-radius:8px;
  background:linear-gradient(90deg,#edf1f8,#f8faff,#edf1f8);
  background-size:200% 100%;
  animation:project-shimmer 1.3s infinite;
}

.project-skeleton:first-child {
  height:260px;
}

.project-modal-loading span:last-child {
  font-size:12px;
  color:#68738e;
}

.project-modal-content {
  padding:28px;
}

.project-detail {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);
  gap:30px;
  align-items:start;
}

.project-detail-media {
  min-width:0;
}

.project-media-stage {
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:14px;
  background:#071747;
  display:grid;
  place-items:center;
}

.project-media-stage iframe,.project-media-stage video {
  width:100%;
  height:100%;
  border:0;
  object-fit:contain;
  background:#050d25;
}

.project-video-poster,.project-stage-image {
  border:0;
  padding:0;
  width:100%;
  height:100%;
  display:block;
  position:relative;
  background:#071747;
  cursor:pointer;
}

.project-video-poster img,.project-stage-image img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.project-play {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:68px;
  height:68px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:#075bff;
  box-shadow:0 8px 30px #075bff66;
  font-size:22px;
}

.project-duration {
  position:absolute;
  right:13px;
  bottom:13px;
  background:#06143dcc;
  color:#fff;
  border-radius:6px;
  padding:5px 9px;
  font-size:11px;
  font-weight:700;
}

.project-media-placeholder {
  height:100%;
  min-height:200px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:12px;
  color:#8dbaff;
  background:radial-gradient(circle at 50% 30%,#173f88,#071747 75%);
  font-size:44px;
}

.project-media-placeholder span {
  font-size:12px;
}

.project-media-thumbs {
  display:flex;
  gap:10px;
  margin-top:12px;
  overflow-x:auto;
  padding:2px 1px 6px;
}

.project-media-thumb {
  position:relative;
  flex:0 0 92px;
  height:62px;
  border:2px solid transparent;
  border-radius:9px;
  overflow:hidden;
  background:#edf2ff;
  cursor:pointer;
  padding:0;
  color:#075bff;
}

.project-media-thumb.is-active {
  border-color:#075bff;
}

.project-media-thumb img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.project-media-thumb>i {
  font-size:20px;
}

.project-media-thumb>span {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#fff;
  text-shadow:0 1px 5px #000;
}

.project-highlights {
  margin-top:20px;
  padding:17px 18px;
  border-radius:13px;
  background:#f0f6ff;
}

.project-highlights h3 {
  font-size:12px;
  margin:0 0 15px;
  color:#34476f;
}

.project-highlight-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.project-highlight {
  display:flex;
  align-items:center;
  flex-direction:column;
  text-align:center;
  gap:5px;
  padding:0 8px;
  border-right:1px solid #d7e3f7;
}

.project-highlight:last-child {
  border:0;
}

.project-highlight>i {
  font-size:16px;
  color:#075bff;
}

.project-highlight strong {
  font-size:21px;
  color:#071747;
}

.project-highlight span {
  font-size:10px;
  color:#657391;
}

.project-detail-content {
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.project-type-badge {
  display:inline-flex;
  align-self:flex-start;
  background:#eaf2ff;
  color:#075bff;
  padding:7px 12px;
  border-radius:20px;
  font-size:10px;
  font-weight:800;
}

.project-detail-heading h2 {
  font-size:30px;
  line-height:1.15;
  letter-spacing:-1px;
  color:#071747;
  margin:14px 0 8px;
}

.project-subtitle {
  font-size:13px;
  color:#68738e;
  line-height:1.6;
  margin:0 0 19px;
  font-weight:600;
}

.project-detail-section {
  margin:13px 0;
}

.project-detail-section h3 {
  font-size:13px;
  color:#12234e;
  margin:0 0 7px;
}

.project-detail-section h3>i {
  color:#075bff;
  margin-right:7px;
}

.project-detail-section p {
  font-size:12px;
  line-height:1.75;
  color:#596782;
  margin:0;
  white-space:normal;
}

.project-feature-grid {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px 13px;
}

.project-feature-grid li {
  font-size:11px;
  line-height:1.5;
  color:#475674;
  display:flex;
  gap:7px;
}

.project-feature-grid li i {
  color:#08a477;
  margin-top:2px;
}

.project-tech-list {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.project-tech-list span {
  font-size:10px;
  padding:6px 9px;
  background:#f1f4fa;
  border-radius:20px;
  color:#405174;
}

.project-case-link {
  font-size:11px;
  color:#075bff;
  font-weight:750;
  margin:5px 0 12px;
}

.project-detail-actions {
  display:flex;
  gap:9px;
  margin-top:auto;
  padding-top:18px;
}

.project-detail-actions a {
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  padding:12px 13px;
  border-radius:9px;
  font-size:10px;
  font-weight:800;
  line-height:1.4;
}

.project-action-github {
  background:#071747;
  color:#fff;
}

.project-action-live {
  background:#075bff;
  color:#fff;
}

.project-modal-nav {
  position:absolute;
  top:50%;
  left:0;
  right:0;
  transform:translateY(-50%);
  display:flex;
  justify-content:space-between;
  pointer-events:none;
  padding:0 12px;
  margin:0;
  z-index:6;
}

.project-modal-nav button {
  pointer-events:auto;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#075bff;
  box-shadow:0 3px 14px #07174722;
  cursor:pointer;
}

.project-modal-nav button[hidden] {
  display:none;
}

.project-modal-not-found {
  padding:55px;
  text-align:center;
}

.project-modal-not-found h2 {
  color:#071747;
}

.project-modal-not-found p {
  color:#68738e;
}

.project-lightbox {
  position:fixed;
  inset:0;
  z-index:150;
  background:#020817ed;
  display:grid;
  place-items:center;
  padding:35px;
}

.project-lightbox img {
  max-width:92vw;
  max-height:88vh;
  object-fit:contain;
  border-radius:8px;
}

.project-lightbox button {
  position:absolute;
  right:25px;
  top:18px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:30px;
  cursor:pointer;
}

.project-back-link {
  display:inline-block;
  color:#075bff;
  font-size:12px;
  font-weight:700;
  margin:0 0 20px;
}

.project-page-fallback .project-detail {
  border:1px solid var(--line);
  padding:25px;
  border-radius:18px;
}

.project-page-fallback .project-modal-close {
  display:none;
}

body.project-modal-open {
  overflow:hidden;
}

button:focus-visible,a:focus-visible {
  outline:3px solid #00a6e8;
  outline-offset:3px;
}

@keyframes project-shimmer {
  to {
    background-position:-200% 0;
  }
}

@media(max-width:760px) {
  .project-modal {
    padding:0;
    display:block;
  }
  .project-modal-panel {
    width:100%;
    height:100%;
    max-height:100%;
    border-radius:0;
    overflow:auto;
  }
  .project-modal-content {
    padding:20px 17px 30px;
  }
  .project-detail {
    display:flex;
    flex-direction:column;
    gap:22px;
  }
  .project-detail-media,.project-detail-content {
    width:100%;
  }
  .project-detail-content {
    min-height:0;
  }
  .project-detail-heading h2 {
    font-size:27px;
  }
  .project-detail-actions {
    flex-direction:column;
  }
  .project-detail-actions a {
    width:100%;
    min-height:44px;
  }
  .project-modal-close {
    position:fixed;
    top:9px;
    right:8px;
    margin:0;
  }
  .project-modal-nav {
    position:absolute;
    top:50%;
    left:0;
    right:0;
    transform:translateY(-50%);
    margin:0;
    padding:0 9px;
    z-index:6;
  }
  .project-highlights {
    margin-top:15px;
  }
  .project-highlight strong {
    font-size:18px;
  }
  .project-page-fallback .project-detail {
    padding:15px;
    border:0;
  }
}

@media(prefers-reduced-motion:reduce) {
  .project-skeleton {
    animation:none;
  }
  .project-modal,.project-modal-panel {
    scroll-behavior:auto;
  }
}

/* Module 5: shared project cards, home carousel and searchable project listing */
.project-card-modern {
  cursor:pointer;
  min-width:0;
  display:flex;
  flex-direction:column;
  height:100%;
}

.project-card-modern:focus-visible,.project-card-modern a:focus-visible,.project-carousel-arrow:focus-visible,.project-search input:focus-visible {
  outline:3px solid var(--cyan);
  outline-offset:3px;
}

.project-card-hitarea {
  display:block;
  color:inherit;
}

.project-card-media {
  height:190px;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#edf4ff 0%,#dceaff 55%,#e8faff 100%);
}

.project-card-media>img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.project-card-modern:hover .project-card-media>img {
  transform:scale(1.045);
}

.project-card-icon {
  width:82px;
  height:82px;
  border-radius:24px;
  display:grid;
  place-items:center;
  color:var(--blue);
  font-size:36px;
  background:#ffffffb8;
  box-shadow:0 12px 30px #075bff16;
}

.project-card-open-icon {
  position:absolute;
  right:14px;
  top:14px;
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--blue);
  opacity:0;
  transform:translateY(4px);
  transition:.2s;
  box-shadow:0 5px 16px #07174720;
}

.project-card-modern:hover .project-card-open-icon,.project-card-modern:focus-within .project-card-open-icon {
  opacity:1;
  transform:none;
}

.project-card-content {
  padding:19px 20px 20px;
  display:flex;
  flex:1;
  flex-direction:column;
}

.project-card-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:25px;
}

.project-card-category {
  font-size:10px;
  color:#8290aa;
  font-weight:700;
}

.project-card-content h3 {
  font-size:19px;
  line-height:1.3;
  margin:12px 0 5px;
}

.project-card-content h3 a:hover {
  color:var(--blue);
}

.project-card-subtitle {
  font-size:11px!important;
  line-height:1.45!important;
  color:#51658b!important;
  font-weight:700;
  margin:0 0 8px!important;
  min-height:0!important;
}

.project-card-description {
  font-size:12px!important;
  line-height:1.6!important;
  color:var(--muted)!important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:38px!important;
  margin:0!important;
}

.project-card-tech {
  margin:15px 0 17px!important;
  min-height:26px;
}

.project-card-tech span {
  font-size:9px!important;
  padding:6px 8px!important;
}

.project-card-tech .tech-more {
  background:#e5edff;
  color:#075bff;
}

.project-card-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid #edf1f8;
}

.project-card-primary {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--blue);
  font-size:11px;
  font-weight:800;
}

.project-card-primary i {
  transition:transform .2s;
}

.project-card-primary:hover i {
  transform:translateX(4px);
}

.project-card-github {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 11px;
  border:1px solid #e3e9f4;
  border-radius:20px;
  color:#344466;
  font-size:10px;
  font-weight:800;
  background:#fff;
}

.project-card-github:hover {
  border-color:#9bb8f4;
  color:var(--blue);
}

.projects-section-heading {
  align-items:center;
}

.projects-section-heading>div:first-child {
  border-left:4px solid var(--blue);
  padding-left:17px;
}

.project-carousel-wrap {
  position:relative;
}

.project-carousel {
  display:flex;
  align-items:stretch;
  gap:20px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:8px 3px 20px;
  scrollbar-width:thin;
  scrollbar-color:#b9c9e8 transparent;
}

.project-carousel>.project-card-modern,.project-carousel-cta {
  flex:0 0 clamp(285px,29%,350px);
  scroll-snap-align:start;
}

.project-carousel-arrow {
  position:absolute;
  z-index:2;
  top:42%;
  width:40px;
  height:40px;
  border:1px solid #e2e9f6;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--navy);
  box-shadow:0 6px 18px #07174718;
  cursor:pointer;
}

.project-carousel-prev {
  left:-17px;
}

.project-carousel-next {
  right:-17px;
}

.project-carousel-arrow:hover {
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

.project-carousel-cta {
  min-height:100%;
  border-radius:18px;
  padding:30px 27px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:12px;
  background:radial-gradient(circle at 90% 10%,#1b4a91 0,#10265c 40%,#071747 100%);
  color:#fff;
  box-shadow:0 12px 30px #07174720;
  scroll-snap-align:start;
}

.project-carousel-cta .cta-icon {
  width:46px;
  height:46px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#ffffff18;
  color:#59d8ff;
  font-size:20px;
}

.project-carousel-cta .section-kicker {
  color:#70dfff;
}

.project-carousel-cta h3 {
  font-size:25px;
  line-height:1.18;
  letter-spacing:-.7px;
  margin:0;
}

.project-carousel-cta p {
  font-size:12px;
  line-height:1.7;
  color:#c3d4f5;
  margin:0 0 8px;
}

.project-carousel-cta .btn {
  margin-top:5px;
}

.projects-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:25px;
}

.projects-toolbar .filter-bar {
  margin:0;
}

.project-search {
  width:min(310px,100%);
  height:42px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:24px;
  color:#8491aa;
  background:#fff;
}

.project-search input {
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:var(--ink);
  font:12px Inter,Arial,sans-serif;
}

.project-search input:focus-visible {
  outline:0;
}

.project-list-grid .project-card-modern[hidden] {
  display:none!important;
}

.project-no-results[hidden] {
  display:none!important;
}

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

@media(max-width:800px) {
  .projects-toolbar {
    align-items:stretch;
    flex-direction:column;
  }
  .project-search {
    width:100%;
  }
  .project-carousel>.project-card-modern,.project-carousel-cta {
    flex-basis:min(78vw,340px);
  }
  .project-carousel-arrow {
    display:none;
  }
  .project-carousel {
    scrollbar-width:none;
  }
  .project-carousel::-webkit-scrollbar {
    display:none;
  }
}

@media(max-width:560px) {
  .projects-section-heading {
    align-items:flex-start;
  }
  .projects-section-heading>div:first-child {
    padding-left:13px;
  }
  .project-card-media {
    height:185px;
  }
  .project-card-content {
    padding:17px;
  }
  .project-carousel>.project-card-modern,.project-carousel-cta {
    flex-basis:84vw;
  }
  .project-carousel-cta {
    min-height:340px;
  }
  .project-list-grid {
    grid-template-columns:1fr;
  }
}

@media(prefers-reduced-motion:reduce) {
  .project-carousel {
    scroll-behavior:auto;
  }
  .project-card-media>img,.project-card-open-icon,.project-card-primary i {
    transition:none;
  }
}

/* Module 6: homepage content editor */
.hero-card-image {
  width:100%;
  height:100%;
  max-height:150px;
  object-fit:contain;
  border-radius:12px;
}

.admin-page-actions {
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
  margin:-10px 0 18px;
}

.admin-tabs {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:0 0 18px;
}

.admin-tab {
  border:1px solid #dfe6f3;
  background:#fff;
  color:#52617e;
  border-radius:9px;
  padding:10px 14px;
  font:700 12px Inter;
  cursor:pointer;
}

.admin-tab.active,.admin-tab:hover {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}

.admin-help {
  color:#72809b;
  font-size:12px;
  line-height:1.6;
  margin:-8px 0 18px;
}

.admin-error {
  background:#fff0f0;
  color:#a52828;
  border:1px solid #f3caca;
  border-radius:9px;
  padding:12px 15px;
  margin-bottom:18px;
  font-size:13px;
}

.homepage-image-fields {
  align-items:start;
}

.homepage-image-preview {
  width:min(100%,360px);
  height:120px;
  object-fit:cover;
  border:1px solid var(--line);
  border-radius:10px;
  margin:10px 0;
}

.homepage-card-preview {
  width:180px;
  height:120px;
  object-fit:contain;
  background:#f3f6fc;
}

.repeater-list {
  display:grid;
  gap:10px;
  margin-bottom:15px;
}

.repeater-row {
  display:grid;
  grid-template-columns:48px minmax(150px,1fr) minmax(180px,1.5fr) 90px 90px 30px;
  gap:12px;
  align-items:center;
  padding:13px;
  border:1px solid #e6ebf5;
  border-radius:11px;
  background:#fbfcff;
}

.repeater-row label {
  font-size:10px;
  font-weight:800;
  color:#52617e;
}

.repeater-row input:not([type=checkbox]),.repeater-row textarea {
  width:100%;
  margin-top:6px;
  padding:9px;
  border:1px solid #dfe5f1;
  border-radius:8px;
  font:12px Inter;
}

.repeater-row .check-label {
  margin:0;
}

.icon-preview,.service-icon-preview {
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  background:#edf4ff;
  color:var(--blue);
  border-radius:10px;
  font-size:19px;
}

.danger-link {
  color:#bd3030;
}

.admin-form h3 {
  font-size:14px;
  margin:22px 0 14px;
  padding-top:12px;
  border-top:1px solid var(--line);
}

.admin-form h3:first-of-type {
  border-top:0;
  padding-top:0;
}

.admin-form-actions {
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:16px;
}

.service-admin-table {
  min-width:850px;
}

.service-admin-table input:not([type=checkbox]),.service-admin-table textarea {
  width:100%;
  min-width:90px;
  padding:9px;
  border:1px solid #dfe5f1;
  border-radius:7px;
  font:12px Inter;
  color:var(--ink);
}

.service-admin-table td:first-child {
  width:54px;
}

.service-admin-table td:nth-child(2) {
  min-width:160px;
}

.service-admin-table td:nth-child(3) {
  min-width:180px;
}

.service-admin-table td:nth-child(4) {
  min-width:240px;
}

.service-admin-table td:nth-child(5) {
  width:85px;
}

.service-admin-table td:nth-child(6),.service-admin-table td:nth-child(7) {
  text-align:center;
  width:65px;
}

.service-admin-table input[type=checkbox] {
  width:16px;
  height:16px;
}

@media(max-width:900px) {
  .repeater-row {
    grid-template-columns:42px 1fr 1fr 75px 80px 25px;
  }
  .repeater-row label:nth-of-type(2) {
    grid-column:3;
  }
  .repeater-row label:nth-of-type(3) {
    grid-column:4;
  }
  .repeater-row label:nth-of-type(4) {
    grid-column:5;
  }
  .repeater-row button {
    grid-column:6;
    grid-row:1;
  }
}

@media(max-width:560px) {
  .admin-page-actions {
    justify-content:flex-start;
  }
  .admin-tabs {
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:5px;
  }
  .admin-tab {
    white-space:nowrap;
  }
  .repeater-row {
    grid-template-columns:38px 1fr 1fr;
    gap:8px;
  }
  .repeater-row label:nth-of-type(1) {
    grid-column:2/4;
  }
  .repeater-row label:nth-of-type(2) {
    grid-column:2/4;
  }
  .repeater-row label:nth-of-type(3) {
    grid-column:2;
  }
  .repeater-row label:nth-of-type(4) {
    grid-column:3;
  }
  .repeater-row button {
    grid-column:1;
    grid-row:2;
  }
  .homepage-image-fields {
    grid-template-columns:1fr;
  }
}

.homepage-upload-field {
  font-size:11px;
  font-weight:800;
  color:#354363;
}

.homepage-upload-field>label:first-child {
  display:block;
}

.homepage-upload-field>small {
  display:block;
  color:#7b88a2;
  font-size:10px;
  font-weight:500;
  margin-top:7px;
}

/* Module 7: case-study cards, dynamic navigation and brand assets */
.case-card-image {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  overflow:hidden;
}

.case-card-cover {
  display:block;
  width:calc(100% + 48px);
  max-width:none;
  height:190px;
  object-fit:cover;
  margin:-24px -24px 18px;
  border-radius:16px 16px 0 0;
}

.case-impact {
  display:inline-flex;
  color:#075bff;
  background:#eef5ff;
  border-radius:20px;
  padding:7px 11px;
  font-size:12px;
  line-height:1.4;
  margin:2px 0 12px;
}

.case-detail-cover {
  display:block;
  width:100%;
  max-height:460px;
  object-fit:cover;
  border-radius:18px;
  margin:0 0 32px;
}

.nav-item-wrap {
  position:relative;
  display:inline-flex;
  align-items:center;
}

.nav-dropdown {
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  background:#fff;
  border:1px solid #e7edf7;
  border-radius:12px;
  padding:8px;
  box-shadow:0 16px 40px #07174720;
  z-index:60;
}

.nav-item-wrap:hover .nav-dropdown,.nav-item-wrap:focus-within .nav-dropdown {
  display:grid;
}

.nav-dropdown a {
  padding:10px 12px;
  border-radius:8px;
  color:#263858;
  font-size:12px;
}

.nav-dropdown a:hover {
  background:#eef5ff;
  color:#075bff;
}

.brand-mark img {
  width:100%;
  height:100%;
  object-fit:contain;
}

.footer .social {
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  margin:4px;
  background:#ffffff18;
}

@media(max-width:760px) {
  .case-card-cover {
    height:170px;
  }
  .nav-dropdown {
    position:static;
    box-shadow:none;
    border:0;
    padding-left:18px;
  }
  .nav-item-wrap {
    display:block;
  }
}

/* Module 8: accessibility and form hardening */
:focus-visible {
  outline: 3px solid #00b8f0 !important;
  outline-offset: 3px;
}

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

.project-modal[aria-hidden="true"] {
  display:none;
}

.project-modal-panel {
  color:#102044;
}

.project-detail-section p, .project-subtitle, .project-feature-grid li {
  color:#243653;
}

.admin-logout-form {
  margin:5px 0;
}

.admin-sidebar nav .admin-logout-form button {
  display:block;
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  border-radius:9px;
  color:#c2d1ef;
  font:inherit;
  font-size:13px;
  padding:13px 14px;
  cursor:pointer;
}

.admin-sidebar nav .admin-logout-form button:hover {
  background:#17428d;
  color:#fff;
}

.admin-sidebar nav .admin-logout-form button i {
  width:25px;
}

.drag-handle {
  cursor:grab;
  color:var(--muted);
  padding:0 8px;
  align-self:center;
  user-select:none;
}

.repeater-row.dragging {
  opacity:.45;
  outline:2px dashed var(--blue);
}



/* =========================================================
   MODULE 1 — COMSTECH TECH REFERENCE UI FOUNDATION
   Adapted from the supplied comstech-website.html reference.
   Keeps existing PHP-rendered content and database bindings.
   ========================================================= */
:root{
  --navy:#071747;--deep:#10265c;--blue:#075bff;--cyan:#00b8f0;
  --amber:#f5a524;--ink:#101b43;--muted:#68738e;--pale:#f4f7ff;
  --line:#e5eaf6;--radius:18px;--soft-shadow:0 18px 50px rgba(7,23,71,.12);
}
body{font-family:Inter,system-ui,Arial,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}
a{transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:500;background:#fff;padding:10px 14px;border-radius:8px}
.skip-link:focus{left:8px}
.container{width:min(1240px,calc(100% - 48px))}
.site-header{height:78px;padding:0;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);box-shadow:none}
.hwrap{height:78px;display:flex;align-items:center;gap:20px}
.brand{min-width:0;gap:12px;white-space:nowrap}
.brand-mark{width:46px;height:52px;border:0;border-radius:0;background:transparent;color:var(--navy);overflow:visible}
.brand-mark i{font-size:42px;color:var(--navy);filter:drop-shadow(0 4px 8px rgba(7,23,71,.14))}
.brand b{font-size:20px;color:var(--navy);letter-spacing:-.03em;line-height:1.1}
.brand small{font-size:12px;color:var(--muted);font-weight:500;margin-top:3px}
.main-nav{display:flex;align-items:center;gap:2px;margin-inline:auto}
.main-nav a.nl{display:flex;align-items:center;gap:8px;padding:10px 13px;border-radius:999px;font-weight:600;font-size:14px;color:var(--ink);white-space:nowrap}
.main-nav a.nl:hover{background:var(--pale);color:var(--blue)}
.main-nav a.nl.active{background:var(--blue);color:#fff;box-shadow:0 8px 20px rgba(7,91,255,.24)}
.nav-item-wrap{position:relative}
.nav-dropdown{position:absolute;top:100%;left:0;min-width:230px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--soft-shadow);padding:8px;opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s;z-index:80}
.nav-item-wrap:hover .nav-dropdown,.nav-item-wrap:focus-within .nav-dropdown{opacity:1;visibility:visible;transform:none}
.nav-dropdown a{display:block;padding:9px 12px;border-radius:9px;font-size:14px;font-weight:500}
.nav-dropdown a:hover{background:var(--pale);color:var(--blue)}
.header-cta{padding:12px 20px;font-size:14px}
.nav-toggle{margin-left:auto;background:var(--pale);border:0;border-radius:12px;width:44px;height:44px;align-items:center;justify-content:center;color:var(--navy);font-size:20px}
.btn{border-radius:999px;padding:13px 24px;font-size:14px;font-weight:700;white-space:nowrap}
.btn-primary{background:var(--blue);box-shadow:0 10px 24px rgba(7,91,255,.22)}
.btn-primary:hover{background:#0449cc;transform:translateY(-2px)}
.btn-outline{border:1.5px solid #bcd0ff;color:var(--blue);background:#fff}
.btn-outline:hover{background:var(--blue);color:#fff}
.btn-glass{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.35);color:#fff}
.hero{min-height:0;background:linear-gradient(120deg,#041033 0%,#071747 45%,#0a3fb8 100%)}
.hero:before{background:radial-gradient(circle at 78% 30%,rgba(0,184,240,.35),transparent 45%),radial-gradient(circle at 10% 90%,rgba(245,165,36,.15),transparent 40%),linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:auto,auto,48px 48px,48px 48px}
.hero-overlay{background:transparent}
.hero-content{min-height:0;padding:78px 0 68px;grid-template-columns:1.05fr 1fr;gap:48px}
.hero-copy{padding:0}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12px;letter-spacing:.14em;color:#9fd8ff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);padding:7px 14px;border-radius:999px}
.pulse{background:var(--amber);box-shadow:0 0 0 0 rgba(245,165,36,.7);animation:comstechPulse 2s infinite}
@keyframes comstechPulse{70%{box-shadow:0 0 0 10px rgba(245,165,36,0)}100%{box-shadow:0 0 0 0 rgba(245,165,36,0)}}
.hero h1{font-size:clamp(40px,5.4vw,70px);font-weight:800;line-height:1.05;letter-spacing:-.045em;margin:20px 0}
.hero h1 em{background:linear-gradient(90deg,#2f9bff,#00d4ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-copy>p{font-size:19px;color:#d6e2ff;max-width:560px;margin:18px 0 26px}
.hero-services{flex-wrap:wrap;margin:24px 0 28px}
.hero-services span{display:flex;flex-direction:column;gap:8px;align-items:flex-start;padding:0 22px;border-left:1px solid rgba(255,255,255,.22);border-right:0;min-width:0;font-size:13px;color:#e6eeff}
.hero-services span:first-child{padding-left:0;border-left:0}
.hero-services i{font-size:23px;color:#37b6ff;margin:0}
.hero-actions{flex-wrap:wrap;gap:14px}
.hero-visual{height:360px}
.code-window{border-radius:26px;border:1px solid rgba(255,255,255,.28);box-shadow:0 30px 80px rgba(0,0,0,.38);transform:perspective(1200px) rotateY(-8deg) rotateX(3deg);transition:transform .5s}
.code-window:hover{transform:none}
.floating-shield{right:-8px;bottom:0;width:190px;height:168px;border-radius:18px;background:rgba(255,255,255,.96);color:var(--navy);border:1px solid rgba(255,255,255,.7);box-shadow:var(--soft-shadow);transform:rotate(3deg)}
.floating-shield b{font-size:12px}
.floating-shield small{color:var(--muted)}
.shield-icon{border-color:var(--blue);color:var(--blue)}
.hero-bottom{padding:0 0 20px;color:#a9bbea;font-size:12px}
.section{padding:88px 0}
.projects-section{background:linear-gradient(180deg,#f4f7ff,#fff)}
.section-heading{align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:38px}
.section-heading h2,.center-heading h2,.about-grid h2{font-size:clamp(30px,3.6vw,44px);font-weight:800;color:var(--navy);letter-spacing:-.035em}
.section-heading p,.center-heading p{font-size:16px;color:var(--muted);margin-top:8px}
.project-card{border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 6px 20px rgba(7,23,71,.05)}
.project-card:hover{transform:translateY(-6px);box-shadow:var(--soft-shadow);border-color:#cfdcff}
.project-thumb{aspect-ratio:16/10;height:auto;min-height:170px;background:var(--navy)}
.project-body{padding:22px;display:flex;flex-direction:column;gap:10px}
.project-body h3{font-size:21px;color:var(--navy)}
.project-body p{font-size:14px;color:var(--muted);min-height:0}
.tag{background:#eaf0ff;color:var(--blue);font-size:11px;padding:5px 11px;border-radius:999px}
.tech-row span{background:#eaf0ff;color:var(--blue);font-size:11px;padding:5px 10px;border-radius:7px}
.service-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:22px}
.service-card{border-radius:var(--radius);padding:28px;border:1px solid var(--line);position:relative;overflow:hidden}
.service-card:after{content:"";position:absolute;left:0;bottom:0;height:4px;width:0;background:linear-gradient(90deg,var(--blue),var(--cyan));transition:.35s}
.service-card:hover{transform:translateY(-5px);box-shadow:var(--soft-shadow)}
.service-card:hover:after{width:100%}
.service-icon{width:58px;height:58px;border-radius:16px;background:linear-gradient(135deg,#e6efff,#d3e4ff);font-size:25px;margin-bottom:18px}
.service-card h3{font-size:18px;color:var(--navy);margin:10px 0}
.service-card p{font-size:14px;color:var(--muted)}
.about-section{background:var(--pale)}
.about-grid{gap:70px}
.about-grid p{font-size:16px;color:var(--muted)}
.about-core{background:radial-gradient(circle,#fff,#e6efff);color:var(--navy);box-shadow:var(--soft-shadow)}
.about-core i{color:var(--blue)}
.orbit-label{border-radius:999px;padding:10px 16px;font-size:13px;box-shadow:var(--soft-shadow)}
.value-list{display:grid;gap:12px}
.value-list span{display:flex;align-items:center;font-size:14px}
.value-list i{background:#dff3e8;color:#16a34a;border-radius:50%;padding:4px;width:25px;height:25px;text-align:center}
.case-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:24px}
.case-card{border-radius:var(--radius);padding:0 0 24px;overflow:hidden;box-shadow:0 6px 20px rgba(7,23,71,.04)}
.case-card:hover{transform:translateY(-6px);box-shadow:var(--soft-shadow)}
.case-card-image>img,.case-card-image>.case-icon{width:100%;height:auto;aspect-ratio:16/8;object-fit:cover;border-radius:0;margin:0 0 18px}
.case-card small,.case-card h3,.case-card p,.case-card>b,.case-impact{margin-left:24px;margin-right:24px}
.case-card small{display:block}
.case-card h3{margin-top:8px;margin-bottom:8px;font-size:20px}
.case-card p{font-size:14px}
.contact-section{background:linear-gradient(135deg,#041033,#071747 55%,#0a3fb8)}
.contact-grid{gap:56px}
.contact-grid h2{font-size:clamp(32px,4vw,48px);font-weight:800;letter-spacing:-.035em}
.contact-form{border-radius:22px;padding:34px;box-shadow:0 30px 70px rgba(0,0,0,.28)}
.contact-form input,.contact-form textarea,.contact-form select{border-radius:12px}
.footer{background:#040d33;color:#b9c6ea}
.footer-grid{gap:44px}
.footer h4{color:#fff}
.footer a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1)}
@media(max-width:1020px){
  .hwrap{gap:14px}
  .nav-toggle{display:flex}
  .main-nav{position:absolute;left:0;right:0;top:78px;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:14px 20px 20px;display:none;margin:0;box-shadow:var(--soft-shadow)}
  .main-nav.open{display:flex}
  .header-cta{display:none}
  .nav-item-wrap{width:100%}
  .nav-dropdown{position:static;display:none;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:0 0 0 18px}
  .nav-item-wrap:focus-within .nav-dropdown,.nav-item-wrap:hover .nav-dropdown{display:block}
  .hero-content{grid-template-columns:1fr;gap:28px;padding:58px 0 54px}
  .hero-visual{height:310px;max-width:700px;width:100%;margin:auto}
  .contact-grid{grid-template-columns:1fr;gap:34px}
}
@media(max-width:640px){
  .container{width:calc(100% - 32px)}
  .section{padding:60px 0}
  .site-header,.hwrap{height:72px}
  .main-nav{top:72px}
  .brand-mark{width:40px;height:44px}
  .brand-mark i{font-size:36px}
  .brand b{font-size:17px}
  .brand small{font-size:10px}
  .hero-content{padding:48px 0 40px}
  .hero h1{font-size:clamp(38px,10vw,52px)}
  .hero-copy>p{font-size:16px}
  .hero-services span{padding:0 12px;font-size:11px}
  .hero-visual{height:250px}
  .code-window{height:220px;padding:14px}
  .code-lines{font-size:11px;padding:12px 4px}
  .floating-shield{width:135px;height:125px;right:0;bottom:-4px}
  .floating-shield b{font-size:9px}
  .floating-shield small{font-size:8px}
  .section-heading{align-items:flex-start}
  .section-heading h2,.center-heading h2,.about-grid h2{font-size:30px}
  .contact-form{padding:22px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Module 02 — reference-aligned project discovery and detail layouts */
.projects-page-hero .breadcrumbs{display:flex;align-items:center;gap:10px;margin:0 0 22px;color:rgba(221,232,255,.72);font-size:13px}
.projects-page-hero .breadcrumbs a{color:inherit;text-decoration:none}
.projects-page-hero .breadcrumbs a:hover{color:#fff}
.projects-page-hero .section-kicker{display:inline-flex;margin-bottom:10px;color:#72caff}
.projects-toolbar{align-items:flex-start;flex-wrap:wrap;margin-bottom:18px}
.projects-toolbar .filter-bar{display:flex;flex-wrap:wrap;gap:9px;max-width:100%}
.projects-toolbar .filter-btn{border:1px solid var(--line);border-radius:999px;padding:10px 16px;background:#fff;color:#43516e;font:600 12px Inter,Arial,sans-serif;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .2s}
.projects-toolbar .filter-btn:hover{border-color:#9db8f4;color:#075bff;transform:translateY(-1px)}
.projects-toolbar .filter-btn.active{border-color:#075bff;background:#075bff;color:#fff;box-shadow:0 6px 16px rgba(7,91,255,.18)}
.project-search{flex:0 1 310px;min-width:min(260px,100%);height:46px;border-radius:12px;box-shadow:0 4px 14px rgba(7,23,71,.04)}
.project-search input{font-size:13px}
.project-results-count{margin:0 0 16px;color:#73809a;font-size:12px;font-weight:650}
.project-list-grid{align-items:stretch}
.project-list-grid .project-card-modern{height:100%;border-radius:16px}
.project-list-grid .project-card-content{display:flex;flex:1;flex-direction:column}
.project-list-grid .project-card-actions{margin-top:auto;padding-top:16px}
.projects-contact-cta{padding-top:20px}
.projects-cta-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px 38px;border-radius:20px;background:linear-gradient(120deg,#071747,#0a3e9c);color:#fff;box-shadow:0 18px 48px rgba(7,23,71,.16)}
.projects-cta-panel .section-kicker{color:#77d2ff}
.projects-cta-panel h2{margin:0 0 6px;color:#fff;font-size:clamp(24px,3vw,34px);letter-spacing:-.03em}
.projects-cta-panel p{margin:0;color:#d4e1ff;font-size:14px}
.projects-cta-panel .btn{flex:0 0 auto;background:#fff;color:#075bff;border-color:#fff}
.project-no-results{padding:36px 18px;text-align:center;border:1px dashed #cbd7ec;border-radius:14px;color:#66738d}
.project-page-fallback{padding-top:42px}
.project-page-fallback>.container>.project-back-link{display:inline-flex;align-items:center;gap:9px;margin-bottom:20px;color:#075bff;font-size:13px;font-weight:750}
.project-page-fallback .project-detail{padding:26px;border:1px solid #e3eaf5;border-radius:20px;background:#fff;box-shadow:0 12px 40px rgba(7,23,71,.06)}
.project-detail-heading h2{font-size:clamp(28px,3vw,38px)}
.project-detail-section{padding:14px 0;border-top:1px solid #edf1f7}
.project-detail-section h3{font-size:14px}
.project-detail-section p{font-size:13px}
.project-detail-section .project-feature-grid li{font-size:12px}
.project-detail-actions a{font-size:11px}
@media(max-width:800px){
 .projects-toolbar{display:flex;flex-direction:column;align-items:stretch}
 .projects-toolbar .filter-bar{overflow-x:auto;flex-wrap:nowrap;padding:2px 1px 8px;scrollbar-width:thin}
 .projects-toolbar .filter-btn{flex:0 0 auto}
 .project-search{width:100%;flex-basis:auto}
 .projects-cta-panel{align-items:flex-start;flex-direction:column;padding:28px 24px}
 .projects-cta-panel .btn{align-self:flex-start}
 .project-page-fallback .project-detail{padding:16px;border-radius:14px}
}
@media(max-width:480px){.projects-page-hero .breadcrumbs{font-size:11px}.projects-contact-cta{padding-top:0}.projects-cta-panel{padding:24px 20px}}
.project-detail-hero .breadcrumbs{display:flex;align-items:center;gap:10px;margin-bottom:18px;color:rgba(221,232,255,.72);font-size:13px;overflow-wrap:anywhere}
.project-detail-hero .breadcrumbs a{color:inherit;text-decoration:none}
.project-detail-hero .breadcrumbs a:hover{color:#fff}
.project-detail-hero .project-hero-category{display:inline-flex;margin:0 0 10px;padding:6px 11px;border:1px solid rgba(255,255,255,.25);border-radius:999px;color:#a8dcff;font-size:11px;font-weight:750}
.project-detail-hero h1{margin:0;font-size:clamp(34px,4.4vw,54px)}
.project-detail-hero p{margin-top:10px;max-width:760px}
.project-neighbour-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:26px}
.project-neighbour-nav>div:last-child{text-align:right}
.project-neighbour-nav a{display:flex;flex-direction:column;gap:7px;padding:17px 19px;border:1px solid #e1e9f5;border-radius:13px;background:#fff;color:#14264e;text-decoration:none;transition:border-color .2s,transform .2s}
.project-neighbour-nav a:hover{border-color:#9db8f4;transform:translateY(-2px)}
.project-neighbour-nav span{color:#075bff;font-size:11px;font-weight:750}
.project-neighbour-nav strong{font-size:14px}
@media(max-width:560px){.project-neighbour-nav{grid-template-columns:1fr}.project-neighbour-nav>div:last-child{text-align:left}}

/* Module 03 — case-study listing and editorial detail pages */
.case-page-hero{padding:94px 0 82px;background:linear-gradient(120deg,#061438 0%,#0b2866 58%,#075bff 100%)}
.case-hero-copy{max-width:850px}.case-page-hero h1{max-width:780px;font-size:clamp(38px,5vw,62px);line-height:1.06;letter-spacing:-1.8px}.case-page-hero p{max-width:680px;font-size:18px;color:#d4e1ff;margin-top:18px}
.case-hero-meta{display:flex;gap:24px;flex-wrap:wrap;margin-top:28px;color:#d9e6ff;font-size:13px}.case-hero-meta span{display:inline-flex;align-items:center;gap:9px}.case-hero-meta i{color:#55c5ff}
.case-list-section{padding-top:72px}.section-heading-row{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:34px}.section-heading-row h2{font-size:clamp(27px,3vw,40px);color:var(--navy);letter-spacing:-.8px}.section-heading-row p{color:var(--muted);margin-top:8px}
.case-grid-enhanced{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.case-card-enhanced{padding:0;border-radius:18px;min-width:0;overflow:hidden;display:flex;flex-direction:column;text-decoration:none;color:inherit}.case-card-visual{display:block;width:100%;height:210px;overflow:hidden;background:linear-gradient(135deg,#071747,#075bff)}.case-card-cover{width:100%;height:100%;max-width:100%;object-fit:cover;margin:0;border-radius:0;transition:transform .45s}.case-card-enhanced:hover .case-card-cover{transform:scale(1.045)}.case-art-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#fff;background:radial-gradient(circle at 75% 20%,#1c74d8,transparent 42%),linear-gradient(135deg,#071747,#0b3b94)}.case-art-placeholder i{font-size:42px;color:#75d8ff}.case-art-placeholder span{font-size:10px;letter-spacing:2px;font-weight:800;color:#c8dfff}
.case-card-content{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:22px 24px 24px}.case-card-content small{font-size:10px;letter-spacing:1.1px;color:var(--blue);font-weight:800}.case-card-title{display:block;font-size:20px;line-height:1.3;color:var(--navy);margin:9px 0}.case-card-summary{font-size:13px;line-height:1.7;color:var(--muted)}.case-card-content .case-impact{margin:15px 0 12px}.case-card-read{display:flex;align-items:center;gap:9px;margin-top:auto;padding-top:18px;color:var(--blue);font-size:12px;font-weight:800}.case-card-read i{transition:transform .2s}.case-card-enhanced:hover .case-card-read i{transform:translateX(4px)}
.case-empty-state{grid-column:1/-1;text-align:center;padding:60px 24px}.case-empty-state>i{font-size:34px;color:var(--blue);margin-bottom:14px}.case-empty-state h3{color:var(--navy);margin-bottom:8px}.case-bottom-cta{background:#f4f7fd;padding:54px 0}.case-bottom-cta>.container{display:flex;align-items:center;justify-content:space-between;gap:24px}.case-bottom-cta h2{font-size:clamp(25px,3vw,36px);color:var(--navy)}.case-bottom-cta p{color:var(--muted);margin-top:7px}
.case-detail-hero{padding:62px 0 66px}.case-detail-hero h1{max-width:900px;font-size:clamp(34px,4.5vw,56px);line-height:1.1}.case-detail-hero> .container>p{max-width:760px}.case-breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#c6d5f7;font-size:12px;margin-bottom:30px}.case-breadcrumb a:hover{color:#fff}.case-breadcrumb i{font-size:9px;opacity:.65}.case-impact-hero{margin-top:20px;background:#ffffff18;color:#fff;border:1px solid #ffffff30}.case-detail-section{padding-top:58px}.case-detail-media{margin:0 0 48px}.case-detail-cover{width:100%;max-height:480px;object-fit:cover;border-radius:20px;margin:0}.case-detail-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:60px;align-items:start}.case-toc-wrap{position:relative}.case-toc{position:sticky;top:110px;border:1px solid #e3eaf5;border-radius:14px;padding:20px;background:#fbfcff}.case-toc>span{display:block;font-size:10px;letter-spacing:1.4px;font-weight:850;color:var(--blue);margin-bottom:13px}.case-toc nav{display:grid;gap:4px}.case-toc a{font-size:12px;line-height:1.45;color:#66738d;padding:8px 10px;border-left:2px solid #e1e8f3}.case-toc a:hover,.case-toc a:focus{color:var(--blue);border-color:var(--blue);background:#f0f5ff}.case-article{min-width:0;max-width:850px}.case-article-section{position:relative;padding:0 0 34px 54px;margin:0 0 34px;border-bottom:1px solid #e9eef6;scroll-margin-top:100px}.case-section-number{position:absolute;left:0;top:3px;color:#7b9de2;font-size:12px;font-weight:850;letter-spacing:1px}.case-article-section h2{font-size:clamp(23px,2.5vw,30px);line-height:1.2;color:var(--navy);margin:0 0 15px;letter-spacing:-.5px}.case-rich-text{font-size:15px;line-height:1.9;color:#53617a;overflow-wrap:anywhere}.case-article-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.case-story-navigation{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid #e5ebf4;margin-top:56px;padding-top:26px}.case-all-link{font-size:13px;color:var(--blue);font-weight:750}.case-next-links{display:flex;gap:24px}.case-next-links a{display:grid;gap:5px;max-width:250px;text-align:right}.case-next-links small{font-size:9px;letter-spacing:1.2px;color:#7b88a2;font-weight:800}.case-next-links strong{font-size:12px;color:var(--navy)}.case-next-links i{color:var(--blue);margin-left:5px}.case-not-found{text-align:center;max-width:600px;margin:0 auto;padding:55px 20px}.case-not-found>i{font-size:42px;color:var(--blue);margin-bottom:16px}.case-not-found p{color:var(--muted);margin:10px 0 22px}
@media(max-width:980px){.case-grid-enhanced{grid-template-columns:repeat(2,minmax(0,1fr))}.case-detail-layout{grid-template-columns:200px minmax(0,1fr);gap:32px}}
@media(max-width:760px){.case-page-hero{padding:68px 0 60px}.section-heading-row,.case-bottom-cta>.container{align-items:flex-start;flex-direction:column}.case-grid-enhanced{grid-template-columns:1fr}.case-card-visual{height:220px}.case-detail-layout{display:block}.case-toc-wrap{margin-bottom:34px}.case-toc{position:static}.case-toc nav{grid-template-columns:repeat(2,minmax(0,1fr))}.case-article-section{padding-left:40px}.case-story-navigation{align-items:flex-start;flex-direction:column}.case-next-links{width:100%;justify-content:space-between}.case-next-links a{text-align:left}.case-hero-meta{gap:12px 20px}}
@media(max-width:460px){.case-toc nav{grid-template-columns:1fr}.case-article-actions .btn{width:100%;justify-content:center}.case-card-content{padding:20px}.case-card-visual{height:190px}}
.case-not-found .btn{margin-top:4px}

/* Module 04 — dedicated Services and About pages */
.breadcrumbs{display:flex;align-items:center;gap:10px;color:#c5d4f4;font-size:13px;margin-bottom:20px;position:relative;z-index:1}
.breadcrumbs a{color:#fff;text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}.breadcrumbs i{font-size:10px;opacity:.75}
.service-hero,.about-hero{padding:92px 0 84px;background:linear-gradient(120deg,#041033,#071747 58%,#0b48b8);position:relative;overflow:hidden}
.service-hero:after,.about-hero:after{content:"";position:absolute;width:480px;height:480px;border:1px solid #ffffff18;border-radius:50%;right:-100px;top:-220px;box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff05}
.service-hero .container,.about-hero .container{position:relative;z-index:1}
.service-hero h1,.about-hero h1{max-width:850px;color:#fff;font-size:clamp(38px,5vw,64px);line-height:1.08;letter-spacing:-.045em;font-weight:850}
.service-hero h1 em,.about-hero h1 em{font-style:normal;color:#42b9ff}
.service-hero p,.about-hero p{max-width:700px;color:#d5e1ff;font-size:19px;margin-top:18px}
.service-hero .hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.service-page-section{background:#fff}.service-page-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.service-page-card{position:relative;min-height:260px;padding:28px 26px 24px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(160deg,#fff,#f8faff);box-shadow:0 10px 28px #07174708;transition:transform .25s,box-shadow .25s,border-color .25s}
.service-page-card:hover{transform:translateY(-5px);border-color:#b8cdfa;box-shadow:0 18px 42px #07174712}
.service-page-card .service-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:17px;background:#eaf2ff;color:var(--blue);font-size:24px;margin-bottom:22px}
.service-page-card .service-index{position:absolute;right:24px;top:26px;color:#a9b9d6;font-size:13px;font-weight:800;letter-spacing:.12em}
.service-page-card h3{font-size:20px;color:var(--navy);margin-bottom:10px}.service-page-card p{color:var(--muted);line-height:1.7;font-size:14px}
.service-link,.text-link{display:inline-flex;align-items:center;gap:9px;color:var(--blue);font-weight:750;font-size:13px;text-decoration:none;margin-top:18px}.service-link:hover,.text-link:hover{gap:13px}
.section-more-link{display:flex;justify-content:center;margin-top:34px}
.process-section{background:var(--pale)}.process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.process-card{position:relative;padding:26px 22px;border:1px solid #e0e8f7;border-radius:18px;background:#fff;min-height:220px;box-shadow:0 8px 22px #07174706}
.process-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#eaf2ff;color:var(--blue);font-size:19px;margin-bottom:24px}
.process-number{position:absolute;right:22px;top:28px;color:#b9c7df;font-size:13px;font-weight:850;letter-spacing:.1em}
.process-card h3{font-size:18px;color:var(--navy);margin-bottom:9px}.process-card p{font-size:14px;color:var(--muted);line-height:1.7}
.technology-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.technology-chip{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff;min-width:0}
.technology-chip>i{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#eef4ff;color:var(--blue);font-size:20px;flex:0 0 auto}
.technology-chip span{display:grid;gap:3px}.technology-chip b{color:var(--navy);font-size:14px}.technology-chip small{color:var(--muted);font-size:12px;line-height:1.4}
.service-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:38px 42px;border-radius:22px;background:linear-gradient(120deg,#f1f6ff,#eaf3ff);border:1px solid #dbe7fb}
.service-cta h2{color:var(--navy);font-size:clamp(26px,3vw,36px);margin-bottom:8px}.service-cta p{color:var(--muted);max-width:650px}
.about-story-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:76px}
.about-visual{height:420px;position:relative;display:grid;place-items:center;isolation:isolate}
.about-visual-orbit{position:absolute;border:1px solid #b8cef4;border-radius:50%;transform:rotate(-22deg)}.orbit-a{width:360px;height:240px}.orbit-b{width:290px;height:370px;transform:rotate(52deg);border-color:#c8d8f5}
.about-visual-core{width:190px;height:190px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#fff;background:radial-gradient(circle at 30% 20%,#1a5cbb,#071747 72%);box-shadow:0 24px 60px #07174735;z-index:1}
.about-visual-core i{font-size:38px;color:#72d4ff}.about-visual-core b{font-size:16px;letter-spacing:.08em;text-align:center;max-width:150px}.about-visual-core small{font-size:9px;letter-spacing:.16em;color:#a8c9ff}
.about-float{position:absolute;z-index:2;display:flex;align-items:center;gap:8px;padding:11px 15px;background:#fff;border:1px solid #e3ebf8;border-radius:13px;color:var(--navy);font-weight:750;font-size:13px;box-shadow:0 12px 30px #07174712}
.about-float i{color:var(--blue)}.about-float-ai{left:0;top:70px}.about-float-cloud{right:0;top:145px}.about-float-data{left:35px;bottom:58px}
.about-story-copy h2{font-size:clamp(30px,3.5vw,44px);line-height:1.14;letter-spacing:-.035em;color:var(--navy);margin-bottom:18px}
.about-story-copy>p{font-size:16px;color:var(--muted);line-height:1.85;margin-bottom:22px}
.about-values-list{display:grid;gap:12px;margin:24px 0}.about-values-list span{display:flex;align-items:center;gap:11px;color:var(--navy);font-size:14px;font-weight:650}.about-values-list i{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e0f6ea;color:#159653;font-size:12px}
.about-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.about-actions .text-link{margin-top:0}
.principles-section{background:var(--pale)}.principles-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.principle-card{padding:27px 23px;background:#fff;border:1px solid #e2eaf7;border-radius:18px}.principle-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;background:#eaf2ff;color:var(--blue);font-size:21px;margin-bottom:20px}.principle-card h3{font-size:18px;color:var(--navy);margin-bottom:9px}.principle-card p{font-size:14px;color:var(--muted);line-height:1.7}
.mission-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.mission-card{position:relative;overflow:hidden;padding:38px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 12px 30px #07174708}.vision-card{background:linear-gradient(140deg,#071747,#0c3e93);border-color:#0c3e93}.mission-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#eaf2ff;color:var(--blue);font-size:22px;margin-bottom:24px}.vision-card .mission-icon{background:#ffffff1a;color:#69d2ff}.mission-card .section-kicker{margin-bottom:8px}.mission-card h2{font-size:clamp(24px,3vw,34px);color:var(--navy);margin-bottom:13px}.mission-card p{font-size:15px;color:var(--muted);line-height:1.8}.vision-card h2{color:#fff}.vision-card p{color:#d0def8}
.about-cta-actions{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:1000px){.service-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-grid,.principles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about-story-grid{gap:36px}.technology-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.service-hero,.about-hero{padding:66px 0 60px}.service-page-grid,.process-grid,.principles-grid,.mission-grid,.technology-grid{grid-template-columns:1fr}.about-story-grid{grid-template-columns:1fr;gap:22px}.about-visual{height:330px;transform:scale(.9);margin:-10px 0}.about-visual-orbit.orbit-a{width:300px;height:200px}.about-visual-orbit.orbit-b{width:250px;height:310px}.about-float-ai{left:2%}.about-float-cloud{right:0}.about-float-data{left:6%;bottom:30px}.service-cta{align-items:flex-start;flex-direction:column;padding:28px 24px}.mission-card{padding:28px 24px}.about-cta-actions{width:100%}}


/* Module 05 — Contact and inquiry workflow */
.breadcrumbs{display:flex;gap:10px;align-items:center;color:#b9c9e8;font-size:13px;margin-bottom:18px}
.breadcrumbs a:hover{color:#fff}
.page-hero .section-kicker{color:#7fd0ff}
.page-hero h1{font-size:clamp(36px,5vw,60px);font-weight:850;letter-spacing:-1.8px;color:#fff;max-width:820px}
.page-hero h1 em{font-style:normal;color:#37b6ff}
.page-hero p{max-width:680px;color:#d0dcff;font-size:18px;margin-top:14px}
.contact-page-section{padding-top:78px;padding-bottom:86px}
.contact-page-section .contact-grid{align-items:start;gap:56px}
.contact-copy h2{font-size:clamp(30px,4vw,46px);line-height:1.12;letter-spacing:-1.2px;margin:12px 0 16px}
.contact-copy>p{color:#d0dcff;line-height:1.75;max-width:440px}
.contact-detail a{color:inherit;text-decoration:none}
.contact-detail a:hover{text-decoration:underline}
.contact-promise{display:flex;align-items:flex-start;gap:12px;color:#c8d8f7;font-size:13px;line-height:1.6;margin-top:32px;max-width:390px}
.contact-promise i{color:#70d5ff;margin-top:2px}
.contact-form-wrap{min-width:0}
.contact-form{display:grid;gap:15px}
.contact-form label span{color:#e05262}
.contact-form textarea{resize:vertical;min-height:140px}
.contact-form .form-required-note{font-size:12px;color:#74809a;margin:-5px 0 0}
.contact-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.form-notice{padding:13px 16px;margin-bottom:14px;border-radius:12px;background:#fff5df;border:1px solid #f2d89d;color:#77510a;font-size:14px}
.thankyou-page{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:820px;padding-top:90px;padding-bottom:90px}
.thankyou-page h1{font-size:clamp(30px,4vw,44px);color:var(--navy);margin:8px 0 12px}
.thankyou-page>p{max-width:620px;color:var(--muted);line-height:1.75}
.thankyou-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:24px}
.inquiry-detail .panel-heading p{color:var(--muted);font-size:13px;margin-top:6px}
.inquiry-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
.inquiry-meta>div{background:#f7f9fd;border:1px solid var(--line);border-radius:12px;padding:15px;min-width:0}
.inquiry-meta small{display:block;color:#78849c;font-size:10px;font-weight:800;letter-spacing:.12em;margin-bottom:6px}
.inquiry-meta b,.inquiry-meta a{overflow-wrap:anywhere;color:var(--navy);font-size:14px}
.inquiry-message{padding:22px;border:1px solid var(--line);border-radius:14px;background:#fbfcff}
.inquiry-message h3{font-size:16px;color:var(--navy);margin-bottom:12px}
.inquiry-message p{white-space:normal;overflow-wrap:anywhere;line-height:1.8;color:#33415f}
.inquiry-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px}
.inquiry-actions .status-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.inquiry-actions .status-form label{font-size:13px;font-weight:700}
.inquiry-actions .status-form select{padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}
.btn-danger{background:#fff1f1;color:#b42332;border:1px solid #f3c5c9;border-radius:10px;padding:11px 16px;font-weight:700;cursor:pointer}
.btn-danger:hover{background:#b42332;color:#fff}
@media(max-width:760px){.contact-page-section .contact-grid{grid-template-columns:1fr;gap:32px}.contact-grid{gap:32px}.inquiry-meta{grid-template-columns:1fr}.inquiry-actions{align-items:stretch}.inquiry-actions>*{width:100%}.inquiry-actions .status-form{align-items:stretch}.inquiry-actions .status-form>*{width:100%}}

/* Module 06 — Admin workspace and dashboard */
.admin-sidebar nav a.active{background:rgba(75,143,255,.16);color:#fff;border-left:3px solid #57b7ff;padding-left:13px}
.admin-sidebar nav a.active i{color:#72c8ff}
.admin-sidebar nav a .admin-nav-count{margin-left:auto;min-width:22px;padding:3px 7px;border-radius:20px;background:#eaf2ff;color:#174da8;font-size:10px;font-weight:800;text-align:center}
.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px;padding:24px 26px;border:1px solid #e5ebf5;border-radius:16px;background:linear-gradient(115deg,#fff 0%,#f4f8ff 100%)}
.dashboard-welcome h2{margin:4px 0 6px;color:var(--navy);font-size:clamp(21px,2.4vw,29px)}
.dashboard-welcome p,.dashboard-panel-subtitle{margin:0;color:#75829a;font-size:13px}
.dashboard-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:var(--blue)}
.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}
.dashboard-stat{display:block;position:relative;min-height:138px;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}
.dashboard-stat:hover{transform:translateY(-3px);border-color:#c8d9fb;box-shadow:0 10px 26px #10265c12}
.dashboard-stat-icon{display:grid!important;place-items:center;width:38px;height:38px;margin-bottom:12px;border-radius:11px;background:#edf4ff;color:#2463c7;font-size:15px}
.dashboard-stat-label{font-size:12px;color:#71809e}
.dashboard-stat strong{margin-top:2px;font-size:29px}
.dashboard-stat small{display:block;margin-top:4px;color:#8994a8;font-size:10px}
.dashboard-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.dashboard-quick>a{display:flex;align-items:center;gap:12px;min-width:0;padding:15px;border:1px solid #e6ebf5;border-radius:13px;background:#fff;color:var(--navy);text-decoration:none;transition:.2s}
.dashboard-quick>a:hover{border-color:#c6d8ff;transform:translateY(-2px);box-shadow:0 8px 20px #10265c0d}
.dashboard-quick>a>i:first-child{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#eef4ff;color:#2362c5}
.dashboard-quick>a>i:last-child{margin-left:auto;color:#91a0b8;font-size:12px}
.dashboard-quick span{display:grid;gap:3px;min-width:0}
.dashboard-quick b{font-size:11px}
.dashboard-quick small{font-size:10px;color:#8994a8;line-height:1.4}
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.9fr);gap:18px;align-items:start}
.dashboard-panel{min-width:0;padding:20px}
.dashboard-panel .panel-heading{gap:12px;margin-bottom:12px}
.dashboard-panel .panel-heading h2{margin:0 0 4px}
.dashboard-panel .panel-heading>a{white-space:nowrap}
.dashboard-panel td{font-size:11px}
.dashboard-row-link{font-weight:800}
.dashboard-status{display:inline-flex;align-items:center;padding:5px 8px;border-radius:30px;background:#edf3ff;color:#315b9c;font-size:9px;font-weight:800;white-space:nowrap}
.dashboard-status.status-pending{background:#fff4df;color:#996000}
.dashboard-status.status-contacted{background:#eaf3ff;color:#245caa}
.dashboard-status.status-resolved,.dashboard-status.status-published{background:#e6f8ef;color:#13734c}
.dashboard-status.status-draft{background:#f0f1f4;color:#626d80}
.dashboard-project-list{display:grid}
.dashboard-project-row{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #edf0f6;color:var(--ink);text-decoration:none}
.dashboard-project-row:last-child{border-bottom:0}
.dashboard-project-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:#eef4ff;color:#2362c5}
.dashboard-project-info{display:grid;gap:3px;min-width:0;flex:1}
.dashboard-project-info b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-project-info small{font-size:10px;color:#8b96a9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-empty{padding:22px!important;color:#8793a7;text-align:center;font-size:12px}
@media(max-width:1100px){.dashboard-quick{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:1fr}}
@media(max-width:760px){.dashboard-welcome{align-items:flex-start;flex-direction:column}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-quick{grid-template-columns:1fr}.dashboard-panel{padding:15px}.dashboard-panel .panel-heading{align-items:flex-start}.dashboard-project-row{flex-wrap:wrap}}
@media(max-width:420px){.dashboard-stats{grid-template-columns:1fr}}

/* Comstech Solutions logo (bundled brand assets) */
.brand-mark{width:54px;height:54px;border:0;border-radius:50%;background:transparent;overflow:hidden}
.brand-mark img{position:static;width:100%;height:100%;object-fit:contain;display:block}
.footer-brand .brand-mark,.admin-sidebar .brand-mark,.login-card .brand-mark{background:transparent;border:0}
.brand{gap:12px}
.hero-brand-logo{width:150px;height:150px;max-width:90%;object-fit:contain;display:block;margin:auto}
.about-brand-logo{width:64px;height:64px;object-fit:contain;border-radius:50%;background:#fff;display:block}
.about-visual-core .about-brand-logo{width:72px;height:72px}
@media(max-width:640px){
  .brand-mark{width:44px;height:44px}
  .hero-brand-logo{width:105px;height:105px}
}

/* Admin sign-in button in header */
.header-admin{white-space:nowrap;padding:10px 16px;font-size:14px;font-weight:700;border:2px solid var(--navy);color:var(--navy);background:#fff;border-radius:999px;display:inline-flex;align-items:center;gap:8px}
.header-admin:hover{background:var(--navy);color:#fff}
@media(max-width:1100px){.header-admin span{display:none}.header-admin{padding:10px 12px}}
@media(max-width:640px){.header-admin{font-size:0;gap:0;padding:10px 12px}.header-admin i{font-size:15px}}

/* Brand name "Comstech Solutions": always a single, high-contrast colour for its background */
.site-header .brand b,.login-card .brand b{color:#071747;font-weight:800;text-shadow:none}
.site-header .brand small,.login-card .brand small{color:#4a5a80}
.footer .brand b,.footer-brand b,.admin-sidebar .brand b{color:#ffffff;font-weight:800;text-shadow:none}
.footer .brand small,.footer-brand small,.admin-sidebar .brand small{color:#c9d6f5}
.brand b,.brand small{opacity:1;-webkit-text-fill-color:currentColor;background:none}
