:root{
  --bg:#0b0f14;
  --bg2:#0a1322;
  --card:#0f172a;
  --text:#e7edf6;
  --muted:rgba(231,237,246,.72);
  --line:rgba(255,255,255,.10);
  --accent:#f59e0b;
  --accent2:#fbbf24;
}

*{font-family:"Manrope",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
body{background:#fff;color:#0b0f14}
.pt-nav{padding-top:86px}

.nav-glass{
  background:rgba(10,14,20,.72);
  border-bottom:1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}

/* ✅ logo styles */
.brand-logo{
  width:42px;
  height:42px;
  border-radius:12px;
  object-fit:cover;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
}
.footer-logo{
  width:34px;
  height:34px;
  border-radius:10px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
}

.brand-badge{
  width:40px;height:40px;border-radius:12px;
  display:grid;place-items:center;
  font-weight:900;
  color:#0b0f14;
  background:linear-gradient(135deg,var(--accent2),var(--accent));
}
.navbar .nav-link{
  color:rgba(255,255,255,.78);
  border-radius:12px;
  padding:.55rem .75rem;
}
.navbar .nav-link:hover{color:#fff;background:rgba(255,255,255,.06)}
.navbar .nav-link.active{color:#0b0f14;background:linear-gradient(135deg,var(--accent2),var(--accent));font-weight:800}

.btn-accent{
  background:linear-gradient(135deg,var(--accent2),var(--accent));
  border:0;
  color:#0b0f14;
  border-radius:14px;
  padding:.75rem 1rem;
}
.btn-accent:hover{filter:brightness(1.05)}

/* ✅ NEW: “image box” system for Services + Projects uploads */
.imgbox{
  width:100%;
  border-radius:18px;
  overflow:hidden;
  background:#111;
  box-shadow:0 16px 40px rgba(0,0,0,.10);
  border:1px solid rgba(0,0,0,.08);
}
.imgbox img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.imgbox.h240{height:240px}
.imgbox.h260{height:260px}
.imgbox.h320{height:320px}
.imgbox.h380{height:380px}

.hero{
  position:relative;
  min-height:78vh;
  display:grid;
  align-items:center;
  overflow:hidden;
  color:var(--text);
}
.hero::before{
  content:"";
  position:absolute;inset:0;
  background-image:
    linear-gradient(90deg, rgba(11,15,20,.90) 0%, rgba(11,15,20,.65) 55%, rgba(11,15,20,.25) 100%),
    var(--hero-img);
  background-size:cover;
  background-position:center;
  transform:scale(1.03);
}
.hero .container{position:relative;z-index:2}

.kicker{
  display:inline-flex;align-items:center;gap:.5rem;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  padding:.4rem .75rem;border-radius:999px;
  color:rgba(255,255,255,.86);
  font-weight:700;
  font-size:.9rem;
}
.hero h1{font-weight:900;letter-spacing:-.02em}
.hero p{color:rgba(231,237,246,.86);max-width:62ch}

.hero-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.mini-card{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  border-radius:18px;
  padding:14px;
}
.mini-card .t{font-weight:900}
.mini-card .s{color:rgba(231,237,246,.70);font-size:.95rem}

.section{padding:70px 0}
.section h2{font-weight:900;letter-spacing:-.02em}
.sub{color:#4b5563;max-width:70ch}

.cardx{
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 14px 40px rgba(0,0,0,.08);
}
.cardx img{width:100%;height:220px;object-fit:cover}
.cardx .p{padding:18px}
.cardx .p p{color:#4b5563;margin:0}
.cardx .p h5{ color:#0b0f14; }


.band{
  background:linear-gradient(180deg,#f7f7fb,#fff);
  border-top:1px solid rgba(0,0,0,.06);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.page-hero{
  position:relative;
  padding:92px 0 62px;
  color:var(--text);
  overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute;inset:0;
  background-image:
    linear-gradient(180deg, rgba(11,15,20,.86) 0%, rgba(11,15,20,.55) 60%, rgba(11,15,20,.22) 100%),
    var(--hero-img);
  background-size:cover;
  background-position:center;
}
.page-hero .container{position:relative;z-index:2}

.service-block{
  padding:46px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.service-title{font-weight:900;letter-spacing:-.02em}
.service-desc{color:#4b5563;max-width:75ch}

/* existing 3-image layout (kept) */
.img-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:14px;
}
.img-grid .big{grid-row:span 2; min-height:380px}

.tile{
  border-radius:18px;
  overflow:hidden;
  background:#111;
  box-shadow:0 16px 40px rgba(0,0,0,.10);
}
.tile img{width:100%;height:100%;object-fit:cover;display:block}

.gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.quote-card{
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 40px rgba(0,0,0,.08);
  padding:22px;
}
.form-control, .form-select{
  border-radius:14px;
  padding:.75rem .9rem;
}

/* ✅ FIX footer readability */
.site-footer{
  background:#0b0f14;
  color:var(--text);
  border-top:1px solid rgba(255,255,255,.08);
}
.site-footer .text-muted{
  color:rgba(231,237,246,.70) !important;
}
.site-footer .footer-link{
  color:rgba(231,237,246,.92);
  text-decoration:none;
}
.site-footer .footer-link:hover{color:#fff;text-decoration:underline}

/* =========================================================
   ✅ ADDED: Services page - 2 image boxes + bullets + placeholders
   (Only used if your services.php uses .img-grid-2 + placeholder tiles)
   ========================================================= */

.img-grid-2{
  display:grid;
  grid-template-columns: 1.35fr 1fr;
  gap:14px;
}
.img-grid-2 .big{
  min-height:320px;
}

/* placeholder tiles (no internet images) */
.placeholder-tile{
  background: linear-gradient(135deg, rgba(15,23,42,.92), rgba(2,6,23,.92));
  border: 1px dashed rgba(255,255,255,.22);
  display:grid;
  place-items:center;
  min-height:220px;
}
.ph-inner{
  text-align:center;
  padding:22px;
  color:rgba(231,237,246,.90);
}
.ph-title{
  font-weight:900;
  font-size:1.05rem;
  margin-bottom:6px;
}
.ph-sub{
  color:rgba(231,237,246,.65);
  font-size:.92rem;
}

/* bullets */
.service-list{
  margin:0;
  padding-left:1.1rem;
  color:#4b5563;
}
.service-list li{
  margin:.35rem 0;
}

@media (max-width: 991px){
  .hero-cards{grid-template-columns:1fr}

  /* keep old behaviors */
  .img-grid{grid-template-columns:1fr}
  .img-grid .big{min-height:260px}
  .gallery{grid-template-columns:1fr}

  /* 2-image layout responsive */
  .img-grid-2{grid-template-columns:1fr}
  .img-grid-2 .big{min-height:240px}
}
