/* =========================================================
   HASIBBAY PORTFOLIO — style.css
   Table of contents:
   1. Tokens & Reset
   2. Base Typography
   3. Layout Utilities
   4. Background & Ambient Motion
   5. Preloader
   6. Header / Nav
   7. Buttons
   8. Hero
   9. About
   10. Skills
   11. Experience Timeline
   12. Education
   13. Projects
   14. Trading
   15. Services
   16. Statistics
   17. Testimonials
   18. Contact
   19. Footer
   20. Scroll Reveal / Animations
   21. Responsive
   ========================================================= */

/* ============ 1. TOKENS & RESET ============ */
:root{
  --bg:#0f172a;
  --card:#1e293b;
  --primary:#38bdf8;
  --accent:#06b6d4;
  --text:#ffffff;
  --muted:#94a3b8;

  --card-border:rgba(148,163,184,.12);
  --glass-bg:rgba(30,41,59,.55);
  --glass-border:rgba(148,163,184,.15);
  --gradient:linear-gradient(135deg,var(--primary),var(--accent));
  --shadow-soft:0 10px 30px -10px rgba(0,0,0,.45);
  --shadow-glow:0 0 40px -10px rgba(56,189,248,.35);

  --font-display:'Space Grotesk',system-ui,sans-serif;
  --font-body:'Inter',system-ui,sans-serif;
  --font-mono:'JetBrains Mono',monospace;

  --container:1180px;
  --radius-lg:24px;
  --radius-md:16px;
  --radius-sm:10px;
  --ease:cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font:inherit; cursor:pointer; border:none; background:none; color:inherit; }
input,textarea{ font:inherit; color:inherit; }

:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:3px;
  border-radius:4px;
}

/* ============ 2. TYPOGRAPHY ============ */
h1,h2,h3,h4{ font-family:var(--font-display); line-height:1.15; font-weight:600; }
h2{ font-size:clamp(1.8rem,3.5vw,2.6rem); }
h3{ font-size:1.2rem; }
p{ color:var(--muted); }

.text-gradient{
  background:var(--gradient);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.eyebrow{
  font-family:var(--font-mono);
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:.75rem;
  color:var(--primary);
  margin-bottom:.6rem;
}

/* ============ 3. LAYOUT ============ */
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ position:relative; padding:110px 0; }
.section--alt{ background:linear-gradient(180deg,transparent,rgba(30,41,59,.35),transparent); }
.section-head{ max-width:640px; margin-bottom:3.5rem; }
.section-sub{ margin-top:.6rem; color:var(--muted); }

.glass{
  background:var(--glass-bg);
  border:1px solid var(--glass-border);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
}

/* ============ 4. BACKGROUND / AMBIENT ============ */
.bg-ambient{ position:fixed; inset:0; z-index:-1; overflow:hidden; background:var(--bg); }
.bg-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(148,163,184,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(148,163,184,.06) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%,#000 40%,transparent 100%);
}
.bg-glow{
  position:absolute; width:520px; height:520px; border-radius:50%;
  filter:blur(120px); opacity:.28; animation:drift 18s ease-in-out infinite alternate;
}
.bg-glow--one{ background:var(--primary); top:-120px; left:-100px; }
.bg-glow--two{ background:var(--accent); bottom:-160px; right:-120px; animation-delay:-6s; }
@keyframes drift{ from{ transform:translate(0,0) scale(1);} to{ transform:translate(60px,40px) scale(1.15);} }

#ticker-canvas{ position:absolute; inset:0; width:100%; height:100%; opacity:.35; }

/* ============ 5. PRELOADER ============ */
#preloader{
  position:fixed; inset:0; z-index:9999;
  background:var(--bg);
  display:flex; align-items:center; justify-content:center; gap:.75rem; flex-direction:column;
  transition:opacity .6s var(--ease), visibility .6s var(--ease);
}
#preloader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.loader-ring{
  width:56px; height:56px; border-radius:50%;
  border:3px solid rgba(56,189,248,.15);
  border-top-color:var(--primary);
  animation:spin 1s linear infinite;
}
.loader-text{ font-family:var(--font-mono); letter-spacing:.2em; color:var(--muted); font-size:.8rem; }
@keyframes spin{ to{ transform:rotate(360deg); } }

