/* BlackTech — Akveo-inspired clean agency style
   Tip: If you upload the real BlackTech logo, update --accent to match the logo color exactly. */

:root{
  --bg: #ffffff;
  --bg-alt: #f3f6f5;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15,23,42,0.12);
  --shadow: 0 18px 48px rgba(15,23,42,0.12);
  --radius: 18px;

  /* Futuristic BlackTech accent */
  --accent: #22f3e6;
  --accent-soft: rgba(34,243,230,0.18);

  --dark-bg: #050b0a;
  --dark-grad: radial-gradient(1200px 600px at 20% 0%, rgba(34,243,230,0.25), transparent 60%),
               radial-gradient(900px 500px at 90% 20%, rgba(31,209,193,0.18), transparent 62%);
  --container: 1120px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family: inherit; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.kicker{
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px 0;
}

.h1{
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 14px 0;
  font-weight: 700;
}

.h2{
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}

.h3{
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.lead{
  font-size: 16px;
  color: rgba(17,19,24,0.78);
  margin: 0 0 22px 0;
  max-width: 54ch;
}

.muted{ color: var(--muted); font-weight: 600; }
.muted-text{ color: var(--muted); margin: 0; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  height: 72px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 170px;
}

.brand-logo{
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-name{
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.nav a{
  color: rgba(17,19,24,0.82);
  font-size: 14px;
  padding: 8px 8px;
  border-radius: 10px;
}
.nav a:hover{ background: rgba(17,19,24,0.04); }

.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  cursor:pointer;
  padding: 0 12px;
}
.nav-toggle span{
  display:block;
  height: 2px;
  background: rgba(17,19,24,0.82);
  margin: 6px 0;
}

.nav-drawer{
  display:none;
  padding: 14px 20px 20px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.nav-drawer a{ display:block; padding: 12px 4px; color: rgba(17,19,24,0.9); }
.nav-drawer .btn{ margin-top: 10px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 10px 26px rgba(15,98,254,0.18);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-sm{ padding: 10px 14px; border-radius: 12px; font-size: 14px; }

.btn-ghost{
  background: transparent;
  border-color: var(--border);
  color: rgba(17,19,24,0.9);
  box-shadow: none;
}
.btn-ghost:hover{ background: rgba(17,19,24,0.04); }

.btn-block{ width: 100%; }

.link{
  color: rgba(17,19,24,0.86);
  font-weight: 600;
}
.link:hover{ color: var(--accent); }

/* Sections */
.section{ padding: 80px 0; }
.section.alt{ background: var(--bg-alt); }

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

/* Hero */
.hero{
  position: relative;
  padding: 78px 0 68px;
  overflow: hidden;
}
.hero-bg{
  position:absolute; inset: 0;
  pointer-events:none;
  /* subtle algorithm/data pattern */
  background:
    radial-gradient(900px 600px at 10% 5%, rgba(15,98,254,0.10), transparent 60%),
    radial-gradient(700px 500px at 90% 10%, rgba(15,98,254,0.08), transparent 62%),
    repeating-linear-gradient(90deg, rgba(17,19,24,0.06), rgba(17,19,24,0.06) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(0deg, rgba(17,19,24,0.05), rgba(17,19,24,0.05) 1px, transparent 1px, transparent 56px);
  opacity: 0.55;
}

.hero-grid{
  position: relative;
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.hero-copy{ padding-top: 10px; }

.hero-ctas{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.trust-strip{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.trust-label{ font-size: 13px; color: var(--muted); }
.trust-items{ display:flex; gap: 10px; flex-wrap: wrap; }
.trust-items span{
  font-size: 13px;
  padding: 6px 10px;
  background: rgba(17,19,24,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-card{
  position: relative;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-card-inner{
  padding: 22px;
}
.card-kicker{
  margin: 0 0 8px 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.checks{
  margin: 14px 0 18px 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
}
.checks li{
  position: relative;
  padding-left: 22px;
  color: rgba(17,19,24,0.86);
  font-size: 14px;
}
.checks li::before{
  content:"";
  position:absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-2);
}

/* Case studies */
.cards-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.case-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(17,19,24,0.06);
  display:flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.tag{
  width: fit-content;
  font-size: 12px;
  color: rgba(17,19,24,0.78);
  background: rgba(17,19,24,0.04);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
}
.case-img{
  margin-top: 8px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}

/* Why section */
.why-grid{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: start;
}
.check-grid{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap: 12px;
}
.check-grid li{
  display:flex;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
}
.check-dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-2);
  margin-top: 5px;
}

/* CTA band */
.cta-band{
  position: relative;
  padding: 66px 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-bg{
  position:absolute; inset: 0;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 20% 50%, rgba(15,98,254,0.10), transparent 60%),
    repeating-linear-gradient(120deg, rgba(17,19,24,0.06), rgba(17,19,24,0.06) 1px, transparent 1px, transparent 52px);
  opacity: 0.5;
}
.cta-inner{
  position: relative;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}

/* Stats */
.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(17,19,24,0.05);
}
.stat-num{
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat-label{
  color: var(--muted);
  margin-top: 6px;
  font-size: 14px;
}

/* Services */
.service-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-card{
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(17,19,24,0.05);
}
.mini-list{
  margin: 12px 0 0 0;
  padding-left: 18px;
  color: rgba(17,19,24,0.80);
  font-size: 14px;
}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}
.contact-cards{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mini-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}
.mini-title{ color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.mini-value{ margin-top: 6px; font-weight: 600; }

.form{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
label{
  display:block;
  font-size: 13px;
  color: rgba(17,19,24,0.82);
  margin-bottom: 12px;
}
input, textarea{
  width: 100%;
  margin-top: 8px;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}
input:focus, textarea:focus{
  border-color: rgba(15,98,254,0.45);
  box-shadow: 0 0 0 4px rgba(15,98,254,0.14);
}
.form-note{
  margin: 10px 0 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* FAQ */
.faq{
  display:grid;
  gap: 12px;
}
.faq-item{
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.85);
  padding: 16px 16px;
  cursor:pointer;
  box-shadow: 0 10px 24px rgba(17,19,24,0.05);
  position: relative;
}
.faq-q{
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-icon{
  position:absolute;
  right: 16px;
  top: 14px;
  font-size: 20px;
  color: rgba(17,19,24,0.65);
}
.faq-a{
  margin-top: 10px;
  color: var(--muted);
  display:none;
}
.faq-item[aria-expanded="true"] .faq-a{ display:block; }
.faq-item[aria-expanded="true"] .faq-icon{ transform: rotate(45deg); }

/* Footer */
.footer{
  padding: 26px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.footer-logo{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
}
.footer-name{ font-weight: 700; }
.footer-muted{ color: var(--muted); font-size: 13px; }
.footer-links{ display:flex; gap: 14px; flex-wrap: wrap; }
.footer-links a{ color: rgba(17,19,24,0.78); font-size: 14px; }
.footer-links a:hover{ color: var(--accent); }
.footer-copy{ color: var(--muted); font-size: 13px; }

/* Responsive */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .cards-2{ grid-template-columns: 1fr; }
  .service-grid{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: 1fr; }
  .section{ padding: 64px 0; }
  .cta-inner{ flex-direction: column; align-items: flex-start; }
  .nav{ display:none; }
  .nav-toggle{ display:block; }
  .nav-drawer.open{ display:block; }
}

/* Pricing */
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:18px;
}
.price-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px;
  box-shadow:var(--shadow);
  position:relative;
}
.price{
  font-size:32px;
  font-weight:700;
  margin:10px 0;
}
.price-card ul{
  padding-left:18px;
  color:rgba(17,19,24,0.8);
}
.featured{
  border:2px solid var(--accent);
}
.badge{
  position:absolute;
  top:14px;
  right:14px;
  background:var(--accent);
  color:#fff;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
}
@media(max-width:920px){
  .pricing-grid{grid-template-columns:1fr;}
}

/* Brand emphasis for Big Tech contrast */
.hero .muted {
  color: #7c8594;
}

.price {
  color: var(--accent);
}

.badge {
  box-shadow: 0 6px 18px rgba(22,163,74,0.35);
}

/* Futuristic dark hero */
.hero{
  background: var(--dark-bg);
  color: #e5f9f7;
}
.hero-bg{
  background:
    var(--dark-grad),
    repeating-linear-gradient(
      120deg,
      rgba(34,243,230,0.08),
      rgba(34,243,230,0.08) 1px,
      transparent 1px,
      transparent 52px
    );
  opacity: 0.6;
}
.hero .muted{ color: rgba(229,249,247,0.75); }
.hero .btn{
  box-shadow: 0 0 0 0 transparent, 0 12px 32px rgba(34,243,230,0.35);
}

/* CTA band dark */
.cta-band{
  background: var(--dark-bg);
  color: #e5f9f7;
}
.cta-bg{
  background:
    var(--dark-grad),
    repeating-linear-gradient(
      90deg,
      rgba(34,243,230,0.07),
      rgba(34,243,230,0.07) 1px,
      transparent 1px,
      transparent 56px
    );
}

/* Accent usage */
.price,
.badge,
.check-dot{
  color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

/* Logo polish */
.brand-logo,
.footer-logo{
  filter: drop-shadow(0 0 18px rgba(34,243,230,0.35));
  border-radius: 10px;
}

.hero-subtitle{
  margin-top: 18px;
  max-width: 560px;
  font-size: 17px;
  color: rgba(229,249,247,0.82);
}

.stat{
  position: relative;
  overflow: hidden;
}

.stat::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 50% 0%, rgba(34,243,230,0.18), transparent 60%);
  opacity:0;
  transition: opacity .6s ease;
}
.stat:hover::after{ opacity:1; }

/* Futuristic hover glow */
.btn:hover, .price-card:hover, .service-card:hover{
  box-shadow: 0 0 32px rgba(34,243,230,0.35);
  transform: translateY(-2px);
}

/* Soft animated grid pulse */
@keyframes pulseGrid {
  0%{ opacity:.4; }
  50%{ opacity:.65; }
  100%{ opacity:.4; }
}
.hero-bg, .cta-bg{
  animation: pulseGrid 8s ease-in-out infinite;
}

/* === Contrast & Readability Fixes === */

/* General text safety on dark sections */
.hero, .cta-band {
  color: #e8fbf8;
}

.hero h1, .hero h2, .hero h3,
.cta-band h1, .cta-band h2, .cta-band h3 {
  color: #ffffff;
}

.hero p, .cta-band p,
.hero .kicker, .cta-band .kicker {
  color: rgba(232,251,248,0.9);
}

/* Navigation readability */
.site-header {
  background: rgba(6, 14, 13, 0.85);
}

.site-header a {
  color: #e6fdf9;
}

.site-header a:hover {
  color: var(--accent);
}

/* Cards on light background */
.section.alt,
.section {
  color: var(--text);
}

.section.alt h1, .section.alt h2, .section.alt h3,
.section h1, .section h2, .section h3 {
  color: var(--text);
}

.section.alt p,
.section p {
  color: rgba(15,23,42,0.85);
}

/* Pricing cards text */
.price-card,
.service-card,
.case-card {
  color: var(--text);
}

.price-card p,
.service-card p,
.case-card p {
  color: rgba(15,23,42,0.8);
}

/* Footer readability */
.footer {
  background: #050b0a;
  color: #e6fdf9;
}

.footer a {
  color: rgba(230,253,249,0.85);
}

.footer a:hover {
  color: var(--accent);
}

/* === FINAL LEGIBILITY FIXES === */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Ensure hero text clarity */
.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-bg {
  z-index: 1;
}

.hero-subtitle {
  color: #ffffff;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 1;
}

/* === FINAL LIGHT SECTION GUARANTEE === */
.light-section {
  background: #ffffff !important;
}

.light-section h1,
.light-section h2,
.light-section h3,
.light-section h4 {
  color: #0f172a !important;
}

.light-section p,
.light-section li,
.light-section span,
.light-section small {
  color: #334155 !important;
  opacity: 1 !important;
}

/* === BUTTON READABILITY FIX === */
.btn,
.price-card .btn,
.hero .btn {
  background: #22f3e6 !important;
  color: #06201c !important;
  font-weight: 600;
  opacity: 1 !important;
}

.btn-ghost,
.hero .btn-ghost {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

/* === STATS READABILITY FIX === */
.stats,
.stats * {
  background: #ffffff !important;
}

.stats h3,
.stats .counter {
  color: #0f172a !important;
  font-weight: 700;
}

.stats p,
.stats span {
  color: #334155 !important;
  opacity: 1 !important;
}

/* === FORCE PRICING NUMBER VISIBILITY === */
.price,
.price span,
.price small {
  color: #0f172a !important;
  font-weight: 800;
}

/* === HERO TITLE READABILITY === */
#dream, #engineer {
  display: inline-block;
  color: #ffffff;
}


/* ===== PREMIUM HEADER UPGRADE ===== */

.site-header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10, 10, 15, 0.85);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand-logo {
    height: 52px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 132, 255, 0.6));
}

.brand-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 16px rgba(0, 132, 255, 0.9));
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.25rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ===== LOGO SIZE OVERRIDE (ensures it actually grows) ===== */
.site-header .brand-logo{
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
}

/* FAQ spacing improvement */
.faq-item {
  margin-bottom: 16px;
}

.faq-q {
  display: block;
  padding: 14px 16px;
}

.faq-a {
  padding: 0 16px 16px 16px;
}


/* ===== PRICING BUTTON ALIGN FIX ===== */
.price-card {
  display: flex;
  flex-direction: column;
}

.price-card .btn {
  margin-top: auto;
}

/* ===== FAQ EQUAL SPACING FIX ===== */
.faq-item {
  margin-bottom: 10px;
}

.faq-q {
  padding: 12px 16px;
}

.faq-a {
  padding: 0 16px 12px 16px;
}


/* ===== BURGER MENU ===== */
.menu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:inherit;
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
  margin-left:12px;
}
.menu-toggle:hover{ background:rgba(255,255,255,.10); border-color:rgba(255,255,255,.18); }
.menu-toggle:active{ transform:scale(.98); }
.menu-lines{ display:inline-flex; flex-direction:column; gap:5px; }
.menu-lines span{
  display:block;
  width:18px;
  height:2px;
  background:currentColor;
  border-radius:2px;
  opacity:.92;
  transition:transform .2s ease, opacity .2s ease, width .2s ease;
}

.menu-panel{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:min(320px, calc(100vw - 24px));
  background:rgba(14,14,18,.92);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding:10px;
  z-index:999;
}
.menu-panel-inner{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.menu-panel a{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
}
.menu-panel a:hover{
  background:rgba(255,255,255,.08);
}
.menu-panel .btn{
  justify-content:center;
  margin-top:4px;
}
.site-header .header-inner{
  position:relative; /* for menu-panel positioning */
}

/* Mobile: make the panel full-width dropdown and keep nav links hidden */
@media (max-width: 860px){
  .site-header .nav{ display:none; }
  .menu-panel{
    left:12px;
    right:12px;
    width:auto;
    top:calc(100% + 12px);
  }
}

/* Desktop: keep nav + burger visible */
@media (min-width: 861px){
  .menu-panel{
    right:0;
  }
}

/* ===== PORTFOLIO ===== */
.portfolio-block{ margin-top:22px; }
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-top:14px;
}
.portfolio-item{
  margin:0;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  overflow:hidden;
  background:rgba(255,255,255,.04);
  box-shadow:0 14px 40px rgba(0,0,0,.30);
}
.portfolio-item img{
  display:block;
  width:100%;
  height:auto;
}
.portfolio-item figcaption{
  padding:10px 12px;
  font-size:.95rem;
  opacity:.9;
}
.portfolio-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

/* Responsive portfolio grid */
@media (max-width: 1024px){
  .portfolio-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .portfolio-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px){
  .portfolio-grid{ grid-template-columns:repeat(1, minmax(0, 1fr)); }
}
