/* =========================================================
   Robotics page — Meru Gopanpally
   ========================================================= */
.robotics-page .robo-banner,
.robotics-page .robo-hero,
.robotics-page .robo-more,
.robotics-page .robo-action,
.robotics-page .robo-learn,
.robotics-page .robo-lab,
.robotics-page .robo-duo,
.robotics-page .robo-visit{
  position:relative;
  overflow:hidden;
}

.robo-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  color:var(--ink);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.robo-kicker::before{
  content:"";
  width:18px;
  height:2px;
  background:var(--marigold);
  border-radius:999px;
}
.robo-kicker.on-dark{ color:#fff; }
.robo-kicker.on-dark::before{ background:var(--marigold); }

.robo-split-label{
  margin:0 0 10px;
  color:var(--ink);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.robo-split-lead{
  margin:0;
  color: rgb(33, 37, 41);
  font-size:1.02rem;
  line-height:1.65;
  max-width:38ch;
}
.robo-split-lead p{
  margin:0 0 10px;
  color: rgb(33, 37, 41);
  font-size:1.02rem;
  line-height:1.65;
}
.robo-split-lead p:last-child{ margin-bottom:0; }

/* Banner image — shared campus photo */
.robo-banner-bg{
  background-image:url("../img/gopanpally-building.jpg");
}

/* ---------- Hero ---------- */
.robo-hero{
  padding:30px 0;
  background:#fff;
}
.robo-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);
  gap:48px 64px;
  align-items:center;
}
.robo-hero-copy h1{
  margin:0 0 20px;
  color:var(--ink);
  font-family: Helvetica, Arial, sans-serif; font-weight: 700;
  font-size:clamp(2.2rem, 4.2vw, 3.35rem);
  line-height:1.1;
  letter-spacing:-.025em;
 
}
.robo-hero-lead{
  margin:0 0 14px;
  color: rgb(33, 37, 41);
  font-size:1.1rem;
  line-height:1.7;
 
}
.robo-hero-copy > p{
  margin:0 0 12px;
  color: rgb(33, 37, 41);
  font-size:1.02rem;
  line-height:1.7;
 
}
.robo-hero-cta{ margin-top:28px; }
.robo-hero-media{ position:relative; }
.robo-hero-media::before{
  content:"";
  position:absolute;
  inset:24px -18px -18px 24px;
  border:1.5px solid rgba(54,53,135,.14);
  border-radius:22px;
  z-index:0;
}
.robo-hero-frame{
  position:relative;
  z-index:1;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 32px 56px -30px rgba(54,53,135,.5);
}
.robo-hero-frame img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}
.robo-hero-media:hover .robo-hero-frame img{ transform:scale(1.04); }

/* ---------- More than: photo + ink statement panel ---------- */
.robo-more{
  padding:30px 0;
  background:#fff;
}
.robo-more-shell{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(0, .95fr);
  gap:0;
  align-items:stretch;
   
}
.robo-more-media{
  position:relative;
  margin:0;
  overflow:hidden;
  background:#1c1b4a;
  min-height:320px;
}
.robo-more-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  /* height: 100%; */
  /* object-fit: cover; */
  /* object-position: 12% center; */
  display: block;
}
.robo-more-panel{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
 
  padding:clamp(28px, 4vw, 48px) clamp(24px, 4vw, 44px);
  background:
    linear-gradient(160deg, rgba(245,195,7,.16) 0%, transparent 42%),
    #363587;
  color:#fff;
  box-shadow:-18px 0 40px -28px rgba(54,53,135,.55);
}
.robo-more-panel::before{
  content:"";
  position:absolute;
  top:clamp(28px, 4vw, 48px);
  left:0;
  width:4px;
  height:64px;
  background:var(--marigold);
}
.robo-more-panel h2{
  margin:0 0 18px;
  color:#fff;
  font-family: Helvetica, Arial, sans-serif; font-weight: 700;
  font-size:clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.02em;
 
}
.robo-more-lead{
  margin:0 0 14px;
  color:#fff;
  font-size:1.06rem;
  font-weight:500;
  line-height:1.7;
 
}
.robo-more-body{
  margin:0 0 22px;
  color:rgba(255,255,255,.84);
  font-size:1rem;
  line-height:1.7;
  max-width:36ch;
}
.robo-more-focus{
  margin:0;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.22);
  color:var(--marigold);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* ---------- Action + carousel (mockup layout) ---------- */