/* ============ 6. HEADER / NAV ============ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:18px 0;
  transition:background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled{
  background:rgba(15,23,42,.75);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  padding:12px 0;
  box-shadow:0 8px 24px -12px rgba(0,0,0,.5);
  border-bottom:1px solid var(--card-border);
}
.navbar{ display:flex; align-items:center; justify-content:space-between; }
.brand{ font-family:var(--font-display); font-weight:700; font-size:1.3rem; letter-spacing:-.02em; }
.brand span{ color:var(--primary); }

.nav-menu{ display:flex; align-items:center; gap:2rem; }
.nav-link{
  font-size:.92rem; color:var(--muted); position:relative; transition:color .25s;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px;
  background:var(--gradient); transition:width .3s var(--ease);
}
.nav-link:hover{ color:var(--text); }
.nav-link:hover::after{ width:100%; }
.nav-cta{
  padding:.5rem 1.1rem; border-radius:999px; color:var(--text) !important;
  border:1px solid var(--glass-border); background:rgba(56,189,248,.08);
}
.nav-cta::after{ display:none; }

.nav-toggle{ display:none; flex-direction:column; gap:5px; width:32px; }
.nav-toggle span{ height:2px; width:100%; background:var(--text); border-radius:2px; transition:transform .3s,opacity .3s; }

.lang-toggle{
  display:flex; align-items:center; gap:.35rem; padding:.4rem .8rem; border-radius:999px;
  border:1px solid var(--glass-border); background:rgba(255,255,255,.02);
  font-family:var(--font-mono); font-size:.78rem; color:var(--muted);
  transition:border-color .3s, color .3s;
}
.lang-toggle:hover{ border-color:var(--primary); color:var(--text); }
.lang-toggle__opt{ transition:color .3s, font-weight .3s; }
.lang-toggle__sep{ opacity:.4; }
.lang-toggle[data-active-lang="en"] [data-lang-opt="en"],
.lang-toggle[data-active-lang="bn"] [data-lang-opt="bn"]{
  color:var(--primary); font-weight:700;
}

/* ============ 7. BUTTONS ============ */
.btn{
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; justify-content:center;
  padding:.85rem 1.8rem; border-radius:999px; font-weight:600; font-size:.92rem;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--sm{ padding:.55rem 1.2rem; font-size:.82rem; }
.btn--gradient{
  background:var(--gradient); color:#04121f;
  box-shadow:0 8px 24px -8px rgba(56,189,248,.55);
}
.btn--gradient:hover{ transform:translateY(-3px); box-shadow:0 14px 30px -8px rgba(56,189,248,.7); }
.btn--outline{
  border:1px solid var(--glass-border); color:var(--text); background:rgba(255,255,255,.02);
}
.btn--outline:hover{ transform:translateY(-3px); border-color:var(--primary); box-shadow:var(--shadow-glow); }
.full-width{ width:100%; }

.ripple{ }
.ripple .ripple-circle{
  position:absolute; border-radius:50%; transform:scale(0);
  background:rgba(255,255,255,.5); animation:ripple .6s ease-out;
  pointer-events:none;
}
@keyframes ripple{ to{ transform:scale(3); opacity:0; } }

/* ============ 8. HERO ============ */
.hero{
  min-height:100vh; display:flex; align-items:center; position:relative;
  padding-top:120px; padding-bottom:60px;
}
.hero__inner{
  display:grid; grid-template-columns:1.1fr .9fr; gap:3rem; align-items:center;
}
.hero__title{ font-size:clamp(2.4rem,5.5vw,4rem); margin:.4rem 0 .8rem; letter-spacing:-.02em; }
.hero__tagline{ font-family:var(--font-mono); font-size:1.1rem; color:var(--primary); min-height:1.6em; margin-bottom:1.2rem; }
.cursor{ animation:blink 1s step-end infinite; color:var(--primary); }
@keyframes blink{ 50%{ opacity:0; } }
.hero__desc{ max-width:520px; margin-bottom:2rem; font-size:1.02rem; }
.hero__actions{ display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:2.2rem; }

.hero__socials{ display:flex; gap:.9rem; }
.social-icon{
  width:42px; height:42px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; border:1px solid var(--glass-border); background:var(--glass-bg);
  transition:transform .3s var(--ease), color .3s, box-shadow .3s, border-color .3s;
}
.social-icon svg{ width:18px; height:18px; }
.social-icon:hover{ color:var(--primary); transform:translateY(-4px); border-color:var(--primary); box-shadow:var(--shadow-glow); }

.hero__visual{ display:flex; justify-content:center; }
.avatar-wrap{ position:relative; width:min(360px,80vw); aspect-ratio:1/1; }
.avatar-ring{
  position:absolute; inset:-16px; border-radius:50%;
  background:conic-gradient(from 0deg,var(--primary),var(--accent),transparent,var(--primary));
  animation:spin 6s linear infinite; opacity:.6; filter:blur(2px);
}
.avatar-img{
  position:relative; width:100%; height:100%; object-fit:cover; border-radius:50%;
  border:4px solid var(--bg); box-shadow:var(--shadow-soft);
}
.floating{ animation:float 5s ease-in-out infinite; }
@keyframes float{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-14px);} }

