/* Rawasen Technologies — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root{
  --white:#ffffff;
  --ink:#20242c;
  --muted:#6b7280;
  --blue:#3D86C6;
  --blue-deep:#0F1E33;
  --blue-mid:#1A3A5C;
  --line:#e7e9ee;
  --panel:#F4F5F7;
  --max:1180px;
}

[data-theme="dark"]{
  --white:#0a1128;
  --ink:#eef1f6;
  --muted:#93a0b3;
  --blue:#57a2e6;
  --blue-deep:#0b1520;
  --blue-mid:#79b3ea;
  --line:#22314f;
  --panel:#0f1e33;
}

html{ background:var(--white); transition:background-color .25s; }
body{ transition:background-color .25s, color .25s; }

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Poppins', sans-serif;
  font-weight:300;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

/* ---- Header ---- */
header.site{
  padding:28px 6vw 0;
  text-align:center;
  border-bottom:1px solid var(--line);
  position:relative;
}

/* ---- Top utility bar (theme + language toggles) ---- */
.top-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 6vw;
  background:var(--panel);
  border-bottom:1px solid var(--line);
}
.theme-toggle,
.lang-toggle{
  display:inline-flex;
  gap:2px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:20px;
  padding:3px;
}
.lang-btn,
.theme-btn{
  border:none;
  background:transparent;
  padding:5px 13px;
  font-size:11px;
  letter-spacing:0.08em;
  font-weight:500;
  color:var(--muted);
  border-radius:16px;
  cursor:pointer;
  font-family:'Poppins', sans-serif;
  transition:background .2s, color .2s;
}
.theme-btn{ font-size:13px; padding:5px 10px; line-height:1; }
.lang-btn.active,
.theme-btn.active{ background:var(--blue); color:#fff; }
@media (max-width:760px){
  .top-bar{ padding:8px 6vw; }
  .theme-btn{ padding:4px 7px; font-size:11px; }
  .lang-btn{ padding:4px 9px; font-size:10px; }
}
header.site .logo{
  display:inline-block;
  width:clamp(360px, 38vw, 560px);
  margin:0 auto;
}
nav.primary{
  margin-top:18px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:40px;
  padding-bottom:18px;
}
nav.primary .nav-item{
  display:flex;
  align-items:center;
}
nav.primary .nav-item-row{
  display:flex;
  align-items:center;
  gap:3px;
}

@media (max-width:760px){
  header.site{
    display:flex; flex-direction:column; align-items:center;
    text-align:center; padding:20px 5vw 0; position:relative;
  }
  header.site .logo{ width:190px; margin-bottom:2px; }

  nav.primary{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:8px 20px;
    padding:14px 4vw 18px;
    margin-top:2px;
  }
  nav.primary a{
    padding:4px 0;
    width:auto;
    border-bottom:1px solid transparent;
    font-size:11.5px;
  }

  /* Services item + tap-open dropdown (mobile) */
  nav.primary .nav-item{ position:relative; }
  nav.primary .nav-item-row{
    display:flex; align-items:center; gap:3px;
  }
  nav.primary .nav-item-row a{ border-bottom:1px solid transparent; }
  .submenu-toggle{
    background:none; border:none; color:var(--muted);
    font-size:9px; padding:4px 2px; cursor:pointer;
    line-height:1;
    transition:transform .25s, color .2s;
  }
  .submenu-toggle.open{ transform:rotate(180deg); color:var(--blue); }
  .submenu{
    display:none;
    position:absolute; top:100%; left:50%;
    transform:translateX(-50%);
    flex-direction:column;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:8px;
    box-shadow:0 14px 30px rgba(0,0,0,0.16);
    padding:8px 16px;
    margin-top:10px;
    min-width:215px;
    z-index:30;
    gap:2px;
  }
  .submenu.open{ display:flex; }
  .submenu a{
    padding:8px 2px !important;
    border-bottom:none !important;
    font-size:11.5px !important;
    letter-spacing:0.05em !important;
    color:var(--muted);
    text-align:left;
    white-space:nowrap;
  }
  .submenu a:hover{ color:var(--blue); }
}
@media (min-width:761px){
  .submenu-toggle{ display:none; }
  .submenu{ display:none !important; }
}
nav.primary a{
  font-size:13px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:400;
  transition:color .2s;
  padding-bottom:4px;
  border-bottom:1px solid transparent;
}
nav.primary a:hover,
nav.primary a[aria-current="page"]{
  color:var(--blue);
  border-bottom-color:var(--blue);
}

/* ---- Hero ---- */
.hero{
  position:relative;
  min-height:72vh;
  display:flex;
  align-items:flex-end;
  background:
    linear-gradient(90deg, rgba(6,12,24,0.55) 0%, rgba(6,12,24,0.35) 38%, rgba(6,12,24,0.08) 62%, rgba(6,12,24,0.18) 100%),
    linear-gradient(0deg, rgba(6,12,24,0.32) 0%, rgba(6,12,24,0.02) 45%),
    url('hero-photo.jpg');
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.hero-inner{
  padding:0 6vw 64px;
  max-width:var(--max);
  margin:0 auto;
  width:100%;
}
.hero h1{
  color:#fff;
  font-size:clamp(40px, 7vw, 76px);
  font-weight:300;
  letter-spacing:0.02em;
  line-height:1.08;
  margin:0 0 18px;
}
.hero p.tag{
  color:#D7E4F2;
  font-size:16px;
  letter-spacing:0.04em;
  margin:0;
}

/* ---- Blinking aviation obstruction light on the tower ---- */
.beacon{
  position:absolute;
  width:7px; height:7px;
  margin:-3.5px 0 0 -3.5px;
  border-radius:50%;
  background:#ff3b3b;
  box-shadow:0 0 4px 1px rgba(255,50,50,0.95), 0 0 10px 4px rgba(255,50,50,0.45);
  animation:beaconBlink 1.6s infinite;
  pointer-events:none;
  z-index:2;
  visibility:hidden;
}
@keyframes beaconBlink{
  0%, 35%{ opacity:1; }
  45%, 85%{ opacity:0.05; }
  95%, 100%{ opacity:1; }
}
.hero-accent{
  display:block;
  width:56px; height:3px;
  background:var(--blue);
  margin:14px 0 18px;
  border-radius:2px;
}
.hero-cta{
  display:flex; gap:14px; margin-top:28px; flex-wrap:wrap;
}
.btn{
  display:inline-block;
  padding:13px 28px;
  border-radius:5px;
  font-size:14px;
  font-weight:500;
  letter-spacing:0.03em;
  text-decoration:none;
  transition:background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{
  background:var(--blue);
  color:#fff;
  border:1px solid var(--blue);
}
.btn-primary:hover{ background:var(--blue-mid); border-color:var(--blue-mid); }
.btn-outline{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,0.7);
}
.btn-outline:hover{ background:rgba(255,255,255,0.12); border-color:#fff; }

/* ---- Sections ---- */
.section{
  padding:90px 6vw;
  max-width:var(--max);
  margin:0 auto;
}
.section.tight{ padding-top:64px; padding-bottom:64px; }
.section.panel{ background:var(--panel); max-width:none; }
.section.panel > .section-inner{ max-width:var(--max); margin:0 auto; }

.eyebrow{
  text-align:center;
  color:var(--blue);
  font-size:14px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  font-weight:400;
  margin:0 0 22px;
}
.lede{
  text-align:center;
  font-size:19px;
  color:var(--ink);
  font-weight:400;
  letter-spacing:0.02em;
  margin:0 0 34px;
}
.copy{
  max-width:760px;
  margin:0 auto;
  text-align:center;
  color:var(--muted);
  font-size:15px;
  line-height:1.9;
  font-weight:300;
}

.photo-band{
  height:280px;
  background:
    linear-gradient(180deg, rgba(15,30,51,0.15), rgba(15,30,51,0.4)),
    url('about-photo.jpg');
  background-size:cover;
  background-position:center 40%;
}
.photo-band.pb-services{
  background:
    linear-gradient(180deg, rgba(15,30,51,0.15), rgba(15,30,51,0.4)),
    url('services-photo.jpg');
  background-size:cover;
  background-position:center 55%;
}
html[data-theme="dark"] .photo-band.pb-services{
  background-image:
    linear-gradient(180deg, rgba(15,30,51,0.15), rgba(15,30,51,0.4)),
    url('services-photo-dark.jpg');
}

/* ---- Services page hero (intro section with tower background) ---- */
.services-hero{
  position:relative;
  max-width:none;
  width:100%;
  min-height:58vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(180deg, rgba(6,12,24,0.68) 0%, rgba(6,12,24,0.5) 55%, rgba(6,12,24,0.8) 100%),
    url('services-photo.jpg');
  background-size:cover;
  background-position:center top;
  overflow:hidden;
}
html[data-theme="dark"] .services-hero{
  background-image:
    linear-gradient(180deg, rgba(6,12,24,0.68) 0%, rgba(6,12,24,0.5) 55%, rgba(6,12,24,0.8) 100%),
    url('services-photo-dark.jpg');
}
.services-hero .eyebrow{ color:#9FD0FF; }
.services-hero .lede{ color:#fff; }
.services-hero .copy{ color:#D7E4F2; }

/* Stronger, more vivid glow for the tower lights on Services — dark mode, desktop only */
@media (min-width:761px){
  html[data-theme="dark"] .services-hero .beacon{
    width:10px; height:10px;
    margin:-5px 0 0 -5px;
    background:#FF3D2D;
    box-shadow:
      0 0 10px 4px rgba(255,45,31,0.9),
      0 0 22px 10px rgba(255,45,31,0.6),
      0 0 38px 18px rgba(255,45,31,0.3);
    animation-name: servicesBeaconBlink;
  }
}
@keyframes servicesBeaconBlink{
  0%, 35%{ opacity:1; }
  45%, 85%{ opacity:0.45; }
  95%, 100%{ opacity:1; }
}

/* This particular light sits closer to camera/haze in the photo — dial it back */
#sBeacon1{
  width:6px !important; height:6px !important;
  margin:-3px 0 0 -3px !important;
  box-shadow:
    0 0 4px 1px rgba(255,45,31,0.6),
    0 0 8px 3px rgba(255,45,31,0.3) !important;
}
@media (max-width:760px){
  .services-hero{
    min-height:64vh;
    background-image:
      linear-gradient(180deg, rgba(6,12,24,0.68) 0%, rgba(6,12,24,0.5) 55%, rgba(6,12,24,0.8) 100%),
      url('services-photo-mobile.jpg');
  }
  html[data-theme="dark"] .services-hero{
    background-image:
      linear-gradient(180deg, rgba(6,12,24,0.68) 0%, rgba(6,12,24,0.5) 55%, rgba(6,12,24,0.8) 100%),
      url('services-photo-mobile-dark.jpg');
  }
}

/* ---- Cards (services) ---- */
.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
  margin-top:10px;
}
.grid-5{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
}
.grid-5 .card{
  flex:0 1 calc(33.333% - 19px);
  min-width:220px;
}
.grid-4{ grid-template-columns:repeat(4, 1fr); }
@media (max-width:900px){
  .grid-4{ grid-template-columns:repeat(2, 1fr); }
}
.card{
  border:1px solid var(--line);
  border-radius:6px;
  padding:34px 28px;
  text-align:center;
  transition:border-color .2s, transform .2s;
}
.card:hover{ border-color:var(--blue); transform:translateY(-3px); }
.card .num{
  font-size:13px;
  letter-spacing:0.18em;
  color:var(--blue);
  margin-bottom:14px;
}
.card .num.emoji{
  font-size:30px;
  letter-spacing:0;
  margin-bottom:16px;
}
.card h3{
  font-size:17px;
  font-weight:500;
  margin:0 0 12px;
  letter-spacing:0.02em;
}
.card p{
  font-size:14px;
  color:var(--muted);
  line-height:1.75;
  margin:0;
  font-weight:300;
}

/* ---- Contact ---- */
.contact-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:60px;
}
.contact-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.contact-form label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--muted);
}
.contact-form input,
.contact-form textarea{
  font-family:'Poppins', sans-serif;
  font-weight:300;
  font-size:15px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:4px;
  background:var(--white);
  color:var(--ink);
  resize:vertical;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:var(--blue);
}
.contact-form button{
  align-self:flex-start;
  margin-top:8px;
  padding:13px 30px;
  background:var(--blue);
  color:#fff;
  border:none;
  border-radius:4px;
  font-family:'Poppins', sans-serif;
  font-size:13px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .2s;
}
.contact-form button:hover{ background:var(--blue-mid); }

.contact-details{
  display:flex;
  flex-direction:column;
  gap:26px;
}
.contact-details .detail .num{
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--blue);
  margin-bottom:6px;
}
.contact-details .detail p{
  margin:0;
  font-size:15px;
  color:var(--ink);
  font-weight:400;
}

