/* ===================================================
   ROBOGURU JAHIR — Light / Friendly Design Tokens
   ---------------------------------------------------
   Background   #FFFFFF
   Section alt  #FFF9F0   warm cream
   Ink          #1A1A1A
   Ink-soft     #6B7280
   Accent       #FF6B35   solder orange
   Accent-soft  #FFE4D6   pale orange (chips/blobs)
   Trace        #3D5A4C   deep green (tags)
   Line         #ECE7DC
=================================================== */

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

html{
  scroll-behavior:smooth;
}

body{
  background:#FFFFFF;
  color:#1A1A1A;
  font-family:'Inter',sans-serif;
  line-height:1.7;
  overflow-x:hidden;
}

::selection{
  background:#FF6B35;
  color:#fff;
}

h1,h2,h3{
  font-family:'Space Grotesk',sans-serif;
  letter-spacing:-.01em;
}

.mono{ font-family:'JetBrains Mono',monospace; }

a{ color:inherit; }
a:focus-visible, button:focus-visible{
  outline:2px solid #FF6B35;
  outline-offset:4px;
}

/* ===================== HEADER ===================== */

header{
  position:fixed;
  top:0; left:0; width:100%;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(14px);
  border-bottom:1px solid #ECE7DC;
  z-index:1000;
}

.navbar{
  max-width:1200px;
  margin:auto;
  padding:18px 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  font-family:'Space Grotesk',sans-serif;
  font-size:19px;
  font-weight:700;
  color:#1A1A1A;
}

.nav-links{
  display:flex;
  gap:32px;
}
.nav-links a{
  text-decoration:none;
  color:#4B5563;
  font-size:15px;
  font-weight:500;
  transition:color .25s;
}
.nav-links a:hover{ color:#FF6B35; }

.cta-btn{
  background:#FF6B35;
  color:#fff;
  padding:12px 22px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  transition:transform .25s, box-shadow .25s;
}
.cta-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(255,107,53,.3);
}

/* ===================== HERO ===================== */

.hero{
  max-width:1200px;
  margin:auto;
  padding:160px 24px 90px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:60px;
  align-items:center;
}

.hero-content{ min-width:0; }

.hero-greeting{
  font-size:20px;
  margin-bottom:14px;
}

.hero h1{
  font-size:52px;
  line-height:1.12;
  font-weight:700;
  margin-bottom:22px;
  color:#1A1A1A;
}
.hero h1 a{
  color:#FF6B35;
  text-decoration:underline;
  text-decoration-color:#FFD0B5;
  text-decoration-thickness:4px;
  text-underline-offset:4px;
}

.hero p{
  font-size:18px;
  color:#6B7280;
  max-width:540px;
  margin-bottom:34px;
}

.hero-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.btn-primary{
  background:#FF6B35;
  color:#fff;
  padding:15px 28px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  display:inline-block;
  transition:transform .25s, box-shadow .25s;
}
.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(255,107,53,.3);
}

.btn-secondary{
  border:1.5px solid #1A1A1A;
  color:#1A1A1A;
  padding:15px 28px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  display:inline-block;
  transition:.25s;
}
.btn-secondary:hover{
  background:#1A1A1A;
  color:#fff;
}

/* --- hero photo with soft blob backing --- */

.hero-photo{
  position:relative;
  display:flex;
  justify-content:center;
}

.hero-photo::before{
  content:"";
  position:absolute;
  width:108%;
  height:108%;
  background:#FFE4D6;
  border-radius:48% 52% 55% 45% / 52% 48% 52% 48%;
  z-index:0;
  top:-4%;
  left:-4%;
}

.hero-photo img{
  width:100%;
  max-width:380px;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:50%;
  position:relative;
  z-index:1;
  box-shadow:0 24px 50px rgba(0,0,0,.1);
}

.hero-tag{
  position:absolute;
  z-index:2;
  background:#fff;
  border:1px solid #ECE7DC;
  border-radius:14px;
  padding:10px 16px;
  font-size:13px;
  font-weight:600;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  gap:8px;
}
.hero-tag.tag-1{ top:6%; right:-4%; }
.hero-tag.tag-2{ bottom:8%; left:-8%; }
.hero-tag .dot{
  width:8px; height:8px;
  border-radius:50%;
  background:#3D5A4C;
  flex:none;
}

