/* =========================================================
   RAWABI JORDAN — Corporate Clean UI (No dark mode)
   ========================================================= */

:root{
  --brand:#0b2a4a;         /* deep navy */
  --brand-2:#164b7a;       /* secondary navy */
  --bg:#ffffff;
  --surface:#ffffff;
  --panel:#f6f8fb;

  --ink:#0f172a;
  --muted:#475569;
  --dim:#64748b;

  --ring:#e6ebf2;
  --shadow:0 10px 28px rgba(15,23,42,.08);
  --shadow-soft:0 18px 45px rgba(15,23,42,.08);

  --container:1200px;
  --nav-h:84px;
  --radius:18px;

  /* unify to avoid confusion */
  --navbar-height:84px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ height:100%; }
body{
  padding-top: var(--navbar-height);
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }

/* Layout */
main{
  max-width:var(--container);
  margin: 24px auto 80px;     /* ✅ FIX: center everything */
  padding:0 24px 80px;
}
footer{
  text-align:center;
  font-size:14px;
  color:var(--dim);
  padding:44px 20px 56px;
  border-top:1px solid var(--ring);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar{
  position:fixed;
  top:0; left:0; right:0;
  height:var(--nav-h);
  background:var(--surface);
  border-bottom:1px solid var(--ring);
  box-shadow:0 8px 24px rgba(15,23,42,.06);
  z-index:1000;
}
.nav-inner{
  max-width:1400px;
  margin:0 auto;
  height:100%;
  padding:12px 34px;
  display:flex;
  align-items:center;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  flex-shrink:0;
}
.nav-logo{
  height:46px;
  width:auto;
  object-fit:contain;
}

.nav-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  flex:1;
  min-width:0;
  font-size:16px;
  font-weight:600;
}
.nav-links a,
.products-btn{
  position:relative;
  color:var(--ink);
  padding:6px 2px;
  background:none;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
}
.nav-links a:hover,
.products-btn:hover{ color:var(--brand-2); }

.nav-links a::after,
.products-btn::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  background:var(--brand-2);
  transform:scaleX(0);
  transition:transform .2s ease;
}
.nav-links a:hover::after,
.products-btn:hover::after{ transform:scaleX(1); }

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.burger{
  display:none;
  border:1px solid var(--ring);
  background:var(--surface);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.burger svg{ width:24px; height:24px; color:var(--ink); }

/* Products dropdown */
.products-dropdown{ position:relative; display:flex; align-items:center; }
.products-btn svg{ width:16px; height:16px; }

.products-menu{
  position:absolute;
  top:calc(100% + 12px);
  left:50%;
  transform:translateX(-50%);
  min-width:270px;
  background:var(--surface);
  border:1px solid var(--ring);
  border-radius:14px;
  box-shadow:0 18px 48px rgba(15,23,42,.14);
  padding:10px 0;
  display:none;
  z-index:2000;
}
.products-menu a{
  display:block;
  padding:10px 16px;
  font-size:14px;
  color:var(--ink);
}
.products-menu a:hover{
  background:var(--panel);
  color:var(--brand-2);
}

/* Mobile menu */
.mobile-menu{
  display:none;
  flex-direction:column;
  position:fixed;
  top:var(--nav-h);
  left:16px; right:16px;
  background:var(--surface);
  border:1px solid var(--ring);
  border-radius:14px;
  box-shadow:0 20px 48px rgba(15,23,42,.18);
  padding:18px;
  z-index:999;
}
.mobile-menu a{
  padding:10px 12px;
  border-radius:10px;
  font-size:16px;
  font-weight:600;
}
.mobile-menu a:hover{ background:var(--panel); }

.mobile-products{
  margin:10px 0;
  padding:10px;
  border:1px solid var(--ring);
  border-radius:12px;
  background:var(--panel);
}
.mobile-products .label{
  font-weight:900;
  font-size:14px;
  color:var(--ink);
  margin-bottom:6px;
}
.mobile-products a{
  font-weight:600;
  font-size:14px;
}

/* Responsive */
@media(max-width:900px){
  .nav-links{ display:none; }
  .burger{ display:inline-flex; align-items:center; justify-content:center; }
  .nav-inner{ padding:12px 16px; }
}

/* =========================================================
   HERO (slider + overlay like the mockup)
   ========================================================= */
.hero{
  margin-top:calc(var(--nav-h) + 12px);
  padding:0 2vw;
  display:flex;
  justify-content:center;
}
.hero-frame{
  width:100%;
  max-width:min(1300px, 92vw);
  aspect-ratio:16 / 7;
  min-height:420px;
  border-radius:16px;
  overflow:hidden;
  position:relative;
  background:#0b1220;
  box-shadow:var(--shadow-soft);
}
.slides{
  position:absolute;
  inset:0;
  width:300%;
  display:flex;
  transition:transform .8s ease;
}
.slide{
  width:33.3333%;
  position:relative;
  overflow:hidden;
}
.slide img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.58);
}

.hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding:28px;
  z-index:3;
  background:linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.55) 100%);
}
.hero-box{
  max-width:760px;
  color:#fff;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:800;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  padding:8px 12px;
  border-radius:999px;
}
.hero-title{
  font-size:44px;
  line-height:1.08;
  font-weight:900;
  margin-top:14px;
  letter-spacing:-.02em;
}
.hero-sub{
  margin-top:12px;
  font-size:16px;
  line-height:1.6;
  color:rgba(255,255,255,.88);
  max-width:680px;
}
.hero-cta{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:14px;
  padding:12px 16px;
  font-weight:900;
  border:1px solid transparent;
  transition:transform .15s, box-shadow .15s, background .15s;
  white-space:nowrap;
}
.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 24px rgba(0,0,0,.18);
}
.btn-primary{
  background:#fff;
  color:#0f172a;
  border-color:rgba(255,255,255,.25);
}
.btn-ghost{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.25);
}

.dots{
  position:absolute;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:4;
}
.dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.8);
  cursor:pointer;
  transition:transform .2s, background .2s;
}
.dot.active{
  background:#fff;
  transform:scale(1.2);
}

@media(max-width:900px){
  .hero-frame{ aspect-ratio:16/9; min-height:380px; }
  .hero-title{ font-size:32px; }
}
@media(max-width:600px){
  .hero-frame{ aspect-ratio:16/11; min-height:360px; }
  .hero-overlay{ padding:18px; }
  .hero-title{ font-size:28px; }
}

/* =========================================================
   CLIENTS STRIP
   ========================================================= */
.clients-strip{
  margin-top:22px;
  background:var(--panel);
  border-top:1px solid var(--ring);
  border-bottom:1px solid var(--ring);
  padding:18px 0;
}
.clients-wrapper{
  width:92%;
  max-width:1300px;
  margin:0 auto;
  overflow:hidden;
}
.clients-track{
  display:flex;
  align-items:center;
  gap:50px;
  animation:scroll 22s linear infinite;
}
.client{
  min-width:210px;
  text-align:center;
}
.client img{
  height:34px;
  width:auto;
  object-fit:contain;
  filter:grayscale(1) brightness(.6);
  opacity:.9;
}
.client span{
  display:block;
  margin-top:6px;
  font-size:13px;
  color:var(--dim);
  line-height:1.25;
}
@keyframes scroll{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section{ margin-top:52px; }
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.h2{
  margin-top:10px;
  font-size:28px;
  line-height:1.2;
  font-weight:900;
}
.lead{
  margin-top:8px;
  color:var(--muted);
  font-size:15px;
  max-width:760px;
}

/* Cards */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}
@media(max-width:900px){ .grid-3{ grid-template-columns:1fr; } }

.card{
  background:var(--surface);
  border:1px solid var(--ring);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}
.card-title{
  font-size:16px;
  font-weight:900;
  margin-bottom:6px;
}
.card-text{
  font-size:14px;
  color:var(--muted);
  line-height:1.55;
}
.card .btn{
  margin-top:12px;
  background:var(--surface);
  border:1px solid var(--ring);
  color:var(--ink);
}
.card .btn:hover{
  background:var(--panel);
}

/* Agencies row (logo aligned with name) */
.agencies-shell{
  background:linear-gradient(180deg, var(--surface), var(--panel));
  border:1px solid var(--ring);
  border-radius:18px;
  padding:16px;
  box-shadow:var(--shadow);
}
.agencies-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
@media(max-width:980px){ .agencies-grid{ grid-template-columns:1fr; } }

