/* ===== Base ===== */
html,body{margin:0;padding:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial;color:#07102a;background:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;height:auto;display:block;}
.wrap { max-width:1150px;margin:0 auto;padding:0 24px;box-sizing:border-box; }

/* ===== Responsive breakpoint (kept consistent at 880px) ===== */
@media (max-width:880px) {
  .wrap { padding:0 12px; max-width:760px; margin-left:auto; margin-right:auto; }
  section .wrap, header .container, footer > div { text-align:center; display:block; }

  /* header nav */
  nav.primary ul { display:none !important; }
  .actions .btn-primary { display:none; }

  /* hero */
  .hero-inner { grid-template-columns: 1fr !important; gap:18px; padding: 12px !important; }
  .hero-left { padding-top:6px; padding-bottom:6px; text-align:center; }
  .hero-left h1 { font-size:26px !important; line-height:1.08 !important; margin-bottom:10px !important; }
  .hero-left p { font-size:15px !important; margin-bottom:12px !important; max-width: 100%; margin-left:auto; margin-right:auto; }
  .hero-center { display:none !important; }
  .video-frame, .video-card { max-width:100%; margin:0 auto; }
  .hero-left .cta-primary, .hero-left .cta-secondary {
    width:auto !important; padding:10px 12px !important; font-size:14px !important; display:block; margin:6px auto;
  }
  .hero-left .cta-secondary { display:none !important; }
  .hero-left .cta-primary svg { width:16px; height:16px; }
  .pill { font-size:13px; padding:8px 12px; margin:6px auto; display:inline-block; }
  .play-btn { width:44px; height:44px; }

  /* courses */
  #courses .grid { grid-template-columns:1fr !important; justify-items:center; gap:16px; }
  #courses .card { max-width:720px; margin-left:auto; margin-right:auto; text-align:center; }
  #courses .card .card-footer { flex-direction:column; gap:8px; align-items:center; justify-content:center; }
  #courses .card .cta { padding:8px 12px !important; font-size:13px !important; width:auto !important; }

  /* tutor */
  #tutor .bio h3 { flex-direction:column; align-items:center; gap:8px; text-align:center; }
  #tutor .design-line { order:2; width:80px; height:6px; margin:4px auto 8px; }
  #tutor .bio { text-align:center; }
  #tutor .socials { justify-content:center; margin-top:12px; }
  #tutor .photo { width:160px; height:160px; min-width:0; margin:0 auto; }

  /* about/contact/faq */
  #about .grid { grid-template-columns:1fr !important; text-align:center; gap:18px; }
  #about .benefits { margin-left:auto; margin-right:auto; max-width:520px; }
  #contact .grid { grid-template-columns:1fr !important; gap:16px; text-align:center; }
  #contact .info { margin-left:auto; margin-right:auto; max-width:520px; }
  #contact .form-row { flex-direction:column; }
  #faq .columns { grid-template-columns:1fr !important; gap:14px; }
  #faq .faq-item { margin:0 auto; text-align:left; }

  /* footer */
  footer { padding:28px 12px !important; }
  footer > div > div:last-child {
    display:flex !important;
    gap:18px !important;
    justify-content:center !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
  }
  footer a { display:inline-block; margin:0 6px; white-space:nowrap; font-size:16px; }
  footer span { display:none; }
}

/* small helper */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* ================= Header styles (moved from inline <style>) ================= */
:root{
  --brand-start: #16a34a;
  --brand-end:   #34d399;
  --brand-dark:  #0f172a;
  --muted:       #64748b;
  --glass:       rgba(255,255,255,0.88);
  --shadow-strong: rgba(16,185,129,0.14);
  --shadow-soft: rgba(2,6,23,0.06);
}

/* Global header curve (applies to all viewports) */
#site-header{
  border-bottom-left-radius:28px;
  border-bottom-right-radius:28px;
  overflow:visible; /* show the curve */
  box-shadow: 0 6px 26px rgba(2,6,23,0.03);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: box-shadow .18s ease, transform .18s ease;
}

/* stronger visual lift on desktop so curve reads clearly */
@media (min-width:881px){
  #site-header{ box-shadow: 0 10px 34px rgba(2,6,23,0.06); }
  /* small extra bottom padding for desktop */
  #site-header .container { padding-bottom:24px; }
}