.chip{
  position:absolute; padding:.5rem .9rem; border-radius:999px; font-size:.78rem; font-weight:600;
  background:var(--glass-bg); border:1px solid var(--glass-border); backdrop-filter:blur(10px);
  box-shadow:var(--shadow-soft); animation:float 6s ease-in-out infinite;
}
.chip--one{ top:6%; left:-8%; animation-delay:-1s; }
.chip--two{ bottom:14%; right:-10%; color:var(--primary); animation-delay:-2.5s; }
.chip--three{ bottom:-4%; left:8%; animation-delay:-4s; }

.scroll-cue{
  position:absolute; bottom:26px; left:50%; transform:translateX(-50%);
  width:28px; height:44px; border:2px solid var(--glass-border); border-radius:20px;
  display:flex; justify-content:center; padding-top:8px;
}
.scroll-cue span{ width:4px; height:8px; background:var(--primary); border-radius:2px; animation:scrollcue 1.6s ease-in-out infinite; }
@keyframes scrollcue{ 0%{ opacity:1; transform:translateY(0);} 70%{ opacity:0; transform:translateY(12px);} 100%{ opacity:0;} }

/* ============ 9. ABOUT ============ */
.about__grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:3rem; align-items:start; }
.about__text p{ margin-bottom:1rem; }
.about__text strong{ color:var(--text); }
.about__tags{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.4rem; }
.about__tags li{
  padding:.45rem 1rem; border-radius:999px; font-size:.82rem;
  background:rgba(56,189,248,.08); border:1px solid var(--glass-border); color:var(--primary);
}
.about__card{ padding:1.8rem; }
.about__row{ display:flex; justify-content:space-between; gap:1rem; padding:.85rem 0; border-bottom:1px solid var(--card-border); font-size:.92rem; }
.about__row:last-child{ border-bottom:none; }
.about__row span{ color:var(--muted); }
.status-dot::before{ content:'●'; color:#22c55e; margin-right:.4rem; font-size:.7rem; }

/* ============ 10. SKILLS ============ */
.skills__grid{ display:grid; grid-template-columns:1fr 1fr; gap:2rem; }
.skills__col{ padding:2rem; }
.skills__col h3{ margin-bottom:1.4rem; color:var(--primary); }
.skill-bar{ margin-bottom:1.3rem; }
.skill-bar__top{ display:flex; justify-content:space-between; font-size:.88rem; margin-bottom:.5rem; }
.skill-bar__top em{ font-style:normal; color:var(--primary); font-family:var(--font-mono); }
.skill-bar__track{ height:8px; border-radius:999px; background:rgba(148,163,184,.15); overflow:hidden; }
.skill-bar__fill{
  height:100%; width:0%; border-radius:999px; background:var(--gradient);
  transition:width 1.4s var(--ease);
}

/* ============ 11. TIMELINE ============ */
.timeline{ position:relative; max-width:820px; margin:0 auto; }
.timeline::before{
  content:''; position:absolute; left:50%; top:0; bottom:0; width:2px;
  background:linear-gradient(180deg,transparent,var(--glass-border) 10%,var(--glass-border) 90%,transparent);
  transform:translateX(-50%);
}
.timeline__item{ position:relative; width:50%; padding:0 2.5rem 3rem; }
.timeline__item:nth-child(odd){ left:0; text-align:right; }
.timeline__item:nth-child(even){ left:50%; text-align:left; }
.timeline__dot{
  position:absolute; top:6px; width:14px; height:14px; border-radius:50%;
  background:var(--gradient); box-shadow:0 0 0 6px rgba(56,189,248,.12);
}
.timeline__item:nth-child(odd) .timeline__dot{ right:-7px; }
.timeline__item:nth-child(even) .timeline__dot{ left:-7px; }
.timeline__card{ padding:1.6rem; display:inline-block; text-align:left; }
.timeline__date{ font-family:var(--font-mono); font-size:.78rem; color:var(--primary); }
.timeline__card h3{ margin:.5rem 0; }

/* ============ 12. EDUCATION ============ */
.edu__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.edu__card{ padding:2rem; text-align:center; transition:transform .35s var(--ease), box-shadow .35s var(--ease); }
.edu__card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-glow); }
.edu__icon{ font-size:2rem; margin-bottom:.8rem; }
.edu__card h3{ margin-bottom:.5rem; }