/* ===================== AS FEATURED / TRUST STRIP ===================== */

.trust-strip{
  max-width:1000px;
  margin:0 auto 90px;
  padding:0 24px;
  text-align:center;
}
.trust-strip span{
  display:block;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#9CA3AF;
  margin-bottom:18px;
}
.trust-pills{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}
.trust-pills div{
  background:#FFF9F0;
  border:1px solid #ECE7DC;
  border-radius:30px;
  padding:8px 18px;
  font-size:13px;
  font-weight:600;
  color:#4B5563;
}

/* ===================== SECTION SHARED ===================== */

.about{
  max-width:1000px;
  margin:auto;
  padding:80px 24px;
}

.eyebrow{
  font-size:13px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#FF6B35;
  display:block;
  margin-bottom:12px;
}

.section-title{
  font-size:36px;
  margin-bottom:18px;
  color:#1A1A1A;
  font-weight:700;
}
.section-sub{
  color:#6B7280;
  font-size:17px;
  max-width:560px;
  margin-bottom:44px;
}

.about-card{
  background:#FFF9F0;
  border:1px solid #ECE7DC;
  padding:40px;
  border-radius:20px;
}
.about-card p{
  font-size:17px;
  color:#4B5563;
}

/* ===================== TOPIC CARDS — "How Can I Help You?" ===================== */

.topics-section{
  max-width:1100px;
  margin:0 auto 100px;
  padding:0 24px;
  text-align:center;
}
.topics-section .section-title{ text-align:center; margin-bottom:10px; }
.topics-section .section-sub{ margin:0 auto 50px; text-align:center; }

.topics-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
  text-align:left;
}

.topic-card{
  background:#fff;
  border:1px solid #ECE7DC;
  border-radius:20px;
  padding:30px 26px;
  transition:transform .3s, box-shadow .3s, border-color .3s;
}
.topic-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.08);
  border-color:#FFD0B5;
}