@media (max-width:760px){
  .contact-grid{ grid-template-columns:1fr; gap:40px; }
}

/* ---- Footer ---- */
footer.site{
  border-top:1px solid var(--line);
  padding:30px 6vw;
  text-align:center;
  font-size:12px;
  color:var(--muted);
  letter-spacing:0.04em;
}
footer.site .footer-links{
  display:block;
  margin-top:8px;
  font-size:11.5px;
}
footer.site .footer-links a{
  color:var(--muted);
  text-decoration:none;
  transition:color .2s;
}
footer.site .footer-links a:hover{ color:var(--blue); }

/* ---- Map band (Contact page) ---- */
.map-band{
  width:100%;
  height:360px;
  border-top:1px solid var(--line);
}
.map-band iframe{ display:block; width:100%; height:100%; filter:grayscale(0.15) contrast(1.02); }

/* ---- Legal pages (Privacy / Terms) ---- */
.legal-copy{ max-width:760px; margin:0 auto; }
.legal-copy h3{
  font-size:16px; font-weight:500; color:var(--ink);
  margin:34px 0 10px;
}
.legal-copy h3:first-child{ margin-top:0; }
.legal-copy p{
  font-size:14.5px; color:var(--muted); line-height:1.85; font-weight:300;
  margin:0;
}
.legal-copy a{ color:var(--blue); }