/* ============ 13. PROJECTS ============ */
.projects__grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.8rem; }
.project-card{ overflow:hidden; transition:transform .4s var(--ease), box-shadow .4s var(--ease); }
.project-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-glow); }
.project-card__img{ overflow:hidden; aspect-ratio:16/10; }
.project-card__img img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.project-card:hover .project-card__img img{ transform:scale(1.06); }
.project-card__body{ padding:1.6rem; }
.project-card__body p{ margin:.6rem 0 1.2rem; font-size:.92rem; }
.project-card__actions{ display:flex; gap:.8rem; }

.github-projects{ margin-top:0; }
.github-projects__status{ grid-column:1 / -1; text-align:center; padding:2rem; font-family:var(--font-mono); font-size:.85rem; }
.gh-card .project-card__body{ padding-top:1.6rem; }
.gh-card__meta{ display:flex; gap:1rem; font-family:var(--font-mono); font-size:.78rem; color:var(--primary); margin-bottom:1.1rem; }

/* ============ 14. TRADING ============ */
.tv-widget{ padding:1.4rem; margin-bottom:2.4rem; }
.tv-widget__head{ display:flex; align-items:center; gap:.6rem; font-family:var(--font-mono); font-size:.85rem; color:var(--muted); margin-bottom:1rem; }
.tv-widget__dot{ width:8px; height:8px; border-radius:50%; background:#22c55e; box-shadow:0 0 0 4px rgba(34,197,94,.18); animation:pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot{ 0%,100%{ opacity:1; } 50%{ opacity:.4; } }
.tradingview-widget-container{ height:420px; border-radius:var(--radius-md); overflow:hidden; }
.tradingview-widget-container > div{ height:100%; }
.tv-widget__credit{ font-size:.75rem; margin-top:.7rem; text-align:right; }
.tv-widget__credit a{ color:var(--primary); }

.trading__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.trading__card{ padding:1.8rem; transition:transform .35s var(--ease), border-color .35s; }
.trading__card:hover{ transform:translateY(-6px); border-color:var(--primary); }
.trading__icon{ font-size:1.7rem; margin-bottom:.8rem; }
.trading__card h3{ margin-bottom:.5rem; font-size:1.05rem; }
.trading__card p{ font-size:.9rem; }

/* ============ 15. SERVICES ============ */
.services__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.service-card{ padding:2rem; text-align:center; transition:transform .35s var(--ease), box-shadow .35s var(--ease); }
.service-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-glow); }
.service-card__icon{
  width:56px; height:56px; margin:0 auto 1rem; border-radius:16px;
  display:flex; align-items:center; justify-content:center; font-size:1.4rem;
  background:rgba(56,189,248,.1); border:1px solid var(--glass-border);
}
.service-card h3{ margin-bottom:.5rem; }
.service-card p{ font-size:.9rem; }

/* ============ 16. STATISTICS ============ */
.stats{ padding:70px 0; }
.stats__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; text-align:center; }
.stat{ padding:2rem 1rem; border-radius:var(--radius-md); border:1px solid var(--card-border); background:var(--card); }
.stat__num{ font-family:var(--font-mono); font-size:clamp(2rem,4vw,2.8rem); font-weight:600; color:var(--primary); }
.stat__plus{ font-family:var(--font-mono); font-size:1.4rem; color:var(--accent); }
.stat p{ margin-top:.4rem; font-size:.88rem; }

/* ============ 17. TESTIMONIALS ============ */
.testimonials__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.testimonial-card{ padding:2rem; }
.testimonial-card__quote{ color:var(--text); font-size:.95rem; margin-bottom:1.4rem; line-height:1.7; }
.testimonial-card__author{ display:flex; align-items:center; gap:.8rem; }
.testimonial-card__avatar{
  width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--gradient); color:#04121f; font-weight:700; font-size:.85rem;
}
.testimonial-card__author strong{ display:block; font-size:.9rem; }
.testimonial-card__author span{ font-size:.78rem; color:var(--muted); }

