/* ===== DailyGoal Theme (Teal + Orange) ===== */
:root{
  --bg:#0f5e67;
  --bg-alt:#0d3941;
  --accent:#ff6a00;
  --accent-2:#ffa34d;
  --text:#0d2c34;
  --text-dark:#0d2c34;   /* added */
  --text-light:#5c747c;  /* added */
  --muted:#5c747c;
  --white:#fff;
  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.12);
  --header-h:68px;       /* added */
}






*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  line-height:1.6;
  background:#f6f8f9;
}
img{max-width:100%;display:block}
.container{width:min(1100px,92%);margin-inline:auto}







/* ===== Header / Menu (Sticky + Mobile) ===== */
.site-header{
  position:sticky; top:0; z-index:10000;     /* raised z-index */
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #edf1f3;


}






.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:var(--header-h)}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:inherit;font-weight:800}
.brand img{width:34px;height:34px}

/* menu base */
.menu{display:flex;gap:.4rem;align-items:center}
.menu a{padding:.55rem .9rem;border-radius:999px;text-decoration:none;color:#12222b}
.menu a:hover{background:#eef1f3}

/* action buttons */
.btn{border:2px solid var(--accent);padding:.55rem 1rem;border-radius:999px;font-weight:700;text-decoration:none;display:inline-block}
.btn--solid{background:var(--accent);color:var(--white);border-color:var(--accent)}
.btn--solid:hover{filter:brightness(1.05)}
.btn--ghost{color:var(--accent)}
.menu--inline .btn{margin-left:.5rem}




/* mobile toggle */
.nav-toggle{position:absolute;left:-9999px;opacity:0}   /* hide safely */
.hamburger{display:none;width:40px;height:36px;cursor:pointer;position:relative;z-index:10002}
.hamburger span{display:block;height:3px;background:#12222b;margin:7px 0;border-radius:3px}






/* ===== Hero ===== */
.hero{
  position:relative; z-index:1;                 /* keeps below menu */
  color:var(--white); background:var(--bg);
  min-height:520px; display:grid; place-items:center; overflow:hidden;
}
.hero-media{position:absolute;inset:0}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center right}
.hero-overlay{position:absolute;inset:0;background:
 linear-gradient(90deg, rgba(13,57,65,.88) 0%, rgba(13,57,65,.6) 40%, rgba(13,57,65,.25) 65%, rgba(0,0,0,0) 100%)}
.hero-content{position:relative;padding:4rem 0}
.hero h1{font-size:clamp(2.2rem,3vw + 1.4rem,3.5rem);line-height:1.1;margin:0 0 1rem}
.hero .lead{max-width:620px;margin-bottom:1.2rem}
.accent{color:var(--accent-2)}
.cta-row{display:flex;gap:.8rem;flex-wrap:wrap}






/* ===== Sections / Cards ===== */
.section{padding:64px 0}
.section.alt{background:#fff}
.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:24px}
.rounded{border-radius:var(--radius);box-shadow:var(--shadow)}
.icon{font-size:28px;width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#fff3ea;color:#b24c00;margin-bottom:.6rem}
.steps{margin:0;padding-left:1.2rem}
.link-arrow{color:var(--accent);font-weight:700;text-decoration:none}
.link-arrow::after{content:" →"}
.small{font-size:.9rem;color:var(--muted)}
.narrow{max-width:820px;margin-inline:auto}




/* ===== Footer ===== */
.site-footer{background:#0c171b;color:#ced7de;padding:28px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.footer-nav a{color:#ced7de;text-decoration:none;margin-right:1rem}
.footer-nav a:hover{color:#fff}

/* ===== Docs page tweaks ===== */
body.doc .site-header{position:static}
hr.spacer{border:none;height:1px;background:#edf1f3;margin:32px 0}







/* --- Fix: make header sticky on Privacy/Docs pages too --- */
body.doc .site-header{
  position: sticky;      /* আগে static ছিল */
  top: 0;
  z-index: 10000;
}

/* --- Fix: mobile drawer should always sit on top --- */
@media (max-width: 860px){
  .menu{
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background:#fff;
    padding:16px 20px 24px;
    display:flex; flex-direction:column; gap:8px;
    transform: translateY(-120%);
    transition: transform .25s ease;
    border-bottom:1px solid #eef1f3;
    box-shadow: 0 14px 28px rgba(0,0,0,.14);
    z-index: 100000;              /* অনেক বেশি, যেকোনো হিরোর ওপরেই থাকবে */
  }
  .nav-toggle:checked ~ .hamburger + .menu{ transform: translateY(0); }
  .hamburger{ z-index: 100001; }   /* বাটনটাও ওপরে */
}

/* (optional) ensure the hero can't cover the menu */
.privacy-hero{ position: relative; z-index: 0; }













/* ===== Responsive ===== */
@media (max-width:980px){
  .two-col{grid-template-columns:1fr;gap:22px}
  .grid-3{grid-template-columns:1fr}
}






@media (max-width:860px){
  .hamburger{display:block}
  /* mobile drawer */
  .menu{
    position:fixed; left:0; right:0; top:var(--header-h);
    background:#fff; padding:16px 20px 24px;
    display:flex; flex-direction:column; gap:8px;
    transform:translateY(-120%);
    transition:transform .25s ease;
    border-bottom:1px solid #eef1f3;
    box-shadow:0 14px 28px rgba(0,0,0,.14);
    z-index:10001;                   /* above hero */
  }
  .menu a{margin:0; padding:12px 6px}
  .nav-toggle:checked ~ .hamburger + .menu{transform:translateY(0)}
}

/* ====== About Page Hero ====== */
.about-hero{background:#fffefb;padding:80px 0}
.hero-flex{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px}
.hero-text h1{font-size:clamp(2rem,3vw + 1rem,3rem);color:var(--text-dark);margin-bottom:1rem}
.hero-text p{font-size:1.1rem;color:var(--text-light);margin-bottom:1.6rem;max-width:520px}
.hero-image img{width:100%;max-width:480px;height:auto}
@media (max-width:900px){
  .hero-flex{grid-template-columns:1fr;text-align:center}
  .hero-image{order:-1}
  .hero-text p{margin-inline:auto}
}

/* ===== Privacy Hero Section (Bright & Balanced) ===== */
.privacy-hero{
  position:relative;
  background:url("assets/privacy-banner.jpg") center/contain no-repeat;
  background-color:#fffef8;
  color:#0f5e67;
  text-align:center;
  padding:100px 60px;
  display:flex; align-items:center; justify-content:center;
  gap:40px; flex-wrap:wrap; overflow:hidden;
}
.privacy-hero::after{content:none}
.privacy-hero-content{position:relative;z-index:2;max-width:520px;margin:0 auto}
.privacy-hero h1{
  font-size:clamp(2.5rem,3vw + 1rem,3.2rem);
  font-weight:800; margin-bottom:.6rem; color:#0f5e67; line-height:1.2;
}
.privacy-hero p{
  font-size:1.15rem; color:#ff6a00; font-weight:500; opacity:1;
  margin:0 auto; max-width:600px;
}
@media (max-width:980px){
  .privacy-hero{flex-direction:column;padding:80px 30px;gap:20px;background-position:center bottom}
  .privacy-hero-content{text-align:center}
  .privacy-hero h1{font-size:2.2rem}
  .privacy-hero p{font-size:1rem}
}
