/* =========================================================
   HP Future Forward – Kolkata Chapter
   ========================================================= */
:root {
  --blue: #054ADA;
  --blue-soft: #4d86ff;
  --blue-light: #B8CBF2;
  --pale: #EEF3FD;
  --line: #d5e0f7;
  --black: #0a0a0a;
  --ink: #02060f;
  --white: #fff;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font-display: 'Forma DJR Micro', sans-serif;
  --font-body: 'Forma DJR Micro', sans-serif;
}

@font-face {
  font-family: 'Forma DJR Micro';
  src: url('img/font/FormaDJRMicro.ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  animation: pageIn .8s var(--ease) both;
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0
}

p {
  margin: 0
}

ul {
  list-style: none;
  margin: 0;
  padding: 0
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px
}

.container--wide {
  max-width: 1280px
}

.container--narrow {
  max-width: 1000px
}

.center {
  text-align: center
}

.section {
  padding: 96px 24px
}

.section .container {
  padding-left: 0;
  padding-right: 0
}

.section--blue {
  background: var(--blue);
  color: var(--white)
}

.section--black {
  background: var(--ink);
  color: var(--white)
}

.section--white {
  background: var(--white)
}

.section--pale {
  background: var(--pale)
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px
}

.eyebrow--white {
  color: var(--white)
}

.h2-lg {
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.05;
  margin-bottom: 56px
}

.h2-xl {
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  margin-bottom: 20px
}

.center .h2-lg {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease)
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35)
}

.btn:active {
  transform: translateY(0) scale(.97);
  transition-duration: .12s
}

.btn--blue {
  background: var(--black);
  color: var(--white)
}

.btn--outline {
  background: var(--white);
  color: var(--black);
  border-color: var(--black)
}

.btn--sm {
  font-size: 14px;
  padding: 12px 22px
}

.btn--lg {
  font-weight: 700;
  font-size: 16px;
  padding: 14px 30px 12px 30px;
}

.btn--outline.btn--lg {
  padding: 16px 38px
}

.btn--block {
  display: block;
  width: 100%;
  margin-top: 6px;
  font-size: 17px
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
  z-index: 2
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .02em
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500
}

.navlink {
  position: relative
}

.navlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out)
}

.navlink {
  transition: color .3s var(--ease)
}

.navlink:hover {
  color: var(--blue)
}

.navlink:hover::after {
  transform: scaleX(1)
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 24px 24px 120px;
  text-align: center;
  background: url(images/hero.png) center/auto 125% no-repeat;
  animation: drift 28s ease-in-out infinite alternate;
  background-size: cover;
}

.hero__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 30px;
}

.hero__logo {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: -30px auto -20px
}

.hero h1 {
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 50px);
  line-height: 1;
  letter-spacing: -.02em
}

.hero h1 span {
  color: var(--blue)
}

.hero__sub {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 2vw, 21px)
}

.chips {
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px
}

.chip {

  color: var(--black);
  border: 1px solid var(--black);
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease)
}

/* .chip:hover {
  transform: translateY(-4px);
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(5, 74, 218, .3)
} */

.hero__cta {
  margin: 36px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px
}

.hero__note {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue)
}

.deco {
  position: absolute;
  background: var(--blue);
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%);
  animation: floatX 9s ease-in-out infinite
}

.deco--1 {
  left: 4%;
  top: 34%;
  width: 90px;
  height: 130px;
  opacity: .18
}

.deco--2 {
  right: 5%;
  top: 58%;
  width: 70px;
  height: 100px;
  opacity: .22;
  animation-delay: -4s
}

/* ---------- Overview ---------- */
.overview {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center
}

.overview__stat {
  flex: 1 1 340px
}

.overview__big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(96px, 16vw, 200px);
  line-height: .9;
  letter-spacing: -.04em
}

.overview__cap {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 500;
  max-width: 360px
}

.overview__copy {
  flex: 1.3 1 420px
}

.overview__copy h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  margin-bottom: 24px
}

.overview__copy p {
  font-size: 17px;
  margin-bottom: 18px
}

.overview__copy .overview__close {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 0
}

/* ---------- Experience cards ---------- */
.xhead {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px
}