.robo-action{
  padding:30px 0;
  background:#f7f8fa;
}
.robo-action-bar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px 40px;
  margin-bottom:28px;
}
.robo-action-copy{
 
  min-width:0;
}
.robo-action-copy h2{
  margin:0 0 12px;
  color:var(--ink);
  font-family: Helvetica, Arial, sans-serif; font-weight: 700;
  font-size:clamp(1.7rem, 3vw, 2.4rem);
  line-height:1.15;
  letter-spacing:-.015em;
}
.robo-action-lead{
  margin:0;
  color:#5a5a6a;
  font-size:.98rem;
  line-height:1.65;
 
}
.robo-action-grid{
  width:100%;
}
.robo-action-track{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:18px;
}
.robo-clip{
  min-width:0;
  background:transparent;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
}
.robo-clip-media{
  position:relative;
  aspect-ratio:4 / 3;
  overflow:hidden;
  border-radius:14px;
  background:#dfe3ea;
}
.robo-clip-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:1;
  transition:transform .45s ease;
}
.robo-clip:hover .robo-clip-media img{
  transform:scale(1.04);
  opacity:1;
}
.robo-clip-title{
  margin:12px 2px 0;
  color:var(--ink);
  font-size:.92rem;
  font-weight:700;
  line-height:1.3;
  min-width:0;
  overflow-wrap:break-word;
}

/* ---------- Learning experience — KEEP layout ---------- */
.robo-learn{
  padding:30px 0;
  background:#363587;
}
.robo-learn-banner{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(0, .95fr);
  min-height:520px;
  align-items:stretch;
}
.robo-learn-visual{
  position:relative;
  min-height:420px;
  overflow:hidden;
}
.robo-learn-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 30%;
  display:block;
}
.robo-learn-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent 55%, rgba(54,53,135,.55) 100%);
  pointer-events:none;
}
.robo-learn-panel{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:0;
  padding:30px 56px 30px 48px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(245,195,7,.12), transparent 50%),
    #363587;
  color:#fff;
  margin-left:-48px;
}
.robo-learn-label{
  margin:0 0 16px;
  color:rgba(255,255,255,.88);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.robo-learn-panel h2{
  margin:0 0 18px;
  color:#fff;
  font-family: Helvetica, Arial, sans-serif; font-weight: 700;
  font-size:clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight:700;
  line-height:1.15;
  letter-spacing:-.015em;
 
}
.robo-learn-accent{
  display:block;
  width:52px;
  height:3px;
  margin:0 0 22px;
  background:var(--marigold);
}
.robo-learn-steps{
  margin:0 0 22px;
  color:#fff;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  line-height:1.5;
}
.robo-learn-body{
  margin:0 0 14px;
  color:rgba(255,255,255,.9);
  font-size:1.02rem;
  line-height:1.7;
  max-width:38rem;
}
.robo-learn-body:last-child{ margin-bottom:0; }

/* ---------- Lab ---------- */
.robo-lab{
  padding:30px 0;
  background:#f7f6f2;
}
.robo-lab-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1.05fr);
  gap:48px 56px;
  align-items:center;
}
.robo-lab-copy h2{
  margin:0 0 18px;
  color:var(--ink);
  font-family: Helvetica, Arial, sans-serif; font-weight: 700;
  font-size:clamp(1.8rem, 3.2vw, 2.55rem);
  line-height:1.15;
 
}
.robo-lab-copy p{
  margin:0 0 14px;
  color: rgb(33, 37, 41);
  font-size:1.04rem;
  line-height:1.7;
 
}
.robo-chips{
  list-style:none;
  margin:28px 0 0;
  padding:18px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:10px 0;
  border-top:1.5px solid rgba(54,53,135,.12);
}
.robo-chips li{
  padding:8px 18px 8px 0;
  margin-right:8px;
  color:var(--ink);
  font-weight:700;
  font-size:.88rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  border-right:1.5px solid rgba(54,53,135,.18);
}
.robo-chips li:last-child{
  border-right:0;
  padding-right:0;
}
.robo-lab-visual{
  border-radius:20px;
  overflow:hidden;
  aspect-ratio:5 / 4;
  box-shadow:0 32px 56px -32px rgba(54,53,135,.45);
}
.robo-lab-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* ---------- Duo checkerboard ---------- */
.robo-duo{
  padding:30px 0;
  background:#fff;
}
.robo-duo-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap:36px 40px;
  align-items:stretch;
}
.robo-duo-media{
  position:relative;
  margin:0;
  border-radius:20px;
  overflow:hidden;
  min-height:340px;
  background:#e8e7f0;
  box-shadow:0 20px 40px -28px rgba(54,53,135,.35);
}
.robo-duo-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .7s cubic-bezier(.22,1,.36,1);
}
.robo-duo-media:hover img{ transform:scale(1.04); }
.robo-duo-media--create img{
  object-position:18% center;
}
.robo-duo-caption{
  position:absolute;
  right:8%;
  top:50%;
  transform:translateY(-50%) rotate(-8deg);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  color:#fff;
  text-shadow:0 8px 24px rgba(0,0,0,.35);
  pointer-events:none;
}
.robo-duo-caption span{
  font-family: Helvetica, Arial, sans-serif; font-weight: 700;
  font-size:clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight:600;
  line-height:1.05;
}
.robo-duo-caption i{
  display:block;
  width:54px;
  height:18px;
  margin-top:6px;
  background:
    linear-gradient(12deg, transparent 42%, var(--marigold) 42% 52%, transparent 52%) 0 0 / 100% 33%,
    linear-gradient(12deg, transparent 42%, var(--marigold) 42% 52%, transparent 52%) 0 50% / 100% 33%,
    linear-gradient(12deg, transparent 42%, var(--marigold) 42% 52%, transparent 52%) 0 100% / 100% 33%;
  background-repeat:no-repeat;
}
.robo-duo-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:36px 28px;
  background:#f7f6f2;
  border-radius:20px;
  min-height:340px;
}
.robo-duo-label{
  margin:0 0 12px;
  color:#7a7a8a;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.robo-duo-copy h2{
  margin:0 0 16px;
  color:var(--ink);
  font-family: Helvetica, Arial, sans-serif; font-weight: 700;
  font-size:clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.015em;
  
}
.robo-duo-copy > p{
  margin:0 0 18px;
  color: rgb(33, 37, 41);
  font-size:1rem;
  line-height:1.7; 
}
.robo-duo-tags{
  margin:auto 0 0 !important;
  padding-top:16px;
  border-top:1.5px solid rgba(54,53,135,.12);
  color:var(--ink) !important;
  font-size:.7rem !important;
  font-weight:800 !important;
  letter-spacing:.08em;
  text-transform:uppercase;
  line-height:1.55 !important;
  max-width:none !important;
}

