/* =========================================
   Logo Design Page (style.css) — Full CSS
   - Matches your Password page look
   - Hero + 4 boxes (phase style)
   - Separate gallery section below
========================================= */

/* ---- Reset & Base ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --primary: #207a43;
  --secondary: #0a804e;
  --light: #fefef9;
  --bg-soft: #f5fff7;
  --ink-1: #111;
  --ink-2: #333;
  --ink-3: #555;
  --border: #e7efe7;
  --shadow: 0 6px 14px rgba(0,0,0,.08);

  --content-width: 1100px;
  --tight-width: 960px;
  --card-pad: 16px;
}

/* Keep consistent with your site background */
html, body{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-1);
  background: #e9fbe9;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.ld-container{
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   HERO
========================================= */
.ld-hero{
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.ld-hero .ld-container{
  max-width: var(--tight-width);
  text-align: center;
  padding: 84px var(--card-pad) 34px;
}

.ld-title{
  font-size: 2.6rem;
  line-height: 1.18;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 14px;
}

.ld-subtitle{
  max-width: 880px;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.9;
  color: var(--ink-2);
}

.ld-subtitle--muted{
  margin-top: 10px;
  color: var(--ink-3);
}

/* =========================================
   BOXES (Phase-style)
========================================= */
.ld-sections{
  background: var(--light);
  padding: 0 0 56px;
}

.ld-section-title{
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-2);
  margin: 18px 0 18px;
}

.ld-box-grid{
  max-width: var(--tight-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
}

.ld-box{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
}

.ld-box-top{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.ld-badge{
  display: inline-flex;
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
  background: #eaf7ee;
  border: 1px solid #d8f0df;
  border-radius: 999px;
  padding: 4px 10px;
}

.ld-box h3{
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink-1);
}

.ld-mini-title{
  font-size: .92rem;
  font-weight: 800;
  color: var(--ink-1);
  margin: 4px 0 8px;
}

.ld-list{
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.ld-list li{
  position: relative;
  padding-left: 14px;
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.75;
}

.ld-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(32,122,67,.7);
}

.ld-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 6px;
}

.ld-note{
  margin-top: 10px;
  font-size: .92rem;
  color: var(--ink-3);
}

/* =========================================
   GALLERY SECTION (separate)
========================================= */
.ld-gallery{
  background: var(--bg-soft);
  padding: 46px 0 90px;
  border-top: 1px solid var(--border);
}

.ld-gallery-head{
  max-width: var(--tight-width);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--card-pad);
}

.ld-counter{
  font-size: .9rem;
  color: var(--ink-3);
}

.ld-gallery-card{
  max-width: var(--tight-width);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px;
  position: relative;
}

.ld-slide{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #fff;
}

/* nav buttons */
.ld-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  background: rgba(255,255,255,.9);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  color: var(--ink-2);
}

.ld-nav--prev{ left: 10px; }
.ld-nav--next{ right: 10px; }

.ld-nav:disabled{
  opacity: .35;
  cursor: not-allowed;
}

.ld-gallery-actions{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.ld-chip{
  border: 1px solid #e8e8e8;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
}

.ld-chip:hover{
  background: #f3fbf6;
  border-color: #d8f0df;
}

.ld-actions{
  text-align: center;
  margin-top: 18px;
}

/* You already have .btn in main CSS, but keep safe */
.btn{
  display: inline-block;
  padding: 12px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn:hover{ background: #3ca672; transform: translateY(-1px); }

/* =========================================
   Subtle animations
========================================= */
@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(12px); }
  to{ opacity: 1; transform: translateY(0); }
}
.ld-hero .ld-container,
.ld-box,
.ld-gallery-card{
  animation: fadeUp .55s ease both;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 992px){
  .ld-title{ font-size: 2.2rem; }
  .ld-subtitle{ font-size: 1.08rem; }
  .ld-box-grid{ grid-template-columns: 1fr; }
  .ld-split{ grid-template-columns: 1fr; }
}

@media (max-width: 600px){
  .ld-hero .ld-container{ padding: 68px var(--card-pad) 26px; }
  .ld-title{ font-size: 1.85rem; }
  .ld-subtitle{ font-size: 1.02rem; line-height: 1.85; }

  .ld-nav{ width: 34px; height: 34px; border-radius: 10px; }
}

/* Center badge + title inside each section box */
.ld-box-top{
  align-items: center;     /* horizontal centering */
  text-align: center;      /* center title text */
}

/* Keep badge size natural (not stretched) */
.ld-badge{
  align-self: center;      /* override flex-start */
}