/* When we fix header on mobile we add this class via JS */
#site-header.fixed-mobile{
  position:fixed !important;
  top:0 !important;
  left:0;
  right:0;
  z-index:120005 !important;
  box-shadow: 0 12px 36px rgba(2,6,23,0.12);
}

#site-header *{box-sizing:border-box;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial;}
#site-header a{transition:all .18s cubic-bezier(.2,.9,.3,1);text-decoration:none;-webkit-tap-highlight-color:transparent;}
#site-header .container{max-width:1100px;margin:0 auto;padding:18px 20px 18px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;position:relative;}
@media (min-width:881px){
  #site-header .container{padding-bottom:24px;}
}
@media (max-width:880px){
  #site-header .container{padding-bottom:18px;}
  /* ensure fixed header sits above mobile overlay & panel */
  #site-header.fixed-mobile{z-index:120005;}
}

.logo{display:flex;align-items:center;gap:12px;min-width:0;}
.logo img{height:52px;width:auto;display:block;border-radius:10px;box-shadow:0 6px 22px var(--shadow-soft);}
nav.primary ul{display:flex;gap:18px;align-items:center;list-style:none;margin:0;padding:0;}
nav.primary a{font-size:15px;color:var(--muted);padding:8px 6px;border-radius:8px;position:relative;display:inline-block;}
nav.primary a::after{content:"";position:absolute;left:12%;right:12%;height:3px;background:linear-gradient(90deg,var(--brand-start),var(--brand-end));bottom:-9px;border-radius:4px;transform:scaleX(0);transform-origin:left center;transition:transform .22s cubic-bezier(.2,.9,.3,1),opacity .18s;}
nav.primary a:hover::after, nav.primary a:focus::after, nav.primary a.active::after{transform:scaleX(1);opacity:1;}
nav.primary a:hover, nav.primary a:focus{color:var(--brand-dark);outline:none;box-shadow:0 6px 16px var(--shadow-soft) inset;}
nav.primary a.active{color:var(--brand-dark);font-weight:600;}
.actions{display:flex;gap:12px;align-items:center;min-width:0;}
.btn{padding:10px 14px;border-radius:12px;font-weight:700;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transform:translateZ(0);}
.btn-primary{
  background:linear-gradient(90deg,var(--brand-start),var(--brand-end));
  color:#fff;
  box-shadow:0 10px 30px var(--shadow-strong), 0 2px 6px var(--shadow-soft);
  border:1px solid rgba(255,255,255,0.06);
}
.btn-primary:hover{transform:translateY(-3px) scale(1.01);box-shadow:0 18px 40px rgba(16,185,129,0.18);filter:brightness(1.02);}
.btn-ghost{
  background:transparent;color:var(--brand-start);border:1px solid rgba(16,185,129,0.14);font-weight:700;border-radius:10px;padding:9px 12px;
}
.btn-ghost:hover{background:linear-gradient(90deg, rgba(22,163,74,0.06), rgba(52,211,153,0.04));box-shadow:0 8px 20px rgba(16,185,129,0.06);transform:translateY(-2px);}

.mobile-toggle{display:none;background:transparent;border:0;padding:8px;border-radius:8px;font-size:20px;cursor:pointer;}
.hamburger{width:26px;height:18px;position:relative;display:inline-block}
.hamburger span{position:absolute;left:0;right:0;height:2.5px;background:var(--brand-dark);border-radius:3px;transition: transform .22s cubic-bezier(.2,.9,.3,1), opacity .18s ease, top .22s;}
.hamburger span.s1{top:0;}
.hamburger span.s2{top:7.75px;}
.hamburger span.s3{top:15.5px;}
.hamburger.open span.s1{transform:translateY(7.75px) rotate(45deg);}
.hamburger.open span.s2{opacity:0;}
.hamburger.open span.s3{transform:translateY(-7.75px) rotate(-45deg);}

@media (max-width:880px){
  nav.primary ul{display:none;}
  .mobile-toggle{display:inline-flex;}
  .actions .btn-primary{display:none;}
}