/* ============ 18. CONTACT ============ */
.contact__grid{ display:grid; grid-template-columns:1.2fr .8fr; gap:2.2rem; }
.contact-form{ padding:2.2rem; }
.form-group{ margin-bottom:1.3rem; }
.form-group label{ display:block; font-size:.85rem; margin-bottom:.5rem; color:var(--muted); }
.form-group input,.form-group textarea{
  width:100%; padding:.85rem 1rem; border-radius:var(--radius-sm);
  background:rgba(255,255,255,.03); border:1px solid var(--glass-border); color:var(--text);
  transition:border-color .3s, box-shadow .3s;
  resize:vertical;
}
.form-group input:focus,.form-group textarea:focus{
  outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(56,189,248,.15);
}
.form-status{ margin-top:1rem; font-size:.85rem; color:var(--primary); min-height:1.2em; }

.contact__side{ display:flex; flex-direction:column; gap:1.6rem; }
.contact__info{ padding:1.8rem; display:flex; flex-direction:column; gap:1.3rem; }
.contact__row{ display:flex; gap:1rem; align-items:flex-start; }
.contact__icon{ font-size:1.3rem; }
.contact__row strong{ display:block; font-size:.9rem; margin-bottom:.15rem; }
.contact__row p{ font-size:.86rem; }
.map-placeholder{ overflow:hidden; flex:1; min-height:220px; }
.map-placeholder iframe{ width:100%; height:100%; min-height:220px; border:0; filter:grayscale(.3) invert(.92) contrast(.9); }

/* ============ 19. FOOTER ============ */
.site-footer{ border-top:1px solid var(--card-border); padding:2.4rem 0; }
.footer__inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.footer__copy{ font-size:.85rem; }
.footer__socials{ display:flex; gap:.9rem; }
.footer__socials a{
  width:38px; height:38px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; border:1px solid var(--glass-border); transition:color .3s,border-color .3s,transform .3s;
}
.footer__socials svg{ width:16px; height:16px; }
.footer__socials a:hover{ color:var(--primary); border-color:var(--primary); transform:translateY(-3px); }

.back-to-top{
  position:fixed; right:22px; bottom:22px; width:46px; height:46px; border-radius:50%;
  background:var(--gradient); color:#04121f; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px -8px rgba(56,189,248,.6);
  opacity:0; visibility:hidden; transform:translateY(12px);
  transition:opacity .3s, visibility .3s, transform .3s;
  z-index:900;
}
.back-to-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top svg{ width:20px; height:20px; }

/* ============ 20. SCROLL REVEAL ============ */
.reveal{ opacity:0; transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal[data-reveal="up"]{ transform:translateY(36px); }
.reveal[data-reveal="left"]{ transform:translateX(36px); }
.reveal[data-reveal="right"]{ transform:translateX(-36px); }
.reveal.is-visible{ opacity:1; transform:translate(0,0); }

/* ============ 21. RESPONSIVE ============ */
@media (max-width:1024px){
  .hero__inner{ grid-template-columns:1fr; text-align:center; }
  .hero__desc{ margin-inline:auto; }
  .hero__actions,.hero__socials{ justify-content:center; }
  .hero__visual{ order:-1; }
  .about__grid{ grid-template-columns:1fr; }
  .skills__grid{ grid-template-columns:1fr; }
  .edu__grid,.trading__grid,.services__grid,.testimonials__grid{ grid-template-columns:repeat(2,1fr); }
  .projects__grid{ grid-template-columns:1fr; }
  .contact__grid{ grid-template-columns:1fr; }
  .stats__grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:820px){
  .nav-menu{
    position:fixed; inset:0 0 0 auto; width:min(320px,80vw); height:100vh;
    background:rgba(15,23,42,.98); backdrop-filter:blur(20px);
    flex-direction:column; align-items:flex-start; justify-content:center; gap:1.6rem;
    padding:2rem; transform:translateX(100%); transition:transform .4s var(--ease);
    border-left:1px solid var(--card-border);
  }
  .nav-menu.is-open{ transform:translateX(0); }
  .nav-toggle{ display:flex; }
  .nav-toggle.is-active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2){ opacity:0; }
  .nav-toggle.is-active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
}

@media (max-width:640px){
  .section{ padding:80px 0; }
  .edu__grid,.trading__grid,.services__grid,.testimonials__grid{ grid-template-columns:1fr; }
  .stats__grid{ grid-template-columns:1fr 1fr; }
  .timeline::before{ left:14px; }
  .timeline__item,.timeline__item:nth-child(odd),.timeline__item:nth-child(even){
    width:100%; left:0; text-align:left; padding:0 0 2.4rem 2.6rem;
  }
  .timeline__item:nth-child(odd) .timeline__dot,.timeline__item:nth-child(even) .timeline__dot{ left:8px; right:auto; }
  .hero__actions{ flex-direction:column; align-items:stretch; }
}