.xhead h2 {
  flex: 1 1 420px;
  max-width: 640px;
  font-weight: 900;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -.02em
}

.xhead h2 span {
  color: var(--blue-soft)
}

.xhead p {
  flex: 1 1 300px;
  max-width: 420px;
  font-size: 17px;
  opacity: .85
}

.xrow {
  display: flex;
  gap: 14px;
  height: 560px
}

.xcard {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid #1b2b52;
  outline: none;
  background: var(--ink);
  transition: flex .8s var(--ease-out), transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease)
}

.xcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img) center/cover no-repeat;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease);
  filter: brightness(.85)
}

.xcard.c1 {
  --img: url(images/card1.jpg)
}

.xcard.c2 {
  --img: url(images/card2.jpg)
}

.xcard.c3 {
  --img: url(images/card3.jpg)
}

.xcard.c4 {
  --img: url(images/card4.jpg)
}

.xcard.c5 {
  --img: url(images/card5.jpg)
}

.xcard.is-active {
  flex: 2.6
}

.xcard.is-active::before,
.xcard:hover::before {
  transform: scale(1.1);
  filter: brightness(1)
}

.xcard:hover,
.xcard:focus-visible {
  transform: translateY(-8px);
  border-color: var(--blue-soft);
  box-shadow: 0 24px 50px rgba(5, 74, 218, .45)
}

.xcard__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 16, .97) 8%, rgba(2, 6, 16, .55) 42%, rgba(2, 6, 16, 0) 75%)
}

.xcard__num {
  position: absolute;
  top: 20px;
  left: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .12em;
  opacity: .7;
  transition: opacity .5s var(--ease);
  color: white;
}

.xcard.is-active .xcard__num,
.xcard:hover .xcard__num {
  opacity: 1
}

.xcard__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 24px 28px
}

.xcard h3 {
  font-weight: 800;
  font-size: 17px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 14px;
  transition: font-size .6s var(--ease-out);
  color: white;
}

.xcard.is-active h3 {
  font-size: 24px
}

.xline {
  width: 36px;
  height: 3px;
  background: var(--blue-soft);
  transform-origin: left;
  transition: transform .6s var(--ease-out)
}

.xcard.is-active .xline {
  transform: scaleX(2)
}

.xcard:hover .xline {
  transform: scaleX(2.4)
}

.xcard__desc {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(12px);
  font-size: 16px;
  line-height: 1.5;
  color: white;
  transition: max-height .7s var(--ease-out), opacity .3s var(--ease), margin-top .6s var(--ease-out), transform .6s var(--ease-out)
}

.xcard.is-active .xcard__desc {
  margin-top: 16px;
  max-height: 220px;
  opacity: .92;
  transform: none;
  transition-delay: .12s, .25s, .1s, .2s
}

/* ---------- Zones ---------- */
.zones {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 24px
}

.zones__line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 72px;
  height: 2px;
  background: var(--blue-light)
}

.zone {
  position: relative;
  flex: 1 1 220px;
  max-width: 270px
}

.zcircle {
  width: 144px;
  height: 144px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(5, 74, 218, .12);
  transition: transform .55s var(--ease-out), background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease)
}

.zcircle svg {
  width: 56px;
  height: 56px;
  stroke: var(--blue);
  transition: stroke .45s var(--ease), transform .7s var(--ease-out)
}

.zone:hover .zcircle {
  box-shadow: 0 20px 40px rgba(5, 74, 218, .3);
  transform: translateY(-10px) scale(1.07);
  background: var(--blue);
  border-color: var(--blue)
}

.zone:hover .zcircle svg {
  stroke: var(--white);
  transform: rotate(8deg) scale(1.08)
}

.zone h3 {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 8px
}

.zone p {
  font-size: 15px;
  font-weight: 500;
  color: var(--blue)
}

/* ---------- Audience ---------- */
.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 56px
}

.audience__intro {
  flex: 1 1 340px
}

.audience__intro h2 {
  font-weight: 900;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.05;
  margin-bottom: 20px
}

.badge {
  display: inline-block;
  margin-top: 12px;
  background: var(--black);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px
}