.topic-icon{
  width:52px;
  height:52px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  margin-bottom:18px;
}
.topic-card:nth-child(1) .topic-icon{ background:#FFE4D6; }
.topic-card:nth-child(2) .topic-icon{ background:#E3EFE8; }
.topic-card:nth-child(3) .topic-icon{ background:#FFF1D6; }
.topic-card:nth-child(4) .topic-icon{ background:#E6E9F5; }

.topic-card h3{
  font-size:18px;
  margin-bottom:8px;
  color:#1A1A1A;
}
.topic-card p{
  font-size:14.5px;
  color:#6B7280;
  margin-bottom:16px;
}
.topic-card a{
  font-size:14px;
  font-weight:700;
  color:#FF6B35;
  text-decoration:none;
}
.topic-card a:hover{ text-decoration:underline; }

/* ===================== STATS ===================== */

.stats-section{
  max-width:1100px;
  margin:0 auto 100px;
  padding:0 24px;
}

.stats{
  display:flex;
  flex-wrap:wrap;
  background:#1A1A1A;
  border-radius:24px;
  overflow:hidden;
}

.stats .card{
  flex:1 1 19%;
  text-align:center;
  padding:38px 16px;
}

.stats .card h3{
  font-family:'Space Grotesk',sans-serif;
  font-size:34px;
  color:#FF8A5C;
  margin-bottom:8px;
  font-weight:700;
}
.stats .card p{
  color:#D1D5DB;
  font-size:13px;
  letter-spacing:.03em;
}

/* ===================== PROJECTS ===================== */

.projects-grid{
  max-width:1100px;
  margin:auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:175px;
  gap:18px;
}

.project-card{
  background:#FFF9F0;
  border:1px solid #ECE7DC;
  border-radius:20px;
  padding:26px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  transition:transform .3s, box-shadow .3s, border-color .3s;
}
.project-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.08);
  border-color:#FFD0B5;
}

.project-card:nth-child(1){ grid-column:span 2; grid-row:span 2; }
.project-card:nth-child(2){ grid-column:span 2; }
.project-card:nth-child(3){ grid-column:span 2; }
.project-card:nth-child(4){ grid-column:span 4; flex-direction:row; align-items:center; justify-content:space-between; }

.project-tag{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  color:#fff;
  background:#3D5A4C;
  padding:5px 12px;
  border-radius:20px;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:12px;
  width:fit-content;
}

.project-card h3{
  font-size:20px;
  color:#1A1A1A;
  margin-bottom:8px;
}
.project-card p{
  color:#6B7280;
  font-size:14.5px;
}

/* ===================== RESEARCH ===================== */

.research-list{
  max-width:850px;
  margin:auto;
  padding:0 24px;
}

.research-item{
  display:flex;
  gap:24px;
  padding:26px 0;
  border-bottom:1px solid #ECE7DC;
  align-items:flex-start;
}
.research-item:first-child{ border-top:1px solid #ECE7DC; }

.research-tag{
  font-size:11px;
  font-weight:700;
  color:#fff;
  background:#FF6B35;
  padding:6px 12px;
  border-radius:20px;
  height:fit-content;
  white-space:nowrap;
  letter-spacing:.04em;
}

.research-item h3{
  font-size:18px;
  color:#1A1A1A;
  margin-bottom:6px;
}
.research-item p{
  color:#6B7280;
  font-size:15px;
}

/* ===================== TRAINING — staged ladder ===================== */

.training-ladder{
  max-width:850px;
  margin:auto;
  padding:0 24px;
}

.training-step{
  display:flex;
  align-items:center;
  gap:24px;
  padding:24px 28px;
  background:#FFF9F0;
  border:1px solid #ECE7DC;
  border-radius:18px;
}
.training-step:not(:last-child){ margin-bottom:14px; }

.training-num{
  font-family:'Space Grotesk',sans-serif;
  font-size:20px;
  font-weight:700;
  color:#FF6B35;
  flex:0 0 44px;
}

.training-step h3{
  font-size:17px;
  color:#1A1A1A;
  margin-bottom:4px;
}
.training-step p{
  color:#6B7280;
  font-size:14.5px;
}

/* ===================== CONTACT ===================== */

#contact .about-card{ text-align:center; }
#contact .btn-primary,
#contact .btn-secondary{ margin:8px; }

/* ===================== FOOTER ===================== */

footer{
  border-top:1px solid #ECE7DC;
  margin-top:40px;
  background:#FFF9F0;
}
footer p{
  text-align:center;
  padding:36px 20px;
  color:#9CA3AF;
  font-size:13.5px;
}

/* ===================== REVEAL ===================== */

.reveal{
  opacity:0;
  transform:translateY(32px);
  transition:all .7s ease;
}
.reveal.active{
  opacity:1;
  transform:translateY(0);
}

@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  *{ transition:none !important; }
}

/* ===================== RESPONSIVE ===================== */

@media(max-width:900px){
  .hero{
    grid-template-columns:1fr;
    padding:140px 24px 70px;
    text-align:center;
  }
  .hero h1{ font-size:38px; }
  .hero p{ margin-left:auto; margin-right:auto; }
  .hero-buttons{ justify-content:center; }
  .nav-links{ display:none; }
  .hero-photo img{ max-width:280px; }
  .hero-tag{ display:none; }
  .topics-grid{ grid-template-columns:1fr 1fr; }
  .stats .card{ flex:1 1 50%; border-bottom:1px solid rgba(255,255,255,.1); }
  .projects-grid{ grid-template-columns:1fr 1fr; grid-auto-rows:auto; }
  .project-card:nth-child(1),
  .project-card:nth-child(2),
  .project-card:nth-child(3),
  .project-card:nth-child(4){
    grid-column:span 2;
    flex-direction:column;
    align-items:flex-start;
    min-height:150px;
  }
  .research-item{ flex-direction:column; gap:10px; }
}

@media(max-width:560px){
  .topics-grid{ grid-template-columns:1fr; }
  .projects-grid{ grid-template-columns:1fr; }
  .project-card:nth-child(1),
  .project-card:nth-child(2),
  .project-card:nth-child(3),
  .project-card:nth-child(4){ grid-column:span 1; }
  .stats .card{ flex:1 1 100%; }
  .trust-pills{ flex-direction:column; align-items:center; }
}
