/* CreditBucket Technologies — shared stylesheet */
:root{
  --green:#2EBF70;
  --blue:#3AA3DD;
  --navy:#1B4B72;
  --ink:#14181C;
  --paper:#F5F8FA;
  --paper-dim:#E9EEF1;
  --line:#DDE4E8;
  --text-soft:#5B6670;
  --display:'Plus Jakarta Sans', sans-serif;
  --body:'Inter', sans-serif;
  --mono:'IBM Plex Mono', monospace;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth; overflow-x:hidden;}
body{font-family:var(--body); color:var(--ink); background:var(--paper); line-height:1.65; font-size:16px; overflow-x:hidden;}
img{max-width:100%; display:block;}
a{color:inherit;}
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
h1,h2,h3{font-family:var(--display); font-weight:700; letter-spacing:-0.01em; line-height:1.12;}
p{color:var(--text-soft);}
.eyebrow{font-family:var(--mono); font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:var(--green); display:flex; align-items:center; gap:8px; margin-bottom:16px;}
.eyebrow::before{content:''; width:18px; height:1.5px; background:var(--green);}

/* ---------- Header ---------- */
header{background:rgba(245,248,250,0.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:100;}
.nav-inner{max-width:1180px; margin:0 auto; padding:0 32px; height:72px; display:flex; align-items:center; justify-content:space-between;}
.logo-mark{height:32px;}
nav{display:flex; gap:24px; flex-wrap:wrap;}
nav a{font-size:13px; font-weight:600; color:var(--text-soft); text-decoration:none; white-space:nowrap;}
nav a:hover,nav a.active{color:var(--ink);}
.btn{font-family:var(--body); font-weight:700; font-size:13.5px; padding:11px 22px; border-radius:999px; text-decoration:none; display:inline-block; border:none; cursor:pointer;}
.btn-primary{background:var(--navy); color:#fff;}
.btn-primary:hover{background:#153c5c;}
.btn-ghost{border:1.5px solid var(--line); color:var(--ink); background:transparent;}
.btn-ghost:hover{border-color:var(--navy);}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap;}
.mobile-toggle{display:none; background:none; border:none; font-size:22px; cursor:pointer; color:var(--ink);}
.mobile-nav{display:none; flex-direction:column; background:#fff; border-top:1px solid var(--line);}
.mobile-nav.open{display:flex;}
.mobile-nav a{padding:16px 32px; font-size:14.5px; font-weight:600; color:var(--ink); text-decoration:none; border-bottom:1px solid var(--line);}
.mobile-nav a.active{color:var(--green);}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{position:relative; padding:64px 0 56px; overflow:hidden; border-bottom:1px solid var(--line);}
.page-hero .wrap{position:relative; z-index:2; max-width:700px;}
.page-hero h1{font-size:40px; margin-bottom:16px;}
.page-hero p.lede{font-size:16.5px; max-width:560px; margin-bottom:6px;}

/* ---------- Home hero ---------- */
.hero{position:relative; padding:88px 0 64px; overflow:hidden;}
.hero .wrap{position:relative; z-index:2; max-width:660px;}
.hero h1{font-size:46px; margin-bottom:20px;}
.hero h1 .accent{color:var(--green);}
.hero p{font-size:17px; max-width:520px; margin-bottom:32px;}

/* ---------- Arch motif ---------- */
.arch-field{position:absolute; overflow:hidden; pointer-events:none;}
.arch{position:absolute; border-radius:50%; border-style:solid; border-bottom:none;}
.arches-right{top:-140px; right:-180px; width:640px; height:640px; z-index:1;}
.arches-dark{bottom:-200px; left:-160px; width:520px; height:520px; z-index:1;}

/* ---------- Sections ---------- */
section{padding:76px 0;}
.section-head{max-width:640px; margin-bottom:44px;}
.section-head h2{font-size:32px;}
.section-head p{font-size:15.5px; margin-top:14px;}

/* ---------- Pillar chips ---------- */
.pillar-row{display:flex; gap:8px; flex-wrap:wrap;}
.pillar-chip{font-size:13px; font-weight:600; color:var(--navy); background:#fff; border:1px solid var(--line); padding:9px 16px; border-radius:999px;}

/* ---------- Trust / logo strip ---------- */
.trust{background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:40px 0;}
.trust .label{font-family:var(--mono); font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-soft); margin-bottom:22px;}
.logo-row{display:flex; gap:12px; flex-wrap:wrap;}
.logo-chip{font-family:var(--display); font-weight:700; font-size:13px; color:#7C8794; background:var(--paper-dim); padding:12px 20px; border-radius:8px; min-width:96px; text-align:center;}
.logo-chip.placeholder{border:1px dashed #C6CFD6; background:transparent; color:#A8B2BB; font-weight:600;}

/* ---------- Cards ---------- */
.cards{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
.cards.cols-3{grid-template-columns:repeat(3,1fr);}
.cards.cols-2{grid-template-columns:repeat(2,1fr);}
.card{background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px 22px; position:relative; overflow:hidden;}
.card .arch-mini{width:120px; height:120px; top:-40px; right:-40px; border-width:14px; opacity:0.5; position:absolute; border-radius:50%; border-style:solid; border-bottom:none;}
.card h3{font-size:16.5px; margin-bottom:8px; position:relative; z-index:1;}
.card p{font-size:13.5px; position:relative; z-index:1;}
.card:nth-child(4n+1) .arch-mini{border-color:var(--green);}
.card:nth-child(4n+2) .arch-mini{border-color:var(--blue);}
.card:nth-child(4n+3) .arch-mini{border-color:var(--navy);}
.card:nth-child(4n+4) .arch-mini{border-color:var(--ink);}

/* ---------- Dark band (AI Cognitics / abstract tech) ---------- */
.dark-band{background:var(--ink); color:#fff; padding:80px 0; position:relative; overflow:hidden;}
.dark-band .wrap{position:relative; z-index:2;}
.dark-band .eyebrow{color:var(--green);}
.dark-band .eyebrow::before{background:var(--green);}
.dark-band h2{font-size:30px; color:#fff; margin-bottom:16px;}
.dark-band p{color:#B7C0C8; font-size:15.5px;}
.dark-band .content{max-width:620px;}

/* ---------- Award / recognition ---------- */
.award{padding:80px 0; text-align:center; position:relative; overflow:hidden;}
.award-badge{display:inline-flex; align-items:center; gap:10px; border:1.5px solid var(--green); color:var(--green); font-family:var(--mono); font-size:12px; letter-spacing:0.08em; padding:9px 18px; border-radius:999px; margin-bottom:24px;}
.award h2{font-size:34px; max-width:640px; margin:0 auto 14px;}
.award > .wrap > p{font-size:15.5px; max-width:480px; margin:0 auto 30px;}
.award-strip{display:flex; justify-content:center; gap:10px; flex-wrap:wrap;}
.award-chip{font-size:12.5px; font-weight:600; color:var(--navy); background:#fff; border:1px solid var(--line); padding:8px 14px; border-radius:8px;}

/* ---------- Photo placeholder block (swap for licensed photography) ---------- */
.photo-block{
  border-radius:18px; border:1.5px dashed #C6CFD6; background:
    linear-gradient(135deg, rgba(46,191,112,0.07), rgba(58,163,221,0.07));
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:8px;
  min-height:280px; text-align:center; padding:24px;
}
.photo-block .ph-label{font-family:var(--mono); font-size:11px; letter-spacing:0.06em; text-transform:uppercase; color:#8A94A0;}
.photo-block .ph-query{font-size:13px; color:#5B6670; max-width:320px;}

/* ---------- Ecosystem network diagram (original SVG) ---------- */
.network-diagram{width:100%; height:auto;}

/* ---------- Principle / value cards ---------- */
.principle-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:20px;}
.principle-card{background:#fff; border:1px solid var(--line); border-radius:16px; padding:28px;}
.principle-card .p-icon{width:42px; height:42px; border-radius:10px; background:var(--paper-dim); display:flex; align-items:center; justify-content:center; margin-bottom:16px;}
.principle-card h3{font-size:17px; margin-bottom:8px;}
.principle-card p{font-size:14px;}

/* ---------- Philosophy triptych ---------- */
.triptych{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; text-align:center;}
.trip-card{background:#fff; border:1px solid var(--line); border-radius:16px; padding:36px 24px;}
.trip-card .sanskrit{font-family:'Noto Sans Devanagari', var(--display); font-weight:700; font-size:26px; color:var(--navy); margin-bottom:4px;}
.trip-card .eng{font-family:var(--mono); font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--green);}
.trip-arrow{display:flex; align-items:center; justify-content:center; color:var(--text-soft); font-size:20px;}

/* ---------- Stat / trust circle ---------- */
.trust-circle{display:flex; align-items:center; justify-content:center; gap:0; flex-wrap:wrap;}
.tc-node{background:#fff; border:1px solid var(--line); border-radius:12px; padding:16px 22px; font-size:13px; font-weight:600; color:var(--navy); text-align:center; min-width:130px;}

/* ---------- Contact form ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;}
.form-card{background:#fff; border:1px solid var(--line); border-radius:18px; padding:36px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px;}
.form-row.full{grid-template-columns:1fr;}
label{font-size:12.5px; font-weight:600; color:var(--ink); display:block; margin-bottom:6px;}
input,select,textarea{width:100%; border:1px solid var(--line); border-radius:8px; padding:11px 12px; font-family:var(--body); font-size:14px; background:var(--paper); color:var(--ink);}
input:focus,select:focus,textarea:focus{outline:2px solid var(--blue); outline-offset:1px;}
textarea{min-height:96px; resize:vertical;}
.engage-list{display:flex; flex-direction:column; gap:14px; margin-top:20px;}
.engage-item{display:flex; gap:12px; align-items:flex-start; padding:16px; background:#fff; border:1px solid var(--line); border-radius:12px;}
.engage-item .dot{width:8px; height:8px; border-radius:50%; background:var(--green); margin-top:7px; flex-shrink:0;}
.engage-item b{font-size:14px;}
.contact-email{font-family:var(--display); font-weight:700; font-size:22px; color:var(--navy);}

/* ---------- Footer ---------- */
footer{background:var(--ink); color:#B7C0C8; padding:60px 0 30px; font-size:13px;}
.footer-main{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px; padding-bottom:36px; border-bottom:1px solid #2A3138; margin-bottom:28px;}
.footer-logo{height:30px; width:auto; margin-bottom:14px;}
.footer-brand p{font-size:13px; color:#8993A0; max-width:280px; line-height:1.7;}
.footer-col h6{font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:#6B7580; margin-bottom:16px;}
.footer-col ul li{margin-bottom:10px;}
.footer-col ul li a{font-size:13px; color:#B7C0C8; text-decoration:none;}
.footer-col ul li a:hover{color:#fff;}
.footer-legal-block{display:grid; grid-template-columns:repeat(5,1fr); gap:20px; padding-bottom:26px; margin-bottom:20px; border-bottom:1px solid #2A3138;}
.footer-legal-col{display:flex; flex-direction:column; gap:4px;}
.footer-legal-col .k{font-family:var(--mono); font-size:10.5px; text-transform:uppercase; letter-spacing:0.06em; color:#5F6975;}
.footer-legal-col .v{font-size:12.5px; color:#C7CDD4; line-height:1.5;}
.footer-legal{display:flex; gap:18px; flex-wrap:wrap; margin-bottom:14px;}
.footer-legal a{color:#8993A0; text-decoration:none; font-size:12.5px;}
.footer-legal a:hover{color:#fff;}
.footer-bottom{color:#5F6975; font-size:12px;}

/* ---------- Certification cards (Recognition page) ---------- */
.cert-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:20px;}
.cert-mini-card{background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden;}
.cert-mini-card img{width:100%; height:220px; object-fit:cover; object-position:top center; border-bottom:1px solid var(--line);}
.cert-mini-body{padding:20px 22px;}
.cert-mini-body .tag{font-family:var(--mono); font-size:11px; color:var(--green); letter-spacing:0.06em; text-transform:uppercase; margin-bottom:6px; display:block;}
.cert-mini-body h4{font-size:16px; margin-bottom:6px;}
.cert-mini-body p{font-size:13px; color:var(--text-soft);}

/* ---------- Recognition stat strip ---------- */
.recog-stats{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:36px 0;}
.recog-stat{text-align:center; padding:26px 20px; background:#fff; border:1px solid var(--line); border-radius:14px;}
.recog-stat .num{font-family:var(--display); font-weight:800; font-size:36px; color:var(--navy);}
.recog-stat .label{font-size:13px; color:var(--text-soft); margin-top:6px;}

/* ---------- Legal page prose ---------- */
.legal-prose{max-width:760px;}
.legal-prose h2{font-size:22px; margin:32px 0 12px;}
.legal-prose h2:first-child{margin-top:0;}
.legal-prose p{font-size:14.5px; color:var(--text-soft); margin-bottom:14px; line-height:1.75;}
.legal-prose ul{margin:0 0 14px 20px;}
.legal-prose ul li{font-size:14.5px; color:var(--text-soft); margin-bottom:8px; line-height:1.7;}
.legal-updated{font-family:var(--mono); font-size:12px; color:var(--text-soft); margin-bottom:30px; display:block;}

/* ---------- Utility ---------- */
.center{text-align:center;}
.mt{margin-top:20px;}
.divider{height:1px; background:var(--line); margin:0;}

/* ---------- Problem-scale section ---------- */
.problem-band{background:var(--ink); color:#fff; padding:76px 0; position:relative; overflow:hidden;}
.problem-band .wrap{position:relative; z-index:2;}
.problem-stats{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:36px;}
.problem-stat{background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.12); border-radius:16px; padding:28px 24px;}
.problem-stat .num{font-family:var(--display); font-weight:800; font-size:38px; color:var(--green);}
.problem-stat .label{font-size:13.5px; color:#B7C0C8; margin-top:8px; line-height:1.5;}

/* ---------- Real logo wall ---------- */
.logo-wall{display:grid; grid-template-columns:repeat(6,1fr); gap:14px;}
.logo-wall.cols-4{grid-template-columns:repeat(4,1fr);}
.logo-wall-item{background:#fff; border:1px solid var(--line); border-radius:12px; padding:16px 16px; display:flex; align-items:center; justify-content:center; min-height:76px;}
.logo-wall-item img{max-width:100%; max-height:46px; width:auto; object-fit:contain;}

/* ---------- Bio card with real photo ---------- */
.bio-card{background:#fff; border:1px solid var(--line); border-radius:20px; padding:0; overflow:hidden; display:grid; grid-template-columns:220px 1fr;}
.bio-photo{width:100%; height:100%; min-height:260px; object-fit:cover; background:var(--paper-dim);}
.bio-content{padding:32px 30px;}
.bio-content .role{font-family:var(--mono); font-size:12px; color:var(--green); letter-spacing:0.06em; text-transform:uppercase; margin-bottom:6px; display:block;}
.bio-content h3{font-size:23px; margin-bottom:14px;}
.bio-content p{font-size:14.5px; margin-bottom:12px;}
.bio-content p:last-child{margin-bottom:0;}
.bio-pullquote{font-family:var(--display); font-style:normal; font-weight:600; font-size:17px; color:var(--ink); border-left:3px solid var(--green); padding-left:16px; margin:16px 0;}

/* ---------- Certificate / badge display ---------- */
.cert-block{display:grid; grid-template-columns:0.85fr 1.15fr; gap:40px; align-items:center;}
.cert-img{border-radius:16px; border:1px solid var(--line); overflow:hidden; box-shadow:0 20px 50px rgba(20,24,28,0.12); max-width:100%; height:auto;}
.cert-badge-img{max-height:70px; width:auto;}
.iso-strip{display:flex; gap:24px; flex-wrap:wrap; align-items:center;}
.iso-card{background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px 24px; display:flex; align-items:center; gap:16px;}
.iso-card img{height:56px; width:auto;}

/* ---------- Samriddh Kendra feature block ---------- */
.sk-block{display:grid; grid-template-columns:1fr 1fr; gap:0; border-radius:20px; overflow:hidden; border:1px solid var(--line);}
.sk-photo{width:100%; height:100%; min-height:320px; object-fit:cover;}
.sk-content{background:#fff; padding:36px 32px; display:flex; flex-direction:column; justify-content:center;}
.sk-content img.sk-logo{height:32px; width:auto; margin-bottom:18px;}
.sk-content h3{font-size:22px; margin-bottom:12px;}
.sk-content p{font-size:14.5px; margin-bottom:10px;}

@media (max-width:900px){
  .bio-card{grid-template-columns:1fr;}
  .bio-photo{min-height:280px;}
  .cert-block,.sk-block{grid-template-columns:1fr;}
  .problem-stats{grid-template-columns:1fr;}
  .logo-wall{grid-template-columns:repeat(3,1fr);}
}

@media (max-width:960px){
  .cards{grid-template-columns:repeat(2,1fr);}
  .principle-grid,.triptych,.contact-grid{grid-template-columns:1fr;}
  .trip-arrow{transform:rotate(90deg);}
  .hero h1,.page-hero h1{font-size:32px;}
  nav{display:none;}
  .mobile-toggle{display:block;}
  .logo-wall{grid-template-columns:repeat(3,1fr);}
  .footer-main{grid-template-columns:1fr 1fr;}
  .footer-legal-block{grid-template-columns:1fr 1fr;}
  .cert-grid,.recog-stats{grid-template-columns:1fr;}
}
@media (max-width:600px){
  .cards{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
  .logo-wall{grid-template-columns:repeat(2,1fr);}
  .footer-main{grid-template-columns:1fr;}
  .footer-legal-block{grid-template-columns:1fr;}
}

/* ---------- Partner landing page ---------- */
.trustbar{background:#fff; border-bottom:1px solid var(--line); padding:26px 0;}
.trustbar .label{font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-soft); margin-bottom:16px; text-align:center;}
.trustbar-row{display:flex; align-items:center; justify-content:center; gap:36px; flex-wrap:wrap;}
.trustbar-row img{height:28px; width:auto; opacity:0.75; filter:grayscale(100%);}

.impact-strip{background:var(--ink); padding:44px 0;}
.impact-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:0;}
.impact-item{text-align:center; padding:0 12px; border-right:1px solid #2A3138;}
.impact-item:last-child{border-right:none;}
.impact-item .num{font-family:var(--display); font-weight:800; font-size:26px; color:var(--green);}
.impact-item .label{font-size:11.5px; color:#9098A3; margin-top:6px; line-height:1.4;}

.value-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.value-card{background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px 22px;}
.value-card .v-icon{width:40px; height:40px; border-radius:10px; background:rgba(46,191,112,0.10); display:flex; align-items:center; justify-content:center; margin-bottom:16px; font-family:var(--display); font-weight:800; color:var(--green); font-size:16px;}
.value-card h3{font-size:16px; margin-bottom:8px;}
.value-card p{font-size:13.5px;}

.audience-tabs{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.audience-card{background:#fff; border:1px solid var(--line); border-radius:18px; padding:0; overflow:hidden;}
.audience-head{padding:24px 24px 18px; border-bottom:1px solid var(--line);}
.audience-head .tag{font-family:var(--mono); font-size:11px; color:var(--green); letter-spacing:0.06em; text-transform:uppercase; display:block; margin-bottom:8px;}
.audience-head h3{font-size:19px; line-height:1.3;}
.audience-body{padding:20px 24px 26px;}
.audience-body ul{display:flex; flex-direction:column; gap:12px;}
.audience-body ul li{font-size:13.5px; color:var(--text-soft); padding-left:18px; position:relative; line-height:1.55;}
.audience-body ul li::before{content:'✓'; position:absolute; left:0; color:var(--green); font-weight:700;}

.process-row{display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative;}
.process-step{padding:0 18px; position:relative;}
.process-step .p-circle{width:40px; height:40px; border-radius:50%; background:var(--ink); color:var(--green); font-family:var(--mono); font-weight:700; display:flex; align-items:center; justify-content:center; margin-bottom:16px; font-size:15px;}
.process-step h4{font-size:15.5px; margin-bottom:8px;}
.process-step p{font-size:13px;}
.process-step:not(:last-child)::after{content:''; position:absolute; top:20px; left:calc(100% - 18px); width:36px; height:1px; background:var(--line);}

.cta-band{background:linear-gradient(135deg, var(--navy), var(--ink)); padding:70px 0; position:relative; overflow:hidden;}
.cta-band .wrap{position:relative; z-index:2; text-align:center;}
.cta-band h2{color:#fff; font-size:32px; max-width:600px; margin:0 auto 16px;}
.cta-band p{color:#B7C0C8; max-width:520px; margin:0 auto 30px;}
.cta-band-ctas{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}
.btn-white{background:#fff; color:var(--navy);}
.btn-white:hover{background:#EFEFEF;}
.btn-outline-white{border:1.5px solid rgba(255,255,255,0.4); color:#fff;}
.btn-outline-white:hover{border-color:#fff;}

@media (max-width:960px){
  .impact-grid{grid-template-columns:repeat(3,1fr); row-gap:24px;}
  .impact-item:nth-child(3){border-right:none;}
  .impact-item{border-right:1px solid #2A3138;}
  .value-grid{grid-template-columns:repeat(2,1fr);}
  .audience-tabs{grid-template-columns:1fr;}
  .process-row{grid-template-columns:1fr 1fr; row-gap:28px;}
  .process-step:not(:last-child)::after{display:none;}
}
@media (max-width:600px){
  .impact-grid{grid-template-columns:repeat(2,1fr);}
  .value-grid{grid-template-columns:1fr;}
  .process-row{grid-template-columns:1fr;}
  .trustbar-row{gap:20px;}
}