/* ---------- Visit CTA ---------- */
.robo-visit{
  padding:30px 0;
  background:#fff;
}
.robo-visit-shell{
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);
  min-height:0;
  align-items:stretch;
}
.robo-visit-visual{
  position:relative;
  min-height:100%;
  overflow:hidden;
  align-self:stretch;
}
.robo-visit-visual img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 40%;
  display:block;
}
.robo-visit-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent 40%, rgba(54,53,135,.45) 100%);
}
.robo-visit-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:30px 8% 30px 56px;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(245,195,7,.14), transparent 50%),
    #363587;
  color:#fff;
  margin-left:-40px;
  position:relative;
  z-index:1;
}
.robo-visit-copy h2{
  margin:0 0 16px;
  color:#fff;
  font-family: Helvetica, Arial, sans-serif; font-weight: 700;
  font-size:clamp(1.85rem, 3.2vw, 2.6rem);
  line-height:1.15;
 
}
.robo-visit-copy > p{
  margin:0 0 14px;
  color:rgba(255,255,255,.9);
  font-size:1.04rem;
  line-height:1.7;
 
}
.robo-visit-cta{ margin-top:26px; }

/* Animations */
.robotics-page .home-section-anim .home-anim-item{
  opacity:0;
  transform:translateY(28px);
  transition:
    opacity .85s cubic-bezier(.22,1,.36,1),
    transform .85s cubic-bezier(.22,1,.36,1);
  transition-delay:calc(var(--i, 0) * 80ms);
}
.robotics-page .home-section-anim .home-anim-item.reveal-scale{
  transform:scale(.94) translateY(20px);
}
.robotics-page .home-section-anim.is-inview .home-anim-item,
.robotics-page .home-section-anim .home-anim-item.is-animated,
.robotics-page .home-section-anim .home-anim-item.is-visible{
  opacity:1;
  transform:none;
}
@media (prefers-reduced-motion: reduce){
  .robotics-page .home-section-anim .home-anim-item{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
  .robo-marquee-track{ animation:none; }
  .robo-hero-media:hover .robo-hero-frame img,
  .robo-duo-media:hover img,
  .robo-clip:hover .robo-clip-media img{ transform:none; }
}

/* Responsive */
@media (max-width:980px){
  .robo-hero-grid,
  .robo-lab-grid,
  .robo-visit-shell{
    grid-template-columns:1fr;
    gap:28px;
  }
  .robo-more-shell{
    grid-template-columns:1fr;
    min-height:0;
  }
  .robo-more-media{
    min-height:0;
    aspect-ratio:16 / 10;
  }
  .robo-more-panel{
    margin-left:0;
    padding:30px 24px 32px;
    box-shadow:none;
  }
  .robo-more-lead,
  .robo-more-body{ max-width:none; }
  .robo-more-panel h2{ max-width:14ch; }
  .robo-action-bar{
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
  }
  .robo-action-track{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px 14px;
  }
  .robo-action-track .robo-clip:last-child{ grid-column:1 / -1; max-width:320px; justify-self:center; width:100%; }
  .robo-clip-title{ font-size:.9rem; }
  .robo-action-lead{ max-width:none; }
  .robo-hero{ text-align:center; padding:30px 0; }
  .robo-hero-copy{ display:flex; flex-direction:column; align-items:center; }
  .robo-hero-copy h1{   }
  .robo-hero-lead,
  .robo-hero-copy > p{ max-width:42ch; }
  .robo-hero-cta{ justify-content:center; }
  .robo-hero-media::before{ display:none; }
  .robo-hero-frame{
    max-width:420px;
    margin:0 auto;
  }
  .robo-hero-frame img{
    width:100%;
    height:auto;
    object-fit:contain;
  }
  .robo-learn-banner{
    grid-template-columns:1fr;
    min-height:0;
  }
  .robo-learn-visual{
    min-height:280px;
    aspect-ratio:16 / 10;
  }
  .robo-learn-visual::after{
    background:linear-gradient(180deg, transparent 40%, rgba(54,53,135,.7) 100%);
  }
  .robo-learn-panel{
    margin-left:0;
    padding:30px 28px;
  }
  .robo-lab-visual{ order:-1; max-width:640px; }
  .robo-duo-grid{
    grid-template-columns:1fr;
    gap:22px;
  }
  .robo-duo-media{ min-height:260px; aspect-ratio:16 / 11; }
  .robo-duo-copy{
    min-height:0;
    padding:28px 24px;
  }
  .robo-visit-visual{
    min-height:0;
    aspect-ratio:16 / 10;
  }
  .robo-visit-visual img{
    position:absolute;
    inset:0;
  }
  .robo-visit-visual::after{
    background:linear-gradient(180deg, transparent 35%, rgba(54,53,135,.55) 100%);
  }
  .robo-visit-copy{
    margin-left:0;
    padding:30px 28px;
  }
}
@media (max-width:640px){
  .robo-hero,
  .robo-action,
  .robo-lab,
  .robo-duo{ padding:30px 0; }
  .robo-action-track{
    grid-template-columns:1fr;
    gap:16px;
  }
  .robo-action-track .robo-clip:last-child{
    grid-column:auto;
    max-width:none;
    justify-self:stretch;
  }
  .robo-clip-title{ font-size:.95rem; }
  .robo-learn-panel{ padding:30px 20px; }
  .robo-learn-steps{ letter-spacing:.08em; font-size:.72rem; }
  .robo-duo-caption span{ font-size:1.45rem; }
  .robo-chips li{
    border-right:0;
    padding:6px 14px;
    margin:0 8px 8px 0;
    background:rgba(54,53,135,.06);
    border-radius:4px;
  }
  .robo-chips{ border-top:0; padding-top:8px; }
}
@media (max-width:480px){
  .robo-learn-visual{ min-height:220px; }
  .robo-visit-copy{ padding:30px 20px; }
  .robo-action .wrap{ padding-right:16px; }
}