@media (max-width:760px){
  .grid{ grid-template-columns:1fr; }
  .section{ padding:64px 6vw; }
  .hero{
    min-height:100vh;
    background-image:
      linear-gradient(90deg, rgba(6,12,24,0.55) 0%, rgba(6,12,24,0.35) 38%, rgba(6,12,24,0.08) 62%, rgba(6,12,24,0.18) 100%),
      linear-gradient(0deg, rgba(6,12,24,0.32) 0%, rgba(6,12,24,0.02) 45%),
      url('hero-photo-mobile.jpg');
    background-position:center;
    background-size:cover;
  }
}

/* ---- Clickable expertise cards ---- */
.card-clickable{ cursor:pointer; position:relative; padding-bottom:44px; }
.card-clickable .card-more{
  position:absolute; left:28px; bottom:20px;
  font-size:12px; letter-spacing:0.06em; color:var(--blue); font-weight:500;
}
.card-clickable:hover{ border-color:var(--blue); box-shadow:0 8px 24px rgba(61,134,198,0.12); }

/* ---- Modal ---- */
.modal-overlay{
  position:fixed; inset:0; background:rgba(10,16,28,0.6);
  display:none; align-items:flex-start; justify-content:center;
  padding:6vh 20px; overflow-y:auto; z-index:999;
}
.modal-overlay.open{ display:flex; }
.modal-box{
  display:none;
  background:var(--white); border-radius:10px;
  max-width:640px; width:100%;
  padding:44px 40px 40px;
  position:relative;
  box-shadow:0 20px 60px rgba(0,0,0,0.3);
}
.modal-box.active{ display:block; }
.modal-close{
  position:absolute; top:16px; right:18px;
  background:none; border:none; font-size:26px; line-height:1;
  color:var(--muted); cursor:pointer;
}
.modal-close:hover{ color:var(--blue); }
.modal-icon{ font-size:34px; margin:0 0 10px; }
.modal-box h3{
  font-size:22px; font-weight:500; margin:0 0 18px; letter-spacing:0.01em;
}
.modal-copy{
  font-size:14px; color:var(--muted); line-height:1.8; font-weight:300;
  margin:0 0 14px;
}
.modal-box h4{
  font-size:13px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--blue); font-weight:500; margin:26px 0 14px;
}
.modal-list{
  list-style:none; padding:0; margin:0;
  display:grid; grid-template-columns:1fr 1fr; gap:10px 20px;
}
.modal-list li{
  font-size:14px; color:var(--ink); padding-left:16px; position:relative;
}
.modal-list li::before{
  content:'✓'; position:absolute; left:0; color:var(--blue); font-weight:700;
}
@media (max-width:600px){
  .modal-list{ grid-template-columns:1fr; }
  .modal-box{ padding:38px 22px 30px; }
}

/* ---- Standalone check list (Why Choose section) ---- */
.check-grid{
  max-width:760px;
  margin:0 auto;
  grid-template-columns:1fr 1fr;
}
.check-grid li{ font-size:15px; padding-left:22px; }
@media (max-width:600px){
  .check-grid{ grid-template-columns:1fr; }
}