.agency-card{
  background:var(--surface);
  border:1px solid var(--ring);
  border-radius:16px;
  padding:14px;
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:0 10px 22px rgba(15,23,42,.06);
}
.agency-logo{
  width:62px;
  height:62px;
  border-radius:16px;
  border:1px solid var(--ring);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 auto;
  padding:8px;
}
.agency-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.agency-meta{
  min-width:0;
  flex:1;
}
.agency-name{
  font-size:16px;
  font-weight:900;
  color:var(--ink);
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.agency-sub{
  font-size:13px;
  color:var(--dim);
  margin-top:4px;
  line-height:1.2;
}

/* Simple CTA footer block */
.cta-bar{
  margin-top:52px;
  background:var(--panel);
  border:1px solid var(--ring);
  border-radius:18px;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.cta-bar strong{ font-size:16px; }
.cta-bar span{ color:var(--muted); font-size:14px; }
.cta-bar a.btn{
  background:var(--brand);
  color:#fff;
  border-color:rgba(255,255,255,.15);
}

/* =========================================================
   ABOUT PAGE — Corporate Layout
   ========================================================= */

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
.container-narrow{
  max-width:980px;
  margin:0 auto;
  padding:0 24px;
}

.about-page{
  padding-top:30px;
}

.about-hero{
  max-width:var(--container);
  margin: 14px auto 20px;
  padding: 50px 20px 44px;
}
.about-hero-inner{
  background:linear-gradient(180deg, #ffffff, var(--panel));
  border:1px solid var(--ring);
  border-radius:22px;
  padding:36px 28px;
  box-shadow:var(--shadow);

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:220px;
}
.about-eyebrow{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid #d9e9ff;
  background:#eef5ff;
  color:var(--brand-2);
  font-weight:900;
  font-size:13px;
}
.about-hero h1{
  margin-top:14px;
  font-size:36px;
  line-height:1.15;
  font-weight:1000;
  letter-spacing:-.02em;
  text-align:center;
}
.about-lead{
  margin-top:10px;
  font-size:16px;
  color:var(--muted);
  line-height:1.75;
  text-align:center;
  max-width:720px;
}

.about-content{ margin-top:20px; }
.about-block{
  margin-top:14px;
  background:var(--surface);
  border:1px solid var(--ring);
  border-radius:18px;
  padding:18px 18px;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.about-block p{
  color:var(--ink);
  font-size:15.5px;
  line-height:1.85;
}
.about-block.highlight-text{
  background:linear-gradient(180deg, #ffffff, #f7fbff);
  border-color:#d9e9ff;
}
.about-block.emphasis-box{
  background:linear-gradient(180deg, #ffffff, #f6f8fb);
  border-left:6px solid var(--brand);
}

.emphasis{
  font-weight:1000;
  color:var(--brand);
  background:rgba(22,75,122,.08);
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(22,75,122,.18);
  white-space:nowrap;
}
.emphasis-strong{
  font-weight:1000;
  color:var(--brand);
  border-bottom:3px solid rgba(22,75,122,.25);
  padding-bottom:1px;
}

.about-strengths{
  margin-top:28px;
  background:var(--panel);
  border-top:1px solid var(--ring);
  border-bottom:1px solid var(--ring);
  padding:26px 0;
}
.about-strengths .container{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}
.strength-card{
  background:var(--surface);
  border:1px solid var(--ring);
  border-radius:18px;
  padding:16px;
  box-shadow:var(--shadow);
}
.strength-card h3{
  font-size:16px;
  font-weight:1000;
  margin-bottom:6px;
  color:var(--ink);
}
.strength-card p{
  font-size:14px;
  color:var(--muted);
  line-height:1.7;
}

.about-highlights{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}
.highlight-item{
  background:var(--surface);
  border:1px solid var(--ring);
  border-radius:18px;
  padding:16px;
  box-shadow:0 12px 26px rgba(15,23,42,.06);
}
.highlight-badge{
  display:inline-block;
  font-size:12px;
  font-weight:1000;
  color:var(--brand-2);
  background:#eef5ff;
  border:1px solid #d9e9ff;
  border-radius:999px;
  padding:6px 10px;
  margin-bottom:10px;
}
.highlight-item h4{
  font-size:16px;
  font-weight:1000;
  margin-bottom:6px;
}
.highlight-item p{
  font-size:14px;
  color:var(--muted);
  line-height:1.75;
}

.about-closing{
  margin-top:28px;
  padding:26px 0;
}
.about-closing .container-narrow{
  background:linear-gradient(180deg, #ffffff, var(--panel));
  border:1px solid var(--ring);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow);
}
.about-closing p{
  color:var(--ink);
  font-size:15.5px;
  line-height:1.9;
}

.nav-links a.active{ color:var(--brand-2); }
.nav-links a.active::after{ transform:scaleX(1); }

.nav-links a.is-active{ color: var(--brand-2); }
.nav-links a.is-active::after{ transform: scaleX(1); }

@media(max-width:980px){
  .about-hero h1{ font-size:30px; }
  .about-strengths .container{ grid-template-columns:1fr; }
  .about-highlights{ grid-template-columns:1fr; }
}

/* ===========================
   Product Pages (Premium Layout)
   =========================== */

.product-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 20px 60px;
}

.breadcrumbs{
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 14px;
}
.breadcrumbs a{
  color: var(--dim);
  text-decoration: none;
}
.breadcrumbs a:hover{
  color: var(--brand-2);
  text-decoration: underline;
}

.product-hero-pro{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.product-titleblock .tagline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0b5ed7;
  background: #eef5ff;
  border: 1px solid #dbe9ff;
  padding: 8px 12px;
  border-radius: 999px;
}

.product-titleblock h1{
  margin: 14px 0 10px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.product-lead{
  color: var(--dim);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 14px;
}

.product-points{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}
.product-points li{
  font-size: 13px;
  color: #0f172a;
  background: #f6f8fc;
  border: 1px solid #e7edf6;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.product-cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0b5ed7;
  color: #fff;
  border: 1px solid #0b5ed7;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  box-shadow: 0 12px 26px rgba(11,94,215,.18);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(11,94,215,.22);
}
.btn-ghost{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #e6edf5;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}
.btn-ghost:hover{
  border-color: #cfe0fb;
  background: #f7fbff;
}

.product-media-card{
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(2, 8, 23, 0.08);
}

.product-media-card .media-top{
  position: relative;
  background: #f3f6fb;
}

.product-media-card img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.media-caption{
  padding: 12px 14px;
  font-size: 13px;
  color: var(--dim);
  border-top: 1px solid #eef2f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.media-caption strong{
  color: var(--ink);
  font-weight: 800;
}

.product-sections{
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.info-card{
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 36px rgba(2, 8, 23, 0.06);
}
.info-card h3{
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ink);
}
.info-card p{
  margin: 0;
  color: var(--dim);
  line-height: 1.7;
  font-size: 14px;
}

.divider-line{
  margin: 22px 0 0;
  height: 1px;
  background: #e9eff8;
}

.quote-modal{
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 2000;
}
.quote-modal.open{ display: flex; }

.quote-box{
  width: min(680px, 100%);
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e6edf5;
  box-shadow: 0 30px 90px rgba(2, 8, 23, 0.22);
  overflow: hidden;
}
.quote-head{
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eef2f8;
}
.quote-head strong{ font-size: 16px; color: var(--ink); }
.quote-close{
  border: 1px solid #e6edf5;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 800;
}
.quote-body{
  padding: 16px;
  color: var(--dim);
  line-height: 1.75;
  font-size: 14px;
}
.quote-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.quote-item{
  background: #f7f9fd;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  padding: 12px;
}
.quote-item b{
  display:block;
  color: var(--ink);
  margin-bottom: 4px;
}

@media (max-width: 980px){
  .product-hero-pro{
    grid-template-columns: 1fr;
  }
  .product-media-card img{
    height: 320px;
  }
  .product-sections{
    grid-template-columns: 1fr;
  }
  .quote-grid{
    grid-template-columns: 1fr;
  }
}
.clients-track{
  align-items: center;
}

.client{
  min-width: 240px;              
  display: flex;
  align-items: center;           
  justify-content: center;
  gap: 12px;
  text-align: left;
}

.client img{
  height: 34px;
  width: auto;
  object-fit: contain;
  margin: 0;                     
  flex: 0 0 auto;
}

.client span{
  margin: 0;                     
  display: inline-block;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.25;
  white-space: nowrap;           
}
/* Partnerships: premium logo wall panel */
.partners-panel{
  position: relative;
  border: 1px solid var(--ring);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  box-shadow: var(--shadow-soft);
}


.partners-inner{
  position: relative;
  padding: 18px;
}

.partner-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:28px;
justify-items:center;
}

@media (max-width: 980px){
  .partner-grid{ grid-template-columns: 1fr; }
}

.partner-tile{
  display:flex;
  align-items:center;
  gap: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(230,237,245,.95);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(2, 8, 23, .06);
  backdrop-filter: blur(6px);
}

.partner-logo{
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ring);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding: 10px;
  flex: 0 0 auto;
}

.partner-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-meta{
  min-width:0;
}

.partner-name{
  font-weight: 900;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.partner-desc{
  font-size: 13px;
  color: var(--dim);
  line-height: 1.3;
}

.partners-photo-section{
  position: relative;
  padding: 60px 20px;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 50px;

  background-image: url("../images/hospital-bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Dark + blur overlay for readability */
.partners-overlay{
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 45, 0.55);
  backdrop-filter: blur(6px);
  z-index: 1;
}

/* Keep content above overlay */
.partners-content{
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* Make heading white for contrast */
.partners-photo-section .h2,
.partners-photo-section .lead,
.partners-photo-section .kicker{
  color: #ffffff;
}

.partners-photo-section .kicker{
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
}

/* Partner grid */
.partner-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 980px){
  .partner-grid{
    grid-template-columns: 1fr;
  }
}

/* Glass cards */
.partner-tile{
  display: flex;
  align-items: center;
  gap: 16px;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);

  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.6);

  box-shadow: 0 20px 50px rgba(0,0,0,0.25);

  transition: transform .2s ease, box-shadow .2s ease;
}

.partner-tile:hover{
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

/* Logo styling */
.partner-logo{
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}

.partner-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Text */
.partner-name{
  font-weight: 800;
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 4px;
}

.partner-desc{
  font-size: 14px;
  color: #334155;
}

/* Responsive refinement */
@media (max-width: 980px){
  .partners-inner{ padding: 16px; }
  .partner-logo{ width: 66px; height: 66px; }
}

/* PURPOSE + VISION */
.about-purpose-vision{
  margin-top:28px;
}

.pv-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.pv-box{
  background:var(--surface);
  border:1px solid var(--ring);
  border-radius:18px;
  padding:18px;
  box-shadow:0 12px 26px rgba(15,23,42,.06);
}

.pv-box h3{
  font-size:16px;
  font-weight:1000;
  margin-bottom:10px;
  color:var(--ink);
}

.pv-list{
  padding-left:20px;
  margin:0;
}

.pv-list li{
  color:var(--ink);
  font-size:15px;
  line-height:1.8;
  margin-bottom:6px;
}

.pv-box p{
  color:var(--ink);
  font-size:15px;
  line-height:1.85;
  margin-bottom:12px;
}

.pv-box p:last-child{
  margin-bottom:0;
}

@media(max-width:980px){
  .pv-grid{
    grid-template-columns:1fr;
  }
}
/* =========================
   SUPPLIERS SECTION
========================= */

.suppliers-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:14px;
  margin-bottom:28px;
}

.partners-title{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 24px;
  border:2px solid rgba(255,255,255,.55);
  border-radius:14px;
  color:#fff;
  font-size:22px;
  font-weight:800;
  line-height:1;
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(4px);
}

.partners-photo-section .lead{
  color:rgba(255,255,255,.95);
  font-size:18px;
  line-height:1.5;
  max-width:760px;
  margin:0 auto;
}

.partner-grid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:18px;
  margin-top:26px;
  align-items:stretch;
}

.partner-tile{
  grid-column:span 2;
  width:100%;
  min-height:95px;
  padding:14px 18px;
  border-radius:18px;
}

/* first row */
.partner-grid .partner-tile:nth-child(1),
.partner-grid .partner-tile:nth-child(2),
.partner-grid .partner-tile:nth-child(3){
  grid-column:span 2;
}

/* second row centered */
.partner-grid .partner-tile:nth-child(4){
  grid-column:2 / span 2;
}

.partner-grid .partner-tile:nth-child(5){
  grid-column:4 / span 2;
}

/* smaller logo box */
.partner-logo{
  width:54px;
  height:54px;
  border-radius:14px;
}

.partner-logo img{
  max-width:36px;
  max-height:36px;
}

/* text */
.partner-name{
  font-size:18px;
}

.partner-desc{
  font-size:14px;
}

@media (max-width: 980px){
  .partner-grid{
    grid-template-columns:1fr;
  }

  .partner-grid .partner-tile,
  .partner-grid .partner-tile:nth-child(1),
  .partner-grid .partner-tile:nth-child(2),
  .partner-grid .partner-tile:nth-child(3),
  .partner-grid .partner-tile:nth-child(4),
  .partner-grid .partner-tile:nth-child(5){
    grid-column:auto;
  }

  .partners-title{
    font-size:22px;
    padding:10px 18px;
  }

  .partners-photo-section .lead{
    font-size:16px;
  }
}