/* ============================================================
   MALEEKTECH SERVICES LTD — DESIGN SYSTEM v2
   Clean corporate theme built on the brand's own logo/document
   colors: deep green + light green tint, white base.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* --- brand colors (sampled from the official company profile) --- */
  --green:        #0E7C3A;   /* primary brand green (buttons, links, icons) */
  --green-deep:   #075C2A;   /* deep green (headers, footer, gradients) */
  --green-light:  #E7F4EA;   /* light green tint — section backgrounds */
  --green-lighter:#F4FAF6;   /* near-white green tint */
  --green-mid:    #2FA05C;   /* mid accent for gradients/hover */

  --ink:      #16241C;       /* headings */
  --body:     #4C5A52;       /* body text, slight green-gray undertone */
  --muted:    #7C8B82;
  --border:   #E3EAE5;
  --white:    #FFFFFF;

  --font-display: 'Manrope', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max: 1200px;
  --edge: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(16,50,30,0.06);
  --shadow-lg: 0 20px 50px rgba(16,50,30,0.12);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  margin:0;
  background:var(--white);
  color:var(--body);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:700; line-height:1.2; margin:0; color:var(--ink); letter-spacing:-0.01em; }
p{ margin:0; }

:focus-visible{ outline:2px solid var(--green); outline-offset:3px; }

.container{ max-width:var(--max); margin:0 auto; padding:0 var(--edge); }

.eyebrow{
  font-family:var(--font-body);
  font-size:13px;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--green);
  display:flex; align-items:center; gap:8px;
}
.eyebrow::before{
  content:''; width:8px; height:8px; border-radius:50%; background:var(--green); display:inline-block;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px var(--edge);
  max-width:var(--max); margin:0 auto;
  gap:20px;
}
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand img{ height:56px; width:auto; }
@media (max-width:640px){ .brand img{ height:46px; } }

.nav-links{ display:flex; align-items:center; gap:28px; }
.nav-links a{
  font-size:14.5px; font-weight:600; color:var(--body);
  position:relative; padding:6px 0;
  transition:color .2s ease;
}
.nav-links a:hover, .nav-links a.active{ color:var(--green-deep); }
.nav-links a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--green); border-radius:2px;
}
.has-drop{ position:relative; }
.dropdown{
  position:absolute; top:calc(100% + 16px); left:50%; transform:translateX(-50%);
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius-sm);
  min-width:250px; padding:8px; opacity:0; visibility:hidden;
  transition:opacity .18s ease, visibility .18s ease, top .18s ease;
  box-shadow:var(--shadow-lg);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown{
  opacity:1; visibility:visible; top:calc(100% + 10px);
}
.dropdown a{
  display:block; padding:11px 14px; font-size:14px; color:var(--ink); font-weight:500;
  border-radius:6px;
}
.dropdown a:hover{ background:var(--green-light); color:var(--green-deep); }

.nav-actions{ display:flex; align-items:center; gap:12px; }
.erp-btn{
  font-family:var(--font-body); font-size:14px; font-weight:700;
  background:var(--white); color:var(--green-deep);
  padding:11px 20px; border:1.5px solid var(--green); border-radius:999px;
  display:inline-flex; align-items:center; gap:8px;
  transition:background .2s ease, color .2s ease, transform .15s ease;
  white-space:nowrap;
}
.erp-btn:hover{ background:var(--green); color:var(--white); transform:translateY(-1px); }
.erp-btn svg{ width:14px; height:14px; }
.erp-btn .short{ display:none; }

/* ---------- Portals dropdown (ERP + Gadget Store) ---------- */
.portal-drop{ position:relative; }
.portal-trigger svg{ transition:transform .2s ease; }
.portal-drop:hover .portal-trigger svg, .portal-drop:focus-within .portal-trigger svg{ transform:rotate(180deg); }

.portal-dropdown{
  min-width:320px; right:0; left:auto; transform:none; padding:10px;
}
.has-drop:hover .portal-dropdown, .has-drop:focus-within .portal-dropdown{ top:calc(100% + 10px); }

.portal-option{
  display:flex; align-items:center; padding:13px 12px; border-radius:10px;
  transition:background .15s ease;
}
.portal-option:hover{ background:var(--green-light); }
.portal-option:last-child{ margin-top:2px; }
.portal-icon{
  width:42px; height:42px; border-radius:11px; background:var(--green-light);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  margin-right:14px;
}
.portal-option:hover .portal-icon{ background:var(--white); }
.portal-icon svg{ width:20px; height:20px; color:var(--green-deep); }
.portal-text{ flex:1; min-width:0; }
.portal-title{ font-size:14.5px; font-weight:700; color:var(--ink); }
.portal-sub{ font-size:12px; color:var(--muted); margin-top:2px; }
.portal-go{ flex-shrink:0; color:var(--muted); margin-left:10px; }
.portal-go svg{ width:14px; height:14px; }
.portal-option:hover .portal-go{ color:var(--green-deep); }