/* ---- Service blocks (Services page) ---- */
.service-block{
  padding:70px 6vw;
  border-bottom:1px solid var(--line);
  scroll-margin-top:20px;
}
.service-block.alt{ background:var(--panel); }
.service-block-inner{ max-width:var(--max); margin:0 auto; }
.service-head{
  display:flex; align-items:center; gap:16px;
  margin-bottom:18px;
}
.service-head-split{
  justify-content:space-between;
  flex-wrap:wrap;
  row-gap:14px;
}
.service-head-title{ display:flex; align-items:center; gap:16px; }
.service-icon{ font-size:34px; line-height:1; }
.service-head h2{
  font-size:26px; font-weight:400; letter-spacing:0.01em; margin:0;
  color:var(--ink);
}

/* ---- Client Work pill toggle (top-right of Software section) ---- */
.client-work-pill{
  display:inline-flex; align-items:center; gap:9px;
  background:var(--white);
  color:var(--blue);
  border:1.5px solid var(--blue);
  padding:11px 20px;
  border-radius:999px;
  font-size:13.5px; font-weight:500; letter-spacing:0.02em;
  font-family:'Poppins', sans-serif;
  cursor:pointer;
  box-shadow:0 2px 10px rgba(61,134,198,0.12);
  transition:background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.client-work-pill:hover{
  background:var(--blue);
  color:#fff;
  box-shadow:0 6px 18px rgba(61,134,198,0.28);
  transform:translateY(-1px);
}
.cw-icon{ width:16px; height:16px; flex-shrink:0; }
.cw-chevron{
  width:14px; height:14px; flex-shrink:0;
  transition:transform .3s ease;
}
.client-work-pill.open .cw-chevron{ transform:rotate(180deg); }
.cw-label-open{ display:none; }
.client-work-pill.open .cw-label-closed{ display:none; }
.client-work-pill.open .cw-label-open{ display:inline; }
@media (max-width:520px){
  .client-work-pill{ font-size:12.5px; padding:9px 16px; }
}
.service-intro{
  font-size:15px; color:var(--muted); font-weight:300; line-height:1.8;
  max-width:720px; margin:0 0 28px;
}
.service-list{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:1fr 1fr; gap:12px 32px;
}
.service-list li{
  position:relative; padding-left:22px;
  font-size:14.5px; color:var(--ink); font-weight:400; line-height:1.5;
}
.service-list li::before{
  content:''; position:absolute; left:0; top:7px;
  width:8px; height:8px; border-radius:50%;
  background:var(--blue);
}
@media (max-width:760px){
  .service-list{ grid-template-columns:1fr; }
  .service-head h2{ font-size:21px; }
  .service-block{ padding:50px 6vw; }
}



/* ---- Service section background patterns (SVG, no external images) ---- */
/* ---- Service section decorative dot/arc patterns removed: plain flat background now, same as Home/About ---- */

/* ---- Same patterns on Home "What We Do" cards (same 4 categories, same order) ---- */
.section.panel .grid-4 .card:nth-child(1){ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%233D86C6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.16%22%3E%3Cpath%20d%3D%22M22%2C0%20A22%2C22%200%200%201%200%2C22%22/%3E%3Cpath%20d%3D%22M44%2C0%20A44%2C44%200%200%201%200%2C44%22/%3E%3Cpath%20d%3D%22M66%2C0%20A66%2C66%200%200%201%200%2C66%22/%3E%3Cpath%20d%3D%22M88%2C0%20A88%2C88%200%200%201%200%2C88%22/%3E%3Cpath%20d%3D%22M110%2C0%20A110%2C110%200%200%201%200%2C110%22/%3E%3Cpath%20d%3D%22M132%2C0%20A132%2C132%200%200%201%200%2C132%22/%3E%3Cpath%20d%3D%22M154%2C0%20A154%2C154%200%200%201%200%2C154%22/%3E%3Cpath%20d%3D%22M176%2C0%20A176%2C176%200%200%201%200%2C176%22/%3E%3C/g%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%223%22%20fill%3D%22%233D86C6%22%20opacity%3D%220.16%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:top left; background-repeat:no-repeat; }
.section.panel .grid-4 .card:nth-child(2){ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%233D86C6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.16%22%3E%3Cpath%20d%3D%22M178%2C200%20A22%2C22%200%200%201%20200%2C178%22/%3E%3Cpath%20d%3D%22M156%2C200%20A44%2C44%200%200%201%20200%2C156%22/%3E%3Cpath%20d%3D%22M134%2C200%20A66%2C66%200%200%201%20200%2C134%22/%3E%3Cpath%20d%3D%22M112%2C200%20A88%2C88%200%200%201%20200%2C112%22/%3E%3Cpath%20d%3D%22M90%2C200%20A110%2C110%200%200%201%20200%2C90%22/%3E%3Cpath%20d%3D%22M68%2C200%20A132%2C132%200%200%201%20200%2C68%22/%3E%3Cpath%20d%3D%22M46%2C200%20A154%2C154%200%200%201%20200%2C46%22/%3E%3Cpath%20d%3D%22M24%2C200%20A176%2C176%200%200%201%20200%2C24%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%22200%22%20r%3D%223%22%20fill%3D%22%233D86C6%22%20opacity%3D%220.16%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:bottom right; background-repeat:no-repeat; }
.section.panel .grid-4 .card:nth-child(3){ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%233D86C6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.16%22%3E%3Cpath%20d%3D%22M178%2C0%20A22%2C22%200%200%200%20200%2C22%22/%3E%3Cpath%20d%3D%22M156%2C0%20A44%2C44%200%200%200%20200%2C44%22/%3E%3Cpath%20d%3D%22M134%2C0%20A66%2C66%200%200%200%20200%2C66%22/%3E%3Cpath%20d%3D%22M112%2C0%20A88%2C88%200%200%200%20200%2C88%22/%3E%3Cpath%20d%3D%22M90%2C0%20A110%2C110%200%200%200%20200%2C110%22/%3E%3Cpath%20d%3D%22M68%2C0%20A132%2C132%200%200%200%20200%2C132%22/%3E%3Cpath%20d%3D%22M46%2C0%20A154%2C154%200%200%200%20200%2C154%22/%3E%3Cpath%20d%3D%22M24%2C0%20A176%2C176%200%200%200%20200%2C176%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%220%22%20r%3D%223%22%20fill%3D%22%233D86C6%22%20opacity%3D%220.16%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:top right; background-repeat:no-repeat; }
.section.panel .grid-4 .card:nth-child(4){ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%233D86C6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.16%22%3E%3Cpath%20d%3D%22M22%2C200%20A22%2C22%200%200%200%200%2C178%22/%3E%3Cpath%20d%3D%22M44%2C200%20A44%2C44%200%200%200%200%2C156%22/%3E%3Cpath%20d%3D%22M66%2C200%20A66%2C66%200%200%200%200%2C134%22/%3E%3Cpath%20d%3D%22M88%2C200%20A88%2C88%200%200%200%200%2C112%22/%3E%3Cpath%20d%3D%22M110%2C200%20A110%2C110%200%200%200%200%2C90%22/%3E%3Cpath%20d%3D%22M132%2C200%20A132%2C132%200%200%200%200%2C68%22/%3E%3Cpath%20d%3D%22M154%2C200%20A154%2C154%200%200%200%200%2C46%22/%3E%3Cpath%20d%3D%22M176%2C200%20A176%2C176%200%200%200%200%2C24%22/%3E%3C/g%3E%3Ccircle%20cx%3D%220%22%20cy%3D%22200%22%20r%3D%223%22%20fill%3D%22%233D86C6%22%20opacity%3D%220.16%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:bottom left; background-repeat:no-repeat; }
html[data-theme="dark"] .section.panel .grid-4 .card:nth-child(1){ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2357a2e6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.18%22%3E%3Cpath%20d%3D%22M22%2C0%20A22%2C22%200%200%201%200%2C22%22/%3E%3Cpath%20d%3D%22M44%2C0%20A44%2C44%200%200%201%200%2C44%22/%3E%3Cpath%20d%3D%22M66%2C0%20A66%2C66%200%200%201%200%2C66%22/%3E%3Cpath%20d%3D%22M88%2C0%20A88%2C88%200%200%201%200%2C88%22/%3E%3Cpath%20d%3D%22M110%2C0%20A110%2C110%200%200%201%200%2C110%22/%3E%3Cpath%20d%3D%22M132%2C0%20A132%2C132%200%200%201%200%2C132%22/%3E%3Cpath%20d%3D%22M154%2C0%20A154%2C154%200%200%201%200%2C154%22/%3E%3Cpath%20d%3D%22M176%2C0%20A176%2C176%200%200%201%200%2C176%22/%3E%3C/g%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%223%22%20fill%3D%22%2357a2e6%22%20opacity%3D%220.18%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:top left; background-repeat:no-repeat; }
html[data-theme="dark"] .section.panel .grid-4 .card:nth-child(2){ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2357a2e6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.18%22%3E%3Cpath%20d%3D%22M178%2C200%20A22%2C22%200%200%201%20200%2C178%22/%3E%3Cpath%20d%3D%22M156%2C200%20A44%2C44%200%200%201%20200%2C156%22/%3E%3Cpath%20d%3D%22M134%2C200%20A66%2C66%200%200%201%20200%2C134%22/%3E%3Cpath%20d%3D%22M112%2C200%20A88%2C88%200%200%201%20200%2C112%22/%3E%3Cpath%20d%3D%22M90%2C200%20A110%2C110%200%200%201%20200%2C90%22/%3E%3Cpath%20d%3D%22M68%2C200%20A132%2C132%200%200%201%20200%2C68%22/%3E%3Cpath%20d%3D%22M46%2C200%20A154%2C154%200%200%201%20200%2C46%22/%3E%3Cpath%20d%3D%22M24%2C200%20A176%2C176%200%200%201%20200%2C24%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%22200%22%20r%3D%223%22%20fill%3D%22%2357a2e6%22%20opacity%3D%220.18%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:bottom right; background-repeat:no-repeat; }
html[data-theme="dark"] .section.panel .grid-4 .card:nth-child(3){ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2357a2e6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.18%22%3E%3Cpath%20d%3D%22M178%2C0%20A22%2C22%200%200%200%20200%2C22%22/%3E%3Cpath%20d%3D%22M156%2C0%20A44%2C44%200%200%200%20200%2C44%22/%3E%3Cpath%20d%3D%22M134%2C0%20A66%2C66%200%200%200%20200%2C66%22/%3E%3Cpath%20d%3D%22M112%2C0%20A88%2C88%200%200%200%20200%2C88%22/%3E%3Cpath%20d%3D%22M90%2C0%20A110%2C110%200%200%200%20200%2C110%22/%3E%3Cpath%20d%3D%22M68%2C0%20A132%2C132%200%200%200%20200%2C132%22/%3E%3Cpath%20d%3D%22M46%2C0%20A154%2C154%200%200%200%20200%2C154%22/%3E%3Cpath%20d%3D%22M24%2C0%20A176%2C176%200%200%200%20200%2C176%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%220%22%20r%3D%223%22%20fill%3D%22%2357a2e6%22%20opacity%3D%220.18%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:top right; background-repeat:no-repeat; }
html[data-theme="dark"] .section.panel .grid-4 .card:nth-child(4){ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2357a2e6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.18%22%3E%3Cpath%20d%3D%22M22%2C200%20A22%2C22%200%200%200%200%2C178%22/%3E%3Cpath%20d%3D%22M44%2C200%20A44%2C44%200%200%200%200%2C156%22/%3E%3Cpath%20d%3D%22M66%2C200%20A66%2C66%200%200%200%200%2C134%22/%3E%3Cpath%20d%3D%22M88%2C200%20A88%2C88%200%200%200%200%2C112%22/%3E%3Cpath%20d%3D%22M110%2C200%20A110%2C110%200%200%200%200%2C90%22/%3E%3Cpath%20d%3D%22M132%2C200%20A132%2C132%200%200%200%200%2C68%22/%3E%3Cpath%20d%3D%22M154%2C200%20A154%2C154%200%200%200%200%2C46%22/%3E%3Cpath%20d%3D%22M176%2C200%20A176%2C176%200%200%200%200%2C24%22/%3E%3C/g%3E%3Ccircle%20cx%3D%220%22%20cy%3D%22200%22%20r%3D%223%22%20fill%3D%22%2357a2e6%22%20opacity%3D%220.18%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:bottom left; background-repeat:no-repeat; }

/* ---- Same family of patterns on About "Our Expertise" cards (mapped by category) ---- */
.grid-5 .card[data-modal="m-telecom"],
.grid-5 .card[data-modal="m-rf"],
.grid-5 .card[data-modal="m-fiber"]{ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%233D86C6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.16%22%3E%3Cpath%20d%3D%22M22%2C0%20A22%2C22%200%200%201%200%2C22%22/%3E%3Cpath%20d%3D%22M44%2C0%20A44%2C44%200%200%201%200%2C44%22/%3E%3Cpath%20d%3D%22M66%2C0%20A66%2C66%200%200%201%200%2C66%22/%3E%3Cpath%20d%3D%22M88%2C0%20A88%2C88%200%200%201%200%2C88%22/%3E%3Cpath%20d%3D%22M110%2C0%20A110%2C110%200%200%201%200%2C110%22/%3E%3Cpath%20d%3D%22M132%2C0%20A132%2C132%200%200%201%200%2C132%22/%3E%3Cpath%20d%3D%22M154%2C0%20A154%2C154%200%200%201%200%2C154%22/%3E%3Cpath%20d%3D%22M176%2C0%20A176%2C176%200%200%201%200%2C176%22/%3E%3C/g%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%223%22%20fill%3D%22%233D86C6%22%20opacity%3D%220.16%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:top left; background-repeat:no-repeat; }
.grid-5 .card[data-modal="m-software"]{ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%233D86C6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.16%22%3E%3Cpath%20d%3D%22M178%2C200%20A22%2C22%200%200%201%20200%2C178%22/%3E%3Cpath%20d%3D%22M156%2C200%20A44%2C44%200%200%201%20200%2C156%22/%3E%3Cpath%20d%3D%22M134%2C200%20A66%2C66%200%200%201%20200%2C134%22/%3E%3Cpath%20d%3D%22M112%2C200%20A88%2C88%200%200%201%20200%2C112%22/%3E%3Cpath%20d%3D%22M90%2C200%20A110%2C110%200%200%201%20200%2C90%22/%3E%3Cpath%20d%3D%22M68%2C200%20A132%2C132%200%200%201%20200%2C68%22/%3E%3Cpath%20d%3D%22M46%2C200%20A154%2C154%200%200%201%20200%2C46%22/%3E%3Cpath%20d%3D%22M24%2C200%20A176%2C176%200%200%201%20200%2C24%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%22200%22%20r%3D%223%22%20fill%3D%22%233D86C6%22%20opacity%3D%220.16%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:bottom right; background-repeat:no-repeat; }
.grid-5 .card[data-modal="m-it"]{ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%233D86C6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.16%22%3E%3Cpath%20d%3D%22M178%2C0%20A22%2C22%200%200%200%20200%2C22%22/%3E%3Cpath%20d%3D%22M156%2C0%20A44%2C44%200%200%200%20200%2C44%22/%3E%3Cpath%20d%3D%22M134%2C0%20A66%2C66%200%200%200%20200%2C66%22/%3E%3Cpath%20d%3D%22M112%2C0%20A88%2C88%200%200%200%20200%2C88%22/%3E%3Cpath%20d%3D%22M90%2C0%20A110%2C110%200%200%200%20200%2C110%22/%3E%3Cpath%20d%3D%22M68%2C0%20A132%2C132%200%200%200%20200%2C132%22/%3E%3Cpath%20d%3D%22M46%2C0%20A154%2C154%200%200%200%20200%2C154%22/%3E%3Cpath%20d%3D%22M24%2C0%20A176%2C176%200%200%200%20200%2C176%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%220%22%20r%3D%223%22%20fill%3D%22%233D86C6%22%20opacity%3D%220.16%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:top right; background-repeat:no-repeat; }
.grid-5 .card[data-modal="m-security"]{ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%233D86C6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.16%22%3E%3Cpath%20d%3D%22M22%2C200%20A22%2C22%200%200%200%200%2C178%22/%3E%3Cpath%20d%3D%22M44%2C200%20A44%2C44%200%200%200%200%2C156%22/%3E%3Cpath%20d%3D%22M66%2C200%20A66%2C66%200%200%200%200%2C134%22/%3E%3Cpath%20d%3D%22M88%2C200%20A88%2C88%200%200%200%200%2C112%22/%3E%3Cpath%20d%3D%22M110%2C200%20A110%2C110%200%200%200%200%2C90%22/%3E%3Cpath%20d%3D%22M132%2C200%20A132%2C132%200%200%200%200%2C68%22/%3E%3Cpath%20d%3D%22M154%2C200%20A154%2C154%200%200%200%200%2C46%22/%3E%3Cpath%20d%3D%22M176%2C200%20A176%2C176%200%200%200%200%2C24%22/%3E%3C/g%3E%3Ccircle%20cx%3D%220%22%20cy%3D%22200%22%20r%3D%223%22%20fill%3D%22%233D86C6%22%20opacity%3D%220.16%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:bottom left; background-repeat:no-repeat; }
html[data-theme="dark"] .grid-5 .card[data-modal="m-telecom"],
html[data-theme="dark"] .grid-5 .card[data-modal="m-rf"],
html[data-theme="dark"] .grid-5 .card[data-modal="m-fiber"]{ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2357a2e6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.18%22%3E%3Cpath%20d%3D%22M22%2C0%20A22%2C22%200%200%201%200%2C22%22/%3E%3Cpath%20d%3D%22M44%2C0%20A44%2C44%200%200%201%200%2C44%22/%3E%3Cpath%20d%3D%22M66%2C0%20A66%2C66%200%200%201%200%2C66%22/%3E%3Cpath%20d%3D%22M88%2C0%20A88%2C88%200%200%201%200%2C88%22/%3E%3Cpath%20d%3D%22M110%2C0%20A110%2C110%200%200%201%200%2C110%22/%3E%3Cpath%20d%3D%22M132%2C0%20A132%2C132%200%200%201%200%2C132%22/%3E%3Cpath%20d%3D%22M154%2C0%20A154%2C154%200%200%201%200%2C154%22/%3E%3Cpath%20d%3D%22M176%2C0%20A176%2C176%200%200%201%200%2C176%22/%3E%3C/g%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%223%22%20fill%3D%22%2357a2e6%22%20opacity%3D%220.18%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:top left; background-repeat:no-repeat; }
html[data-theme="dark"] .grid-5 .card[data-modal="m-software"]{ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2357a2e6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.18%22%3E%3Cpath%20d%3D%22M178%2C200%20A22%2C22%200%200%201%20200%2C178%22/%3E%3Cpath%20d%3D%22M156%2C200%20A44%2C44%200%200%201%20200%2C156%22/%3E%3Cpath%20d%3D%22M134%2C200%20A66%2C66%200%200%201%20200%2C134%22/%3E%3Cpath%20d%3D%22M112%2C200%20A88%2C88%200%200%201%20200%2C112%22/%3E%3Cpath%20d%3D%22M90%2C200%20A110%2C110%200%200%201%20200%2C90%22/%3E%3Cpath%20d%3D%22M68%2C200%20A132%2C132%200%200%201%20200%2C68%22/%3E%3Cpath%20d%3D%22M46%2C200%20A154%2C154%200%200%201%20200%2C46%22/%3E%3Cpath%20d%3D%22M24%2C200%20A176%2C176%200%200%201%20200%2C24%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%22200%22%20r%3D%223%22%20fill%3D%22%2357a2e6%22%20opacity%3D%220.18%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:bottom right; background-repeat:no-repeat; }
html[data-theme="dark"] .grid-5 .card[data-modal="m-it"]{ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2357a2e6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.18%22%3E%3Cpath%20d%3D%22M178%2C0%20A22%2C22%200%200%200%20200%2C22%22/%3E%3Cpath%20d%3D%22M156%2C0%20A44%2C44%200%200%200%20200%2C44%22/%3E%3Cpath%20d%3D%22M134%2C0%20A66%2C66%200%200%200%20200%2C66%22/%3E%3Cpath%20d%3D%22M112%2C0%20A88%2C88%200%200%200%20200%2C88%22/%3E%3Cpath%20d%3D%22M90%2C0%20A110%2C110%200%200%200%20200%2C110%22/%3E%3Cpath%20d%3D%22M68%2C0%20A132%2C132%200%200%200%20200%2C132%22/%3E%3Cpath%20d%3D%22M46%2C0%20A154%2C154%200%200%200%20200%2C154%22/%3E%3Cpath%20d%3D%22M24%2C0%20A176%2C176%200%200%200%20200%2C176%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%220%22%20r%3D%223%22%20fill%3D%22%2357a2e6%22%20opacity%3D%220.18%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:top right; background-repeat:no-repeat; }
html[data-theme="dark"] .grid-5 .card[data-modal="m-security"]{ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2357a2e6%22%20stroke-width%3D%221.3%22%20opacity%3D%220.18%22%3E%3Cpath%20d%3D%22M22%2C200%20A22%2C22%200%200%200%200%2C178%22/%3E%3Cpath%20d%3D%22M44%2C200%20A44%2C44%200%200%200%200%2C156%22/%3E%3Cpath%20d%3D%22M66%2C200%20A66%2C66%200%200%200%200%2C134%22/%3E%3Cpath%20d%3D%22M88%2C200%20A88%2C88%200%200%200%200%2C112%22/%3E%3Cpath%20d%3D%22M110%2C200%20A110%2C110%200%200%200%200%2C90%22/%3E%3Cpath%20d%3D%22M132%2C200%20A132%2C132%200%200%200%200%2C68%22/%3E%3Cpath%20d%3D%22M154%2C200%20A154%2C154%200%200%200%200%2C46%22/%3E%3Cpath%20d%3D%22M176%2C200%20A176%2C176%200%200%200%200%2C24%22/%3E%3C/g%3E%3Ccircle%20cx%3D%220%22%20cy%3D%22200%22%20r%3D%223%22%20fill%3D%22%2357a2e6%22%20opacity%3D%220.18%22/%3E%3C/svg%3E"); background-size:180px 180px; background-position:bottom left; background-repeat:no-repeat; }

/* ---- Client work / portfolio project cards ---- */
.project-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:28px;
  margin-top:0;
  max-height:0;
  opacity:0;
  overflow:hidden;
  transition:max-height .5s ease, opacity .4s ease, margin-top .4s ease;
}
.project-grid.open{
  max-height:1400px;
  opacity:1;
  margin-top:36px;
}
@media (max-width:760px){
  .project-grid{ grid-template-columns:1fr; }
}
.project-grid-single{
  grid-template-columns:minmax(0, 460px);
  justify-content:flex-start;
}
@media (max-width:520px){
  .project-grid-single{ grid-template-columns:1fr; }
}
.btn-outline-blue{ display:none; } /* deprecated: replaced by .client-work-pill */
.project-card{
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
  background:var(--white);
  transition:border-color .2s, transform .2s, box-shadow .2s;
}
.project-card:hover{
  border-color:var(--blue);
  transform:translateY(-3px);
  box-shadow:0 10px 28px rgba(61,134,198,0.14);
}
.project-browser-bar{
  display:flex; align-items:center; gap:7px;
  padding:12px 14px;
  background:var(--blue-deep);
}
.project-dot{ width:9px; height:9px; border-radius:50%; flex-shrink:0; }
.project-dot.r{ background:#FF5F57; }
.project-dot.y{ background:#FEBC2E; }
.project-dot.g{ background:#28C840; }
.project-url{
  margin-left:8px;
  font-family:'Courier New', monospace;
  font-size:11.5px;
  color:#B9C6DB;
  background:rgba(255,255,255,0.08);
  padding:4px 12px;
  border-radius:20px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.project-preview{
  min-height:150px;
  display:flex; align-items:center; justify-content:center;
  font-size:42px;
  overflow:hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(87,162,230,0.35), transparent 60%),
    linear-gradient(160deg, var(--blue-deep), var(--blue-mid));
}
.project-preview-photo{ padding:0; }
.project-preview-photo img{
  width:100%; height:100%;
  min-height:150px;
  object-fit:cover;
  object-position:center 30%;
  display:block;
}
.project-preview-logo{
  background:#515353;
  padding:20px;
}
.project-preview-logo img{
  max-width:70%;
  max-height:80px;
  width:auto;
  height:auto;
}
.project-body{ padding:24px 26px 28px; }
.project-body h3{ font-size:17px; font-weight:500; margin:0 0 10px; letter-spacing:0.02em; }
.project-body p{ font-size:14px; color:var(--muted); line-height:1.75; margin:0 0 18px; font-weight:300; }
.project-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.project-tag{
  font-size:11px; letter-spacing:0.03em; font-weight:500;
  color:var(--blue); background:rgba(61,134,198,0.1);
  padding:5px 12px; border-radius:20px;
}
.project-visit{
  display:inline-flex; align-items:center; gap:6px;
  font-size:13.5px; font-weight:500; color:var(--blue);
  transition:color .2s;
}
.project-visit:hover{ color:var(--blue-mid); }

/* ---- Neutral faint network pattern behind the Contact form panel ---- */
section.section.panel:has(.contact-grid){ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%233D86C6%22%20stroke-width%3D%221.2%22%20opacity%3D%220.09%22%3E%3Cpath%20d%3D%22M22%2C0%20A22%2C22%200%200%201%200%2C22%22/%3E%3Cpath%20d%3D%22M44%2C0%20A44%2C44%200%200%201%200%2C44%22/%3E%3Cpath%20d%3D%22M66%2C0%20A66%2C66%200%200%201%200%2C66%22/%3E%3Cpath%20d%3D%22M88%2C0%20A88%2C88%200%200%201%200%2C88%22/%3E%3Cpath%20d%3D%22M110%2C0%20A110%2C110%200%200%201%200%2C110%22/%3E%3Cpath%20d%3D%22M178%2C200%20A22%2C22%200%200%201%20200%2C178%22/%3E%3Cpath%20d%3D%22M156%2C200%20A44%2C44%200%200%201%20200%2C156%22/%3E%3Cpath%20d%3D%22M134%2C200%20A66%2C66%200%200%201%20200%2C134%22/%3E%3Cpath%20d%3D%22M112%2C200%20A88%2C88%200%200%201%20200%2C112%22/%3E%3Cpath%20d%3D%22M90%2C200%20A110%2C110%200%200%201%20200%2C90%22/%3E%3C/g%3E%3C/svg%3E"); background-size:100% 100%; background-position:center; background-repeat:no-repeat; }
html[data-theme="dark"] section.section.panel:has(.contact-grid){ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2357a2e6%22%20stroke-width%3D%221.2%22%20opacity%3D%220.11%22%3E%3Cpath%20d%3D%22M22%2C0%20A22%2C22%200%200%201%200%2C22%22/%3E%3Cpath%20d%3D%22M44%2C0%20A44%2C44%200%200%201%200%2C44%22/%3E%3Cpath%20d%3D%22M66%2C0%20A66%2C66%200%200%201%200%2C66%22/%3E%3Cpath%20d%3D%22M88%2C0%20A88%2C88%200%200%201%200%2C88%22/%3E%3Cpath%20d%3D%22M110%2C0%20A110%2C110%200%200%201%200%2C110%22/%3E%3Cpath%20d%3D%22M178%2C200%20A22%2C22%200%200%201%20200%2C178%22/%3E%3Cpath%20d%3D%22M156%2C200%20A44%2C44%200%200%201%20200%2C156%22/%3E%3Cpath%20d%3D%22M134%2C200%20A66%2C66%200%200%201%20200%2C134%22/%3E%3Cpath%20d%3D%22M112%2C200%20A88%2C88%200%200%201%20200%2C112%22/%3E%3Cpath%20d%3D%22M90%2C200%20A110%2C110%200%200%201%20200%2C90%22/%3E%3C/g%3E%3C/svg%3E"); background-size:100% 100%; background-position:center; background-repeat:no-repeat; }