.roles {
  flex: 1.2 1 420px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.role {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 18px;
  transition: transform .5s var(--ease-out), box-shadow .45s var(--ease), border-color .45s var(--ease)
}

.role:hover {
  transform: translateX(12px);
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(5, 74, 218, .18)
}

.rtick {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .8s var(--ease-out)
}

.rtick svg {
  width: 18px;
  height: 18px
}

.role:hover .rtick {
  transform: rotate(360deg) scale(1.12)
}

/* ---------- Agenda ---------- */
.agenda {
  border-top: 2px solid var(--black)
}

.arow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  padding: 28px 16px;
  border-bottom: 1px solid var(--line);
  transition: transform .5s var(--ease-out), background .45s var(--ease)
}

.arow:hover {
  transform: translateX(10px);
  background: var(--pale)
}

.arow__time {
  flex: 0 0 190px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--blue)
}

.arow>div:last-child {
  flex: 1 1 320px
}

.arow h3 {
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 4px
}

.arow p {
  font-size: 16px;
  opacity: .75
}

/* ---------- REGISTER FORM ---------- */
.register {
  padding: 60px 24px 70px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.register-form {
  width: 40%;
}

.register-map {
  width: 60%;
}

.register h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 30px;
}


@media (max-width:600px) {

  .hero-left {
    flex: 1 1 380px;
    padding: 48px 0px 10px 45px;
    min-width: 300px;
    position: relative;
    z-index: 2;
  }

  .hero-left h1 {
    font-size: 1.8rem;
  }

  .meet-grid {
    grid-template-columns: 1fr;
  }

  .agenda-table td,
  .agenda-table th {
    padding: 12px;
  }

  .agenda-table {
    font-size: 0.8rem;
  }

  .section-title,
  .meet-title,
  .register h2 {
    font-size: 1.4rem;
  }

  .submit-btn {
    float: none;
    width: 100%;
  }

  .walkaway {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    background: url(img/meet-bg.jpg);
    background-repeat: no-repeat;
    background-position: left;
    padding: 35px;
  }

  .meet {
    padding: 20px 24px 0px;
  }

  .register-form {
    width: 100%;
  }

  .register-map {
    width: 100%;
  }


}


/* ---------- Footer ---------- */
.footer {
  background: var(--blue);
  color: var(--white);
  padding: 48px 24px
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0
}

.footer__meta {
  font-size: 14px
}

/* ---------- Animations ---------- */
@keyframes pageIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    translate: 0 36px
  }

  to {
    opacity: 1;
    translate: 0 0
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

@keyframes floatX {

  0%,
  100% {
    transform: translateX(0) rotate(0)
  }

  50% {
    transform: translateX(18px) rotate(3deg)
  }
}

@keyframes drift {
  from {
    background-position: 0% 40%
  }

  to {
    background-position: 100% 60%
  }
}

@keyframes ring {
  0% {
    box-shadow: 0 0 0 0 rgba(5, 74, 218, .55)
  }

  100% {
    box-shadow: 0 0 0 22px rgba(5, 74, 218, 0)
  }
}

.fu {
  animation: fadeUp 1s var(--ease-out) both
}

.fu2 {
  animation-delay: .2s
}

.fu3 {
  animation-delay: .32s
}

.fu4 {
  animation-delay: .46s
}

.fu5 {
  animation-delay: .58s
}

.fu6 {
  animation-delay: .7s
}

.fu7 {
  animation-delay: .85s
}

.floaty {
  animation: fadeUp .8s both, floatY 6s ease-in-out 1s infinite
}

.pulse {
  animation: ring 2s ease-out infinite
}

/* scroll reveal (animation-based so hover transitions on the same element keep working) */
.js .reveal {
  opacity: 0
}

.js .reveal.in {
  animation: fadeUp 1s var(--ease-out) var(--d, 0s) both
}

/* ---------- Responsive ---------- */
@media (max-width:900px) {
  .xrow {
    flex-direction: column;
    height: auto
  }

  .xcard,
  .xcard.is-active {
    flex: none;
    min-height: 340px
  }
}

@media (max-width:760px) {

  .nav__links,
  .zones__line {
    display: none
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }

  .js .reveal {
    opacity: 1
  }
}