.mobile-portal-group{ display:none; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; transition:transform .2s ease, opacity .2s ease; border-radius:2px; }

.mobile-panel{ display:none; }

@media (max-width: 980px){
  .nav-links{ display:none; }
  .portal-drop{ display:none; }
  .nav-toggle{ display:block; }
  .mobile-panel{
    display:block; max-height:0; overflow:hidden; background:var(--white);
    border-top:1px solid var(--border); transition:max-height .3s ease;
  }
  .mobile-panel.open{ max-height:760px; overflow-y:auto; }
  .mobile-portal-group{
    display:block; margin-top:14px; padding-top:16px; border-top:1px solid var(--border);
  }
  .mobile-portal-label{
    display:block; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em;
    color:var(--muted); margin-bottom:10px;
  }
  .mobile-portal-link{
    display:flex; align-items:center; padding:12px 10px; border-radius:10px;
    background:var(--green-lighter); margin-bottom:8px;
  }
  .mobile-portal-link:last-child{ margin-bottom:0; }
  .mobile-portal-link .portal-icon{ background:var(--white); }
  .mobile-panel .container{ padding:18px var(--edge) 26px; display:flex; flex-direction:column; gap:2px; }
  .mobile-panel a{ padding:13px 0; font-size:15.5px; font-weight:600; border-bottom:1px solid var(--border); color:var(--body); }
  .mobile-panel .sub{ padding-left:14px; font-size:14px; font-weight:500; color:var(--muted); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-body); font-size:15px; font-weight:700;
  padding:15px 28px; border-radius:999px; border:1.5px solid transparent; cursor:pointer;
  transition:all .2s ease;
}
.btn-primary{ background:var(--green); color:var(--white); box-shadow:0 8px 20px rgba(14,124,58,0.28); }
.btn-primary:hover{ background:var(--green-deep); transform:translateY(-2px); box-shadow:0 12px 24px rgba(14,124,58,0.34); }
.btn-outline{ background:var(--white); color:var(--green-deep); border-color:var(--border); }
.btn-outline:hover{ border-color:var(--green); background:var(--green-light); }
.btn-on-dark{ background:var(--white); color:var(--green-deep); }
.btn-on-dark:hover{ background:var(--green-lighter); transform:translateY(-2px); }
.btn-outline-on-dark{ background:transparent; border-color:rgba(255,255,255,0.4); color:var(--white); }
.btn-outline-on-dark:hover{ background:rgba(255,255,255,0.12); border-color:var(--white); }
.btn svg{ width:15px; height:15px; transition:transform .2s ease; }
.btn:hover svg{ transform:translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg, var(--green-lighter) 0%, var(--white) 55%);
}
.hero-blob{
  position:absolute; top:-180px; right:-180px; width:640px; height:640px; border-radius:50%;
  background:radial-gradient(circle at 35% 35%, rgba(14,124,58,0.14), rgba(14,124,58,0) 68%);
  pointer-events:none;
}
.hero-blob-2{
  position:absolute; bottom:-220px; left:-160px; width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle at 60% 40%, rgba(47,160,92,0.10), rgba(47,160,92,0) 70%);
  pointer-events:none;
}
.hero-inner{
  position:relative; max-width:var(--max); margin:0 auto; padding:80px var(--edge) 60px;
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:50px; align-items:center;
}
@media (max-width:960px){ .hero-inner{ grid-template-columns:1fr; padding-top:50px; } }

.hero-content h1{
  font-size:clamp(36px, 5.4vw, 60px);
  margin-top:20px;
}
.hero-content h1 em{ font-style:normal; color:var(--green); }
.hero-lead{
  margin-top:22px; font-size:17px; color:var(--body); max-width:520px;
}
.hero-actions{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }

.hero-stats{ display:flex; flex-wrap:wrap; margin:48px -18px 0; }
.hero-stats div{ margin:0 18px; }
.hero-stats div strong{ display:block; font-family:var(--font-display); font-size:28px; color:var(--ink); }
.hero-stats div span{ font-size:13px; color:var(--muted); font-weight:500; }