/* ================= Hero styles (moved) ================= */
.hero-inner { max-width:1150px; margin:0 auto; padding:0 28px; display:grid; grid-template-columns:1fr 520px; gap:36px; align-items:center; }
.hero-left h1 { font-size:48px; line-height:1.03; margin:0 0 16px; color:#07102a; font-weight:800; }
.hero-left p { color:#5f6771; margin:0 0 26px; font-size:18px; max-width:68ch; }
.cta-primary { background: linear-gradient(180deg,#43a047,#2e7d32); color:#fff; padding:14px 20px; border-radius:14px; text-decoration:none; font-weight:800; display:inline-flex; align-items:center; gap:12px; box-shadow:0 18px 46px rgba(46,125,50,0.12); transition: transform .18s ease, box-shadow .18s ease, opacity .12s ease; font-size:16px; border:0; }
.cta-secondary { background: #fff; color:#0b1220; padding:12px 18px; border-radius:14px; text-decoration:none; font-weight:700; display:inline-flex; align-items:center; gap:10px; border:1px solid rgba(11,61,145,0.06); box-shadow:0 8px 20px rgba(11,61,145,0.03); transition: transform .16s ease, box-shadow .16s ease, background .16s ease; font-size:15px; }
.pill { padding:10px 16px; border-radius:999px; font-size:14px; font-weight:700; color:#14592a; background: linear-gradient(180deg,#ffffff,#f6fff6); border: 1px solid rgba(46,125,50,0.06); box-shadow:0 10px 30px rgba(46,125,50,0.04); }
.video-frame { border-radius:20px; padding:12px; background: linear-gradient(180deg, rgba(120,210,140,0.12), rgba(46,125,50,0.06)); display:block; }
.video-card { background:#F1F8E9; border-radius:14px; overflow:hidden; border:1px solid rgba(46,125,50,0.06); transition: box-shadow .22s ease, transform .18s ease, border-color .18s ease; box-shadow: 0 18px 36px rgba(46,125,50,0.07); padding:20px; }
.video-frame:hover .video-card { box-shadow: 0 42px 110px rgba(46,125,50,0.18); transform: translateY(-6px); border-color: rgba(46,125,50,0.14); }
.video-thumb { display:block; width:100%; height:auto; object-fit:cover; border-radius:10px; }
.play-btn { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:48px; height:48px; border-radius:999px; background:linear-gradient(180deg,rgba(11,122,59,0.98),rgba(46,125,50,0.98)); display:flex; align-items:center; justify-content:center; box-shadow:0 18px 48px rgba(46,125,50,0.16); transition: transform .15s ease, box-shadow .15s ease; z-index:3; cursor:pointer; }
.play-btn:hover { transform:translate(-50%,-50%) scale(1.12); box-shadow:0 34px 90px rgba(46,125,50,0.26); }
@media (max-width:1100px){ .hero-inner { grid-template-columns: 1fr 420px; gap:28px; padding:0 20px; } .hero-left h1 { font-size:44px; } }
@media (max-width:880px){ .hero-inner { grid-template-columns: 1fr; gap:20px; padding:0 16px; } }

/* gradient text helper used in index.html */
.hero-gradient-text {
  background:linear-gradient(90deg,#43a047 0%, #2e7d32 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ================= Courses styles ================= */
#courses .wrap { max-width:1150px;margin:0 auto;padding:0 24px;box-sizing:border-box; }
#courses .title { text-align:center; margin-bottom:18px; }
#courses h2 { font-size:30px; margin:0; color:#07102a; font-weight:800; letter-spacing:-0.2px; }
#courses .underline { width:120px; height:6px; margin:12px auto 0; border-radius:999px; background:linear-gradient(90deg,#7bd389 0%,#2e7d32 100%); box-shadow:0 8px 22px rgba(46,125,50,0.10); }
#courses p.lead { text-align:center; color:#5f6771; margin:12px 0 28px; font-size:15px; }
#courses .grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; align-items:start; }
@media (max-width:1000px){ #courses .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:640px){ #courses .grid { grid-template-columns: 1fr; } }
#courses .card { background:linear-gradient(180deg,#ffffff,#fbfff8); border-radius:14px; padding:20px; border:1px solid rgba(11,61,145,0.04); box-shadow: 0 18px 48px rgba(11,61,145,0.06); display:flex; flex-direction:column; min-height:260px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
#courses .card:focus-within, #courses .card:hover { transform: translateY(-8px); box-shadow: 0 48px 130px rgba(11,61,145,0.09); border-color: rgba(46,125,50,0.10); outline:none; }
#courses .card h3 { margin:0 0 10px; font-size:20px; color:#07311b; font-weight:800; }
#courses .card p { margin:0 0 12px; color:#5f6771; font-size:15px; }
#courses .card ul { margin:8px 0 14px; padding-left:18px; color:#6b7280; font-size:15px; line-height:1.6; text-align:left; display:block; }
#courses .card .card-footer { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:12px; }
#courses .badge { font-size:12px; padding:6px 10px; border-radius:999px; font-weight:700; color:#14592a; background:linear-gradient(180deg,#f3fff5,#ecf8ef); border:1px solid rgba(46,125,50,0.06); box-shadow:0 6px 18px rgba(46,125,50,0.04); white-space:nowrap; }
#courses .card .cta { display:inline-flex; align-items:center; gap:10px; background:linear-gradient(180deg,#43a047,#2e7d32); color:#fff; padding:12px 16px; border-radius:12px; text-decoration:none; font-weight:700; box-shadow:0 12px 36px rgba(46,125,50,0.10); transition: transform .16s ease, box-shadow .16s ease; font-size:14px; }
#courses .card .cta:hover, #courses .card .cta:focus { transform: translateY(-4px); box-shadow:0 30px 80px rgba(46,125,50,0.18); outline:none; }
#courses { font-size:15px; color:#0b1220; }

/* ================= Tutor styles ================= */
#tutor .wrap { max-width:1150px; margin:0 auto; padding:0 24px; box-sizing:border-box; }
#tutor .card { display:flex; gap:28px; align-items:center; background:linear-gradient(180deg,#ffffff,#fafff7); border-radius:16px; padding:26px; border:1px solid rgba(46,125,50,0.06); box-shadow:0 26px 80px rgba(11,61,145,0.05); }
#tutor .photo { width:220px; height:220px; min-width:220px; border-radius:16px; overflow:hidden; border:1px solid rgba(46,125,50,0.09); box-shadow:0 22px 60px rgba(46,125,50,0.10); transition: transform .18s ease, box-shadow .18s ease; }
#tutor .photo:hover { transform: translateY(-6px); box-shadow:0 50px 120px rgba(46,125,50,0.18); }
#tutor .photo img { width:100%; height:100%; object-fit:cover; display:block; }
#tutor .bio { flex:1; min-width:0; }
#tutor .bio h3 { margin:0 0 4px; font-size:24px; font-weight:800; color:#07102a; display:flex; align-items:center; gap:14px; }
#tutor .design-line { width:60px; height:4px; border-radius:10px; background:linear-gradient(90deg,#7bd389 0%,#2e7d32 100%); box-shadow:0 8px 20px rgba(46,125,50,0.12); }
#tutor p { margin:10px 0; color:#5f6771; font-size:15px; line-height:1.6; }
#tutor em { color:#6b7280; font-style:italic; display:block; margin-top:6px; }
#tutor .socials { display:flex; gap:12px; margin-top:14px; align-items:center; }
#tutor .socials a { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:12px; padding:6px; background:#ffffff; border:1px solid rgba(11,61,145,0.06); box-shadow:0 12px 34px rgba(11,61,145,0.06); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
#tutor .socials a:hover, #tutor .socials a:focus { transform: translateY(-6px); border-color:rgba(46,125,50,0.20); box-shadow:0 42px 110px rgba(46,125,50,0.22); outline:none; }
#tutor .socials img { width:100%; height:100%; object-fit:contain; border-radius:6px; }
#tutor .heading-line { width:140px; height:6px; margin:10px auto 30px; border-radius:10px; background:linear-gradient(90deg,#7bd389,#2e7d32); box-shadow:0 10px 26px rgba(46,125,50,0.20); }
@media (max-width:880px){
  #tutor .card { flex-direction:column; align-items:center; text-align:center; gap:16px; }
  #tutor .photo { width:170px; height:170px; min-width:170px; }
}

/* ================= About styles ================= */
#about .wrap { max-width:1150px; margin:0 auto; padding:0 24px; box-sizing:border-box; }
#about .heading { text-align:center; margin-bottom:22px; }
#about h2 { font-size:30px; margin:0; color:#07102a; font-weight:800; letter-spacing:-0.2px; }
#about .heading .underline { width:140px; height:6px; margin:12px auto 0; border-radius:999px; background:linear-gradient(90deg,#7bd389,#2e7d32); box-shadow:0 10px 26px rgba(46,125,50,0.18); }
#about .grid { display:grid; grid-template-columns: 1fr 420px; gap:28px; align-items:start; }
@media (max-width:980px){ #about .grid { grid-template-columns: 1fr; } }
#about .card { background: linear-gradient(180deg,#ffffff,#fbfff8); border-radius:16px; padding:28px; border:1px solid rgba(11,61,145,0.04); box-shadow:0 24px 70px rgba(11,61,145,0.05); font-size:16px; color:#1a2330; line-height:1.75; }
#about .card strong { color:#0b2f17; font-weight:800; }
#about .benefits { border-radius:14px; padding:18px; background:linear-gradient(180deg,#f7fff8,#f1fbf6); border:1px solid rgba(46,125,50,0.06); box-shadow:0 18px 48px rgba(46,125,50,0.06); display:flex; flex-direction:column; gap:12px; justify-content:flex-start; }
#about .benefits h4 { margin:0;font-size:16px;color:#07311b;font-weight:800; }
#about .benefits .item { display:flex; gap:12px; align-items:flex-start; padding:10px; border-radius:10px; background:linear-gradient(180deg,#ffffff,#f7fff3); border:1px solid rgba(11,61,145,0.03); box-shadow:0 8px 28px rgba(11,61,145,0.03); }
#about .item .dot { width:12px; height:12px; border-radius:999px; background:linear-gradient(180deg,#7bd389,#2e7d32); margin-top:6px; flex:0 0 auto; box-shadow:0 6px 18px rgba(46,125,50,0.12); }
#about .item .text { font-size:15px; color:#425159; line-height:1.45; }
#about .svg-deco { position:absolute; right:8px; top:-40px; opacity:0.08; pointer-events:none; }

/* ================= Contact styles ================= */
#contact .wrap { max-width:1150px; margin:0 auto; padding:0 24px; box-sizing:border-box; }
#contact .heading { text-align:center; margin-bottom:18px; }
#contact h2 { font-size:30px; margin:0; color:#07102a; font-weight:800; letter-spacing:-0.2px; }
#contact .underline { width:140px; height:6px; margin:12px auto 0; border-radius:999px; background:linear-gradient(90deg,#7bd389 0%,#2e7d32 100%); box-shadow:0 8px 26px rgba(46,125,50,0.12); }
#contact .grid { display:grid; grid-template-columns: 1fr 360px; gap:30px; align-items:start; margin-top:22px; }
@media (max-width:980px){ #contact .grid { grid-template-columns: 1fr; } }
#contact .card { background:linear-gradient(180deg,#ffffff,#f7fff7); border-radius:16px; padding:24px; border:1px solid rgba(46,125,50,0.06); box-shadow:0 28px 80px rgba(11,61,145,0.04); }
#contact .field { display:block; width:100%; padding:14px 14px; border-radius:10px; border:1px solid rgba(11,61,145,0.08); font-size:15px; color:#0b1220; background:#fff; box-sizing:border-box; transition: box-shadow .12s ease, transform .08s ease, border-color .12s ease; }
#contact .field:focus { outline:none; border-color:rgba(46,125,50,0.26); box-shadow:0 8px 36px rgba(46,125,50,0.08); transform:translateY(-1px); }
#contact textarea.field { min-height:140px; resize:vertical; }
#contact .form-row { display:flex; gap:12px; }
@media (max-width:680px){ #contact .form-row { flex-direction:column; } }
#contact .submit { background:linear-gradient(180deg,#43a047,#2e7d32); color:#fff; padding:12px 18px; border-radius:12px; border:0; font-weight:800; font-size:15px; cursor:pointer; box-shadow:0 14px 44px rgba(46,125,50,0.12); transition: transform .16s ease, box-shadow .16s ease, opacity .12s ease; }
#contact .submit:hover, #contact .submit:focus { transform:translateY(-4px); box-shadow:0 36px 96px rgba(46,125,50,0.20); outline:none; }
#contact .info { background:linear-gradient(180deg,#f8fff9,#effbf2); border-radius:14px; padding:20px; border:1px solid rgba(46,125,50,0.06); box-shadow:0 18px 48px rgba(46,125,50,0.06); font-size:15px; color:#12323a; line-height:1.6; }
#contact .info h4 { margin:0 0 8px; font-size:16px; color:#07311b; font-weight:800; }
#contact .info p { margin:0 0 10px; color:#415458; }
#contact #form-msg { margin-top:10px; font-size:14px; color:#425159; min-height:20px; }

/* ================= FAQ styles ================= */
#faq .wrap { max-width:1150px; margin:0 auto; padding:0 24px; }
#faq .heading { text-align:center; margin-bottom:24px; }
#faq h2 { font-size:30px; margin:0; font-weight:800; color:#07102a; }
#faq .underline { width:120px;height:6px;margin:12px auto 0;border-radius:999px;background:linear-gradient(90deg,#7bd389,#2e7d32);box-shadow:0 8px 22px rgba(46,125,50,0.10); }
#faq .columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:30px; }
@media (max-width:900px){ #faq .columns { grid-template-columns:1fr; } }
#faq .faq-item { background:linear-gradient(180deg,#ffffff,#fbfff8); border:1px solid rgba(11,61,145,0.04); border-radius:14px; box-shadow:0 14px 40px rgba(11,61,145,0.04); overflow:hidden; transition:0.25s ease; }
#faq .faq-item.open { box-shadow:0 46px 120px rgba(11,61,145,0.08); transform:translateY(-4px); }
#faq .faq-question { display:flex;align-items:center;justify-content:space-between; padding:18px;cursor:pointer; background:linear-gradient(180deg, rgba(241,248,233,0.5), transparent); }
#faq .faq-question h3 { margin:0;font-size:16px;font-weight:700;color:#07102a; }
#faq .faq-icon { width:42px;height:42px;border-radius:10px; display:flex;align-items:center;justify-content:center; border:1px solid #e1e1e1;background:#fff; transition:0.25s ease; }
#faq .faq-item.open .faq-icon { transform:rotate(45deg);background:#e8f7e9;border-color:#a6e3b8; }
#faq .faq-answer { max-height:0;overflow:hidden;padding:0 18px; font-size:15px;color:#54606a;line-height:1.65; transition:max-height .28s ease,padding .18s ease; }
#faq .faq-answer.open { padding:14px 18px 18px; }

/* ================= Mobile panel styles ================= */
.mobile-panel{
  display:none;
  position:fixed;
  left:12px;
  right:12px;
  top:72px; /* will be set by JS */
  background:rgba(255,255,255,0.98);
  box-shadow:0 18px 50px rgba(2,6,23,0.12);
  border-radius:12px;
  padding:12px;
  border:1px solid rgba(15,23,42,0.04);
  overflow:hidden;
  transition:transform .28s cubic-bezier(.2,.9,.3,1),opacity .22s ease;
  transform-origin:top center;
  z-index:120000;
  opacity:0;
  transform:translateY(-8px);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.mobile-panel.open{ display:block; opacity:1; transform:translateY(6px); }

/* make panel buttons fit safely */
.mobile-panel .btn{
  display:block;
  width:100%;
  box-sizing:border-box;
  padding:10px 12px;
  text-align:center;
  font-weight:700;
  border-radius:10px;
}
.mobile-panel .btn + .btn { margin-top:8px; }

.mobile-panel ul{display:flex;flex-direction:column;gap:8px;margin:0;padding:6px 6px; }
.mobile-panel a{padding:12px;border-radius:10px;color:#0f172a;font-weight:600;display:block;}
.mobile-panel a:hover{background:rgba(16,185,129,0.04);}
.mobile-overlay{ display:none; position:fixed; inset:0; background:rgba(2,6,23,0.36); z-index:119999; opacity:0; transition:opacity .18s ease; }
.mobile-overlay.open{ display:block; opacity:1; }
@media (min-width:881px){ .mobile-panel{ display:none !important; } .mobile-overlay{ display:none !important; } }

/* ================= Footer styles ================= */
footer {
  padding:48px 0;
  background:linear-gradient(90deg,#edf8f1 0%, #e0f4e7 100%);
  color:#1f2e27;
  font-size:14px;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  border-top:1px solid rgba(0,0,0,0.05);
  position:relative;
}
.accent-line { width:100%;height:3px;background:linear-gradient(90deg,#8be19b,#2e7d32);box-shadow:0 4px 14px rgba(46,125,50,0.28);position:absolute;top:0;left:0; }
.footer-inner { max-width:1150px;margin:0 auto;text-align:center;padding:0 20px; }
.copyright { margin-bottom:12px;font-size:15px;color:#1a2a20;font-weight:600; }
.footer-links { display:flex;gap:26px;justify-content:center;margin-top:12px;font-size:18px;font-weight:600;flex-wrap:wrap; }
.footer-link { color:#2f493b;text-decoration:none;transition:0.25s; }
.footer-link:hover { color:#1d7c3b; }
.dot { color:#7f8d85; }