.hero-visual{
  position:relative; border-radius:24px;
  background:linear-gradient(160deg, var(--green-deep), var(--green-mid));
  min-height:420px; box-shadow:var(--shadow-lg);
  display:flex; flex-direction:column;
  padding:32px; gap:28px;
}
.hero-visual .badge-row{ display:flex; justify-content:flex-end; }
.hero-visual .badge{
  background:rgba(255,255,255,0.16); backdrop-filter:blur(6px);
  color:var(--white); font-size:12.5px; font-weight:700; padding:8px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,0.25);
}
.hero-visual .visual-cards{ display:flex; flex-direction:column; flex:1; justify-content:center; }
.hero-visual .vcard{
  background:#FFFFFF; border-radius:14px; padding:16px 18px;
  display:flex; align-items:center;
  margin-bottom:12px;
}
.hero-visual .vcard:last-child{ margin-bottom:0; }
.hero-visual .vcard .icon{ width:38px; height:38px; border-radius:10px; background:var(--green-light); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-right:14px; }
.hero-visual .vcard .icon svg{ width:19px; height:19px; color:var(--green-deep); }
.hero-visual .vcard h4{ font-size:14px; margin-bottom:2px; }
.hero-visual .vcard p{ font-size:12px; color:var(--muted); }

/* ============================================================
   SECTIONS
   ============================================================ */
section{ padding:100px 0; }
.section-white{ background:var(--white); }
.section-tint{ background:var(--green-lighter); }
.section-dark{ background:linear-gradient(160deg, var(--green-deep), #0a4a24); color:var(--white); }
.section-dark h2{ color:var(--white); }
.section-dark .desc{ color:rgba(255,255,255,0.72); }
.section-dark .eyebrow{ color:#8FE0AE; }
.section-dark .eyebrow::before{ background:#8FE0AE; }

.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:30px; margin-bottom:56px; flex-wrap:wrap; }
.section-head h2{ font-size:clamp(28px, 4vw, 40px); max-width:620px; }
.section-head .desc{ max-width:360px; font-size:15px; color:var(--muted); }

/* trust strip */
.trust-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.trust-item{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:32px 28px; box-shadow:var(--shadow);
}
.trust-item .ic{ width:52px; height:52px; border-radius:14px; background:var(--green-light); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.trust-item .ic svg{ width:24px; height:24px; color:var(--green-deep); }
.trust-item h3{ font-size:18px; margin-bottom:10px; }
.trust-item p{ font-size:14px; color:var(--muted); }
@media (max-width: 760px){ .trust-grid{ grid-template-columns:1fr; } }

/* service cards */
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:32px 28px; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.service-card .ic{ width:52px; height:52px; border-radius:14px; background:var(--green-light); display:flex; align-items:center; justify-content:center; margin-bottom:22px; }
.service-card .ic svg{ width:24px; height:24px; color:var(--green-deep); }
.service-card h3{ font-size:19px; margin-bottom:12px; }
.service-card p{ font-size:14px; color:var(--muted); margin-bottom:20px; }
.service-card .card-link{ font-size:14px; font-weight:700; color:var(--green-deep); display:inline-flex; align-items:center; gap:6px; }
.service-card .card-link svg{ width:13px; height:13px; transition:transform .2s ease; }
.service-card:hover .card-link svg{ transform:translateX(3px); }
.service-card.dark{ background:linear-gradient(160deg, var(--green-deep), #0a4a24); border-color:transparent; }
.service-card.dark h3, .service-card.dark p{ color:var(--white); }
.service-card.dark p{ color:rgba(255,255,255,0.75); }
.service-card.dark .card-link{ color:#8FE0AE; }
@media (max-width: 900px){ .card-grid{ grid-template-columns:1fr; } }

/* why us checklist */
.why-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px 40px; }
.why-item{ display:flex; gap:16px; padding:18px 0; }
.why-item .check{
  width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,0.14);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px;
  border:1px solid rgba(255,255,255,0.25);
}
.why-item .check svg{ width:14px; height:14px; color:#8FE0AE; }
.why-item h4{ font-size:16px; margin-bottom:6px; color:var(--white); }
.why-item p{ font-size:13.5px; color:rgba(255,255,255,0.68); }
@media (max-width: 760px){ .why-grid{ grid-template-columns:1fr; gap:4px; } }

/* testimonial */
.quote-card{
  background:var(--green-light); border-radius:24px; padding:56px; max-width:820px; margin:0 auto;
  position:relative;
}
.quote-mark{ font-family:var(--font-display); font-size:80px; color:var(--green); opacity:0.35; line-height:1; margin-bottom:10px; }
.quote-card blockquote{ font-family:var(--font-display); font-size:clamp(19px,2.4vw,25px); line-height:1.5; font-weight:600; color:var(--ink); }
.quote-card cite{ display:block; margin-top:26px; font-size:14px; font-style:normal; color:var(--green-deep); font-weight:700; }
@media (max-width:640px){ .quote-card{ padding:36px 28px; } }

/* CTA banner */
.cta-banner{
  border-radius:28px; padding:70px var(--edge); text-align:center;
  background:linear-gradient(160deg, var(--green-deep), #0a4a24);
  color:var(--white);
}
.cta-banner h2{ font-size:clamp(26px,4vw,40px); margin-bottom:16px; color:var(--white); }
.cta-banner p{ color:rgba(255,255,255,0.78); }
.cta-banner .btn-row{ display:flex; justify-content:center; gap:14px; margin-top:32px; flex-wrap:wrap; }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-hero{ padding:56px 0 64px; background:linear-gradient(180deg, var(--green-lighter), var(--white)); position:relative; }
.page-hero h1{ font-size:clamp(32px,5vw,50px); margin-top:18px; }
.page-hero .lead{ margin-top:16px; max-width:600px; color:var(--body); font-size:15.5px; }
.breadcrumb{ font-size:13px; font-weight:600; color:var(--muted); }
.breadcrumb a{ color:var(--green-deep); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
@media (max-width:840px){ .split{ grid-template-columns:1fr; } }

.value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.value-card{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:30px 26px; box-shadow:var(--shadow); }
.value-card .ic{ width:46px; height:46px; border-radius:12px; background:var(--green-light); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.value-card .ic svg{ width:21px; height:21px; color:var(--green-deep); }
.value-card h3{ font-size:16.5px; margin-bottom:10px; }
.value-card p{ font-size:13.5px; color:var(--muted); }
@media (max-width:760px){ .value-grid{ grid-template-columns:1fr; } }

.vm-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.vm-card{ background:var(--green-light); border-radius:20px; padding:44px 38px; }
.vm-card .ic{ width:52px; height:52px; border-radius:14px; background:var(--white); display:flex; align-items:center; justify-content:center; margin-bottom:20px; box-shadow:var(--shadow); }
.vm-card .ic svg{ width:24px; height:24px; color:var(--green-deep); }
.vm-card h3{ font-size:22px; margin-bottom:14px; }
.vm-card p{ font-size:15px; color:var(--body); }
@media (max-width:760px){ .vm-grid{ grid-template-columns:1fr; } }

.rc-banner{
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  background:linear-gradient(160deg, var(--green-deep), #0a4a24); color:var(--white);
  padding:36px 44px; border-radius:20px; margin-bottom:60px;
}
.rc-banner .rc-num{ font-family:var(--font-display); font-size:clamp(24px,3vw,32px); font-weight:800; }
.rc-banner .rc-label{ font-size:12px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; opacity:0.72; margin-bottom:8px; }

/* ============================================================
   SERVICES PAGE — sheet tabs (kept, restyled)
   ============================================================ */
.sheet-nav{
  display:flex; flex-wrap:wrap; gap:8px;
  position:sticky; top:85px; background:var(--white); z-index:40;
  padding:16px var(--edge); border-bottom:1px solid var(--border);
}
.sheet-nav button{
  font-family:var(--font-body); font-size:14px; font-weight:600;
  padding:12px 20px; background:var(--green-lighter); border:1px solid transparent; border-radius:999px; cursor:pointer;
  color:var(--body);
  transition:all .2s ease;
  white-space:nowrap;
}
.sheet-nav button:hover{ background:var(--green-light); }
.sheet-nav button.active{ background:var(--green); color:var(--white); }

.sheet-panel{ display:none; padding:60px 0; }
.sheet-panel.active{ display:block; animation:panel-in .4s ease; }
@keyframes panel-in{ from{ opacity:0; transform:translateY(8px);} to{ opacity:1; transform:translateY(0);} }

.sheet-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:30px; margin-bottom:48px; flex-wrap:wrap; }
.sheet-head .ic{ width:56px; height:56px; border-radius:16px; background:var(--green-light); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.sheet-head .ic svg{ width:26px; height:26px; color:var(--green-deep); }
.sheet-head h2{ font-size:clamp(26px,3.4vw,36px); max-width:600px; }
.sheet-head p{ margin-top:14px; color:var(--muted); font-size:15px; max-width:640px; }

.spec-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.spec-block{ background:var(--green-lighter); border-radius:var(--radius); padding:30px 28px; }
.spec-block h3{ font-size:15px; text-transform:uppercase; letter-spacing:0.04em; margin-bottom:18px; color:var(--green-deep); font-weight:800; }
.spec-block ul li{ font-size:14.5px; padding:10px 0 10px 24px; position:relative; color:var(--body); border-top:1px solid var(--border); }
.spec-block ul li:first-child{ border-top:none; }
.spec-block ul li::before{ content:''; position:absolute; left:0; top:17px; width:8px; height:8px; border-radius:50%; background:var(--green); }
@media (max-width:760px){ .spec-grid{ grid-template-columns:1fr; } }

.tag-cloud{ display:flex; flex-wrap:wrap; gap:10px; }
.tag-cloud span{ font-size:13.5px; font-weight:600; border-radius:999px; background:var(--green-light); padding:10px 16px; color:var(--green-deep); }

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:44px; }
.filter-row button{
  font-size:14px; font-weight:600; padding:11px 20px; border-radius:999px;
  border:1px solid var(--border); background:var(--white); cursor:pointer; color:var(--body);
  transition:all .2s ease;
}
.filter-row button.active, .filter-row button:hover{ background:var(--green); color:var(--white); border-color:var(--green); }

.project-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:900px){ .project-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .project-grid{ grid-template-columns:1fr; } }
.project-card{ border:1px solid var(--border); background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:transform .25s ease, box-shadow .25s ease; }
.project-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.project-thumb{
  aspect-ratio:4/3; position:relative; overflow:hidden;
  background:linear-gradient(160deg, var(--green-deep), var(--green-mid));
  display:flex; align-items:center; justify-content:center;
}
.project-thumb svg{ width:40px; height:40px; color:rgba(255,255,255,0.85); }
.project-body{ padding:24px; }
.project-body .cat{ font-size:12px; font-weight:700; color:var(--green-deep); text-transform:uppercase; letter-spacing:0.04em; }
.project-body h3{ font-size:17px; margin:10px 0 8px; }
.project-body p{ font-size:13.5px; color:var(--muted); }
.project-body .loc{ margin-top:16px; font-size:12.5px; color:var(--muted); display:flex; align-items:center; gap:6px; }
.project-body .loc svg{ width:13px; height:13px; }

.placeholder-note{
  border:1.5px dashed var(--border); border-radius:var(--radius); padding:28px; text-align:center; margin-top:50px;
  font-size:14px; color:var(--muted); background:var(--green-lighter);
}
.placeholder-note strong{ color:var(--ink); }

/* ============================================================
   CERTIFICATIONS PAGE
   ============================================================ */
.cert-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:900px){ .cert-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .cert-grid{ grid-template-columns:1fr; } }
.cert-card{ border:1px solid var(--border); background:var(--white); border-radius:var(--radius); padding:28px 22px; text-align:center; box-shadow:var(--shadow); transition:transform .2s ease; }
.cert-card:hover{ transform:translateY(-4px); }
.cert-icon{ width:48px; height:48px; margin:0 auto 18px; border-radius:12px; background:var(--green-light); display:flex; align-items:center; justify-content:center; }
.cert-icon svg{ width:22px; height:22px; color:var(--green-deep); }
.cert-card h4{ font-size:14.5px; margin-bottom:8px; }
.cert-card p{ font-size:12.5px; color:var(--muted); }
.cert-card .status{ margin-top:16px; display:inline-block; font-size:11px; font-weight:700; padding:5px 12px; border-radius:999px; background:var(--green-light); color:var(--green-deep); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.info-list{ display:flex; flex-direction:column; gap:16px; }
.info-row{ display:flex; gap:16px; padding:20px; background:var(--green-lighter); border-radius:var(--radius-sm); }
.info-row .ic{ width:42px; height:42px; border-radius:10px; background:var(--white); display:flex; align-items:center; justify-content:center; flex-shrink:0; box-shadow:var(--shadow); }
.info-row .ic svg{ width:19px; height:19px; color:var(--green-deep); }
.info-row .label{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; color:var(--muted); margin-bottom:6px; }
.info-row .val{ font-size:15px; font-weight:600; color:var(--ink); }
.info-row .val a:hover{ color:var(--green-deep); }

.form-field{ margin-bottom:20px; }
.form-field label{ display:block; font-size:13px; font-weight:700; margin-bottom:8px; color:var(--ink); }
.form-field input, .form-field select, .form-field textarea{
  width:100%; border:1.5px solid var(--border); border-radius:var(--radius-sm); background:var(--white); padding:14px 16px;
  font-family:var(--font-body); font-size:14.5px; color:var(--ink);
}
.form-field textarea{ resize:vertical; min-height:110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:none; border-color:var(--green); box-shadow:0 0 0 4px rgba(14,124,58,0.10); }
.map-frame{ border:1px solid var(--border); border-radius:var(--radius); width:100%; height:260px; margin-top:8px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer{ background:linear-gradient(160deg, var(--green-deep), #062f18); color:var(--white); padding:76px 0 0; }
.footer-logo-chip{ background:var(--white); display:inline-flex; padding:14px 22px; border-radius:14px; margin-bottom:20px; }
.footer-logo-chip img{ height:44px; width:auto; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,0.14); }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:#8FE0AE; margin-bottom:20px; }
.footer-grid li{ margin-bottom:12px; font-size:14px; color:rgba(255,255,255,0.78); line-height:1.6; }
.footer-grid a:hover{ color:var(--white); }
.footer-brand p{ font-size:13.5px; color:rgba(255,255,255,0.65); margin-top:4px; max-width:280px; }
.footer-bottom{ display:flex; justify-content:space-between; padding:24px 0; font-size:12.5px; color:rgba(255,255,255,0.55); flex-wrap:wrap; gap:10px; }
.social-row{ display:flex; gap:12px; margin-top:20px; }
.social-row a{ width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; transition:background .2s ease; }
.social-row a:hover{ background:rgba(255,255,255,0.2); }
.social-row svg{ width:15px; height:15px; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float{
  position:fixed; bottom:24px; right:24px; z-index:90;
  width:56px; height:56px; background:#1E8E5A; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(16,50,30,0.28);
  transition:transform .2s ease;
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float svg{ width:27px; height:27px; fill:#fff; }

/* ============================================================
   TEAM PAGE — deliberately distinct visual language:
   dark editorial theme, portrait-forward cards, monospace
   role labels — set apart from the rest of the site's UI.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

.team-hero{
  background:#0B1210; color:var(--white);
  padding:64px 0 60px; position:relative; overflow:hidden;
}
.team-hero::before{
  content:''; position:absolute; inset:0;
  background-image:radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size:26px 26px; opacity:0.5; pointer-events:none;
}
.team-hero .container{ position:relative; }
.team-hero .breadcrumb{ color:rgba(255,255,255,0.5); }
.team-hero .breadcrumb a{ color:#8FE0AE; }
.team-hero h1{ color:var(--white); font-size:clamp(32px,5vw,50px); margin-top:18px; }
.team-hero .lead{ margin-top:16px; max-width:600px; color:rgba(255,255,255,0.68); font-size:15.5px; }

.team-section{ background:#0B1210; padding:70px 0 100px; }
.team-tag{
  font-family:'JetBrains Mono', monospace; font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase;
  color:#8FE0AE; margin-bottom:8px; display:block;
}

.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:rgba(255,255,255,0.08); }
@media (max-width:980px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .team-grid{ grid-template-columns:1fr; } }

.team-card{
  background:#0B1210; position:relative; overflow:hidden;
  transition:transform .3s ease;
}
.team-photo{
  aspect-ratio:3/3.6; position:relative; overflow:hidden;
  background:linear-gradient(160deg,#16211C,#0B1210);
  display:flex; align-items:center; justify-content:center;
}
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-photo .ph-icon{ width:64px; height:64px; opacity:0.25; }
.team-photo .ph-icon svg{ width:100%; height:100%; color:#8FE0AE; }
.team-photo .initials{
  font-family:'JetBrains Mono', monospace; font-weight:600; font-size:44px;
  color:#8FE0AE; opacity:0.55; letter-spacing:0.02em;
}
.pending-tag{
  position:absolute; top:12px; right:12px; font-family:'JetBrains Mono', monospace;
  font-size:10px; font-weight:600; letter-spacing:0.05em; text-transform:uppercase;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2); color:rgba(255,255,255,0.7);
  padding:4px 9px; border-radius:999px;
}

/* CEO / leadership spotlight */
.leader-spotlight{
  display:grid; grid-template-columns:0.85fr 1.15fr; gap:0;
  background:linear-gradient(160deg, #10201A, #0B1210);
  border:1px solid rgba(255,255,255,0.08); border-radius:20px; overflow:hidden;
  margin-bottom:70px;
}
@media (max-width:820px){ .leader-spotlight{ grid-template-columns:1fr; } }
.leader-photo{ position:relative; aspect-ratio:3/3.6; }
.leader-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:820px){ .leader-photo{ aspect-ratio:16/10; } }
.leader-body{ padding:44px 44px 40px; display:flex; flex-direction:column; justify-content:center; }
.leader-body .team-tag{ margin-bottom:14px; }
.leader-body h2{ color:var(--white); font-size:clamp(24px,3vw,32px); margin-bottom:6px; }
.leader-body .role{ font-family:'JetBrains Mono', monospace; font-size:13px; color:#8FE0AE; margin-bottom:22px; display:block; }
.leader-body p{ font-size:14.5px; line-height:1.75; color:rgba(255,255,255,0.68); }
.team-card-body{ padding:22px 20px 26px; border-top:1px solid rgba(255,255,255,0.08); }
.team-card-body h3{ color:var(--white); font-size:17px; margin-bottom:4px; }
.team-card-body .role{ font-family:'JetBrains Mono', monospace; font-size:12px; color:#8FE0AE; letter-spacing:0.02em; }
.team-card-body .bio{ margin-top:12px; font-size:13px; color:rgba(255,255,255,0.55); line-height:1.6; }
.team-card-body .team-links{ display:flex; gap:10px; margin-top:16px; }
.team-card-body .team-links a{
  width:30px; height:30px; border-radius:50%; border:1px solid rgba(255,255,255,0.15);
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.6);
  transition:all .2s ease;
}
.team-card-body .team-links a:hover{ border-color:#8FE0AE; color:#8FE0AE; }
.team-card-body .team-links svg{ width:13px; height:13px; }

.team-placeholder-note{
  border:1.5px dashed rgba(255,255,255,0.18); border-radius:var(--radius); padding:30px; text-align:center; margin-top:56px;
  font-size:14px; color:rgba(255,255,255,0.55);
}
.team-placeholder-note strong{ color:var(--white); }

/* ============================================================
   ADMIN PANEL — private, unlinked page. Reuses brand tokens
   but with a simple utility layout distinct from marketing pages.
   ============================================================ */
.admin-shell{ min-height:100vh; background:var(--green-lighter); padding:60px 20px; }
.admin-brand{ display:flex; align-items:center; justify-content:center; margin-bottom:36px; }
.admin-brand img{ height:44px; }

.login-card{
  max-width:400px; margin:0 auto; background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius); padding:40px 36px; box-shadow:var(--shadow-lg);
}
.login-card h1{ font-size:22px; margin-bottom:6px; }
.login-card .sub{ font-size:13.5px; color:var(--muted); margin-bottom:28px; }
.login-error{ font-size:13px; color:#C0392B; margin-top:10px; min-height:18px; }

.admin-dash{ max-width:960px; margin:0 auto; }
.admin-topbar{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:18px 24px; margin-bottom:28px; flex-wrap:wrap;
}
.admin-topbar .who{ font-size:13.5px; color:var(--muted); }
.admin-topbar .who strong{ color:var(--ink); }
.btn-small{
  font-size:13px; font-weight:700; padding:9px 18px; border-radius:999px;
  border:1.5px solid var(--border); background:var(--white); color:var(--body); cursor:pointer;
}
.btn-small:hover{ border-color:var(--green); color:var(--green-deep); }

.admin-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px; margin-bottom:28px; box-shadow:var(--shadow);
}
.admin-card h2{ font-size:17px; margin-bottom:20px; }

.progress-wrap{ display:none; margin-top:16px; }
.progress-track{ height:8px; background:var(--border); border-radius:999px; overflow:hidden; }
.progress-fill{ height:100%; width:0%; background:var(--green); transition:width .2s ease; }
.progress-label{ font-size:12.5px; color:var(--muted); margin-top:8px; }
.upload-msg{ font-size:13px; margin-top:12px; color:var(--muted); }

.admin-row{
  display:flex; align-items:center; gap:16px; padding:14px 0; border-top:1px solid var(--border);
}
.admin-row:first-child{ border-top:none; }
.admin-row-thumb{ width:64px; height:64px; border-radius:8px; overflow:hidden; flex-shrink:0; background:var(--green-lighter); }
.admin-row-thumb img, .admin-row-thumb video{ width:100%; height:100%; object-fit:cover; }
.admin-row-body{ flex:1; min-width:0; }
.admin-row-body h4{ font-size:14.5px; margin-bottom:2px; }
.admin-row-cat{ font-size:11.5px; font-weight:700; color:var(--green-deep); text-transform:uppercase; letter-spacing:0.03em; }
.admin-row-body p{ font-size:12.5px; color:var(--muted); margin-top:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-row-delete{
  font-size:12.5px; font-weight:700; color:#C0392B; background:none; border:1px solid #E8B4AC;
  padding:8px 14px; border-radius:999px; cursor:pointer; flex-shrink:0;
}
.admin-row-delete:hover{ background:#FDF0EE; }
.admin-row-actions{ display:flex; align-items:center; gap:6px; flex-shrink:0; }
.admin-icon-btn{
  width:34px; height:34px; border-radius:8px; border:1px solid var(--border); background:var(--white);
  color:var(--body); font-size:15px; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:all .15s ease;
}
.admin-icon-btn:hover:not(:disabled){ border-color:var(--green); color:var(--green-deep); }
.admin-icon-btn:disabled{ opacity:0.3; cursor:not-allowed; }
.admin-featured-pill{
  display:inline-block; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.03em;
  background:var(--green-light); color:var(--green-deep); padding:3px 9px; border-radius:999px; margin-left:8px;
  vertical-align:middle;
}
.form-field-check{ display:flex; align-items:center; gap:10px; margin-bottom:22px; }
.form-field-check input{ width:17px; height:17px; accent-color:var(--green); cursor:pointer; }
.form-field-check label{ font-size:13.5px; color:var(--body); cursor:pointer; }
.admin-loading, .admin-list-empty{ font-size:13.5px; color:var(--muted); padding:12px 0; }

/* dynamic public project media (image/video fills the thumb) */
.project-thumb-media{ background:var(--green-lighter); position:relative; }
.project-thumb-media img, .project-thumb-media video{ width:100%; height:100%; object-fit:cover; }
.project-photocount{
  position:absolute; bottom:12px; right:12px; z-index:2;
  font-size:11.5px; font-weight:700; letter-spacing:0.02em;
  background:rgba(11,18,16,0.78); color:#fff; padding:6px 12px; border-radius:999px;
  backdrop-filter:blur(4px);
}
.featured-badge{
  position:absolute; top:14px; left:14px; z-index:2;
  font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.04em;
  background:#E8A23C; color:#1A1A1A; padding:6px 12px; border-radius:999px;
  box-shadow:0 4px 10px rgba(0,0,0,0.15);
}
#projects-loading, #projects-empty{
  text-align:center; padding:60px 20px; color:var(--muted); font-size:14.5px; display:none;
}

/* ============================================================
   BEFORE / AFTER VIDEO SHOWCASE
   ============================================================ */
.ba-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width:760px){ .ba-grid{ grid-template-columns:1fr; } }
.ba-card{ background:var(--green-lighter); border-radius:var(--radius); overflow:hidden; border:1px solid var(--border); }
.ba-label{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 20px; border-bottom:1px solid var(--border);
}
.ba-label h3{ font-size:15px; text-transform:uppercase; letter-spacing:0.04em; }
.ba-tag{ font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; padding:5px 12px; border-radius:999px; }
.ba-tag.before{ background:#F4E3D3; color:#8A5A2B; }
.ba-tag.after{ background:var(--green-light); color:var(--green-deep); }
.ba-video-wrap{
  display:flex; align-items:center; justify-content:center;
  background:#0B1210; min-height:280px; max-height:520px; overflow:hidden;
}
.ba-video-wrap video{ width:100%; max-height:520px; object-fit:contain; display:block; }

/* ============================================================
   PROJECT PHOTO LIGHTBOX (Rikeni / Sokoto gallery)
   ============================================================ */
/* lightbox */
.fp-lightbox{
  display:none; position:fixed; inset:0; z-index:1000; background:rgba(11,18,16,0.94);
  align-items:center; justify-content:center; padding:24px;
}
.fp-lightbox.open{ display:flex; }
.fp-lightbox img{ max-width:100%; max-height:80vh; border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,0.5); }
.fp-lightbox-inner{ position:relative; max-width:1100px; width:100%; display:flex; flex-direction:column; align-items:center; }
.fp-lb-close{
  position:absolute; top:-48px; right:0; background:none; border:none; color:var(--white);
  font-size:32px; line-height:1; cursor:pointer; padding:6px 10px;
}
.fp-lb-nav{
  position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.25); color:var(--white); width:46px; height:46px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:20px;
  transition:background .2s ease;
}
.fp-lb-nav:hover{ background:rgba(255,255,255,0.25); }
.fp-lb-prev{ left:-60px; }
.fp-lb-next{ right:-60px; }
@media (max-width:820px){ .fp-lb-prev{ left:6px; } .fp-lb-next{ right:6px; } }
.fp-lb-counter{ color:rgba(255,255,255,0.7); font-size:13px; margin-top:14px; }

/* ---------- reveal on scroll ----------
   Fail-safe by default: content is visible unless JS confirms it can
   both detect scroll position AND animate it in (see js/script.js).
   This avoids permanently-invisible content for no-JS browsers,
   slow connections, ad blockers, crawlers, or print/PDF export. */
.reveal{ opacity:1; transform:none; }
body.reveal-armed .reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
body.reveal-armed .reveal.in{ opacity:1; transform:translateY(0); }
