/* ==========================================================================
   BLLISS 2026 — static site (Bootstrap 5 based)
   Brand tokens pulled from the real site: Poppins font, #446084 primary.
   This file only holds what Bootstrap doesn't already give us.
   ========================================================================== */
:root{
  --bs-primary:#446084;
  --bs-primary-rgb:68,96,132;
  --bs-link-color:#446084;
  --bs-link-hover-color:#2f4258;
  --bs-body-font-family:"Poppins","Helvetica Neue",Arial,sans-serif;
  --bs-body-color:#4a4a4a;
  --bs-heading-color:#1f2429;

  --brand:#446084;
  --brand-dark:#2f4258;
  --brand-light:#eef1f5;
  --accent:#c98f36;      /* warm accent for small highlights / badges */
  --radius:10px;
  --shadow-sm:0 4px 14px rgba(31,36,41,.06);
  --shadow-md:0 14px 34px rgba(31,36,41,.12);
}

body{
  font-family:var(--bs-body-font-family);
  color:var(--bs-body-color);
  background:#fff;
}
h1,h2,h3,h4,h5,h6{
  font-family:var(--bs-body-font-family);
  font-weight:700;
  color:var(--bs-heading-color);
  letter-spacing:-.01em;
}
a{color:var(--brand);}
a:hover{color:var(--brand-dark);}
.text-brand{color:var(--brand)!important;}
.bg-brand{background-color:var(--brand)!important;}

.kicker{
  display:inline-flex;align-items:center;gap:8px;
  font-size:.76rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--brand);
}
.kicker::before{content:"";width:22px;height:2px;background:var(--accent);display:inline-block;}
.kicker.on-dark{color:#fff;}
.kicker.on-dark::before{background:#fff;opacity:.7;}

/* ==========================================================================
   Header
   ========================================================================== */
.site-navbar{
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px);
  box-shadow:0 1px 0 rgba(0,0,0,.06);
  padding-top:.6rem;padding-bottom:.6rem;
  transition:box-shadow .2s ease;
}
.site-navbar .navbar-brand img{height:56px;width:auto;}
.site-navbar .nav-link{
  font-size:.82rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;
  color:#333;padding:.7rem .9rem!important;
}
.site-navbar .nav-link:hover,.site-navbar .nav-link.active{color:var(--brand);}
.site-navbar .nav-link.active{position:relative;}
.site-navbar .dropdown-menu{border:none;box-shadow:var(--shadow-md);border-radius:var(--radius);padding:.4rem;}
.site-navbar .dropdown-item{border-radius:6px;font-size:.9rem;padding:.5rem .8rem;}
.site-navbar .dropdown-item:active,.site-navbar .dropdown-item:hover{background:var(--brand-light);color:var(--brand);}
.site-navbar .btn-nav-cta{
  font-size:.78rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;
  padding:.55rem 1.2rem;border-radius:50px;
}

/* ==========================================================================
   Hero / page banners
   ========================================================================== */
.page-banner{
  position:relative;overflow:hidden;color:#fff;
  background:linear-gradient(120deg,var(--brand-dark),var(--brand));
  padding:4.4rem 0 3.4rem;
}
.page-banner::after{
  content:"";position:absolute;right:-60px;top:-60px;width:280px;height:280px;
  border-radius:50%;background:rgba(255,255,255,.06);
}
.page-banner h1{color:#fff;font-size:clamp(1.6rem,3.2vw,2.3rem);margin:0;position:relative;z-index:1;}

/* ==========================================================================
   Cards / features
   ========================================================================== */
.card-feature{
  background:#fff;border:1px solid #eceff2;border-radius:var(--radius);
  padding:1.9rem;height:100%;transition:transform .18s ease,box-shadow .18s ease;
}
.card-feature:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.card-feature .icon-wrap{
  width:52px;height:52px;border-radius:12px;background:var(--brand-light);
  display:flex;align-items:center;justify-content:center;margin-bottom:1rem;
  font-size:1.4rem;color:var(--brand);
}
.card-feature h3{font-size:1.08rem;margin-bottom:.5rem;}
.card-feature p{margin-bottom:0;font-size:.94rem;}

.section-alt{background:var(--brand-light);}

/* ==========================================================================
   Timeline (program schedule)
   ========================================================================== */
.bl-timeline{position:relative;padding-left:2.6rem;}
.bl-timeline::before{content:"";position:absolute;left:11px;top:6px;bottom:6px;width:2px;background:#e1e6ec;}
.bl-timeline-item{position:relative;padding-bottom:2rem;}
.bl-timeline-item:last-child{padding-bottom:0;}
.bl-timeline-item::before{
  content:"";position:absolute;left:-2.6rem;top:2px;width:24px;height:24px;border-radius:50%;
  background:var(--brand);border:4px solid #fff;box-shadow:0 0 0 2px var(--brand);
}
.bl-timeline-item .time{
  display:inline-block;font-weight:700;color:var(--brand);font-size:.78rem;
  text-transform:uppercase;letter-spacing:.04em;background:var(--brand-light);
  padding:3px 10px;border-radius:50px;margin-bottom:.4rem;
}

/* ==========================================================================
   Breakout sessions (Bootstrap nav-pills powers the tabs)
   ========================================================================== */
.session-pills .nav-link{
  border-radius:var(--radius);border:1px solid #e6e9ee;background:#fff;color:#333;
  padding:1rem 1.2rem;text-align:left;font-weight:600;font-size:.85rem;height:100%;
}
.session-pills .nav-link small{display:block;font-weight:400;color:#777;margin-top:.25rem;font-size:.78rem;}
.session-pills .nav-link.active{background:var(--brand-light);border-color:var(--brand);color:var(--brand);}
.session-pills .nav-link.active small{color:var(--brand);opacity:.85;}

.speaker-row{display:flex;gap:1.1rem;padding:1.2rem 0;border-top:1px solid #eceff2;}
.speaker-row:first-child{border-top:none;padding-top:0;}
.speaker-role{color:var(--brand);text-transform:uppercase;font-size:.7rem;font-weight:700;letter-spacing:.05em;margin-bottom:2px;}
.speaker-avatar{
  flex:0 0 auto;width:64px;height:64px;border-radius:50%;background:var(--brand-light);
  display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--brand);font-size:1rem;
}
@media (max-width:576px){.speaker-avatar{width:48px;height:48px;font-size:.8rem;}}

/* ==========================================================================
   Gallery / video
   ========================================================================== */
.gallery-tile{
  position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;
  background:linear-gradient(150deg,var(--brand),var(--brand-dark));
  display:flex;align-items:flex-end;
}
.gallery-tile span{
  position:relative;z-index:1;padding:1rem;color:#fff;font-weight:600;font-size:.92rem;
  background:linear-gradient(0deg,rgba(0,0,0,.55),transparent 70%);width:100%;
}
.gallery-tile::after{
  content:"";position:absolute;inset:0;background:rgba(0,0,0,0);transition:background .18s ease;
}
.gallery-tile:hover::after{background:rgba(0,0,0,.12);}

.video-tile{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);}

/* ==========================================================================
   News
   ========================================================================== */
.news-row{
  display:flex;gap:1.2rem;align-items:baseline;padding:1rem 0;border-top:1px solid #eceff2;
}
.news-row:first-child{border-top:none;}
.news-row .date{
  flex:0 0 76px;color:var(--brand);font-weight:700;font-size:.8rem;text-transform:uppercase;
}
.news-row a{font-weight:600;color:var(--bs-heading-color);}
.news-row a:hover{color:var(--brand);}

/* ==========================================================================
   Logos / orgs
   ========================================================================== */
.logo-tile{
  background:#fff;border:1px solid #eceff2;border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;padding:1.4rem;height:100%;
  transition:box-shadow .18s ease;
}
.logo-tile:hover{box-shadow:var(--shadow-sm);}
.logo-tile img{max-height:56px;width:auto;object-fit:contain;}
.org-tile{
  display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid #eceff2;
  border-radius:var(--radius);padding:1.2rem;height:100%;
}
.org-tile img{height:52px;width:auto;object-fit:contain;}

/* ==========================================================================
   Registration CTA strip
   ========================================================================== */
.registration-cta{
  background:linear-gradient(120deg,var(--brand-dark),var(--brand));color:#fff;
}
.registration-cta h4{color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;}
.registration-cta .session-link{
  display:flex;align-items:center;gap:.5rem;padding:.6rem 0;color:#fff;
  border-bottom:1px dashed rgba(255,255,255,.25);font-size:.94rem;
}
.registration-cta .session-link:hover{color:var(--accent);}
.registration-cta .contact-line{color:rgba(255,255,255,.9);}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-control,.form-select{border-radius:8px;border-color:#dfe3e8;padding:.65rem .9rem;}
.form-control:focus,.form-select:focus{border-color:var(--brand);box-shadow:0 0 0 .2rem rgba(68,96,132,.15);}
.form-check-label{font-size:.94rem;}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{background:#1b2430;color:rgba(255,255,255,.72);padding:3.4rem 0 1.4rem;}
.site-footer h5{color:#fff;text-transform:uppercase;font-size:.76rem;letter-spacing:.08em;margin-bottom:1rem;}
.site-footer a{color:rgba(255,255,255,.72);}
.site-footer a:hover{color:#fff;}
.site-footer .footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:1.1rem;font-size:.85rem;}
.social-pill{
  width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.18);
  display:inline-flex;align-items:center;justify-content:center;color:#fff;
}
.social-pill:hover{background:var(--brand);border-color:var(--brand);color:#fff;}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary{background:var(--brand);border-color:var(--brand);}
.btn-primary:hover{background:var(--brand-dark);border-color:var(--brand-dark);}
.btn-outline-light:hover{color:var(--brand-dark);}
.btn{border-radius:50px;font-weight:600;font-size:.86rem;letter-spacing:.02em;padding:.65rem 1.5rem;}
.btn-sm{padding:.45rem 1.1rem;}

/* ==========================================================================
   Utilities
   ========================================================================== */
.section-py{padding:5rem 0;}
@media (max-width:576px){.section-py{padding:3.2rem 0;}}
.rounded-xl{border-radius:var(--radius)!important;}
.shadow-soft{box-shadow:var(--shadow-sm);}

/* ==========================================================================
   Animation — scroll reveal + small motion accents
   ========================================================================== */
@media (prefers-reduced-motion: no-preference){
  .reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease;}
  .reveal.in-view{opacity:1;transform:none;}

  .site-navbar{transition:box-shadow .25s ease,padding .25s ease;}
  .site-navbar.is-scrolled{box-shadow:0 8px 24px rgba(20,26,46,.08);padding-top:.35rem;padding-bottom:.35rem;}

  @keyframes fadeUpIn{
    from{opacity:0;transform:translateY(26px);}
    to{opacity:1;transform:none;}
  }
  .carousel-caption-inner .kicker,
  .carousel-caption-inner h1,
  .carousel-caption-inner .lede,
  .carousel-caption-inner .dates-badge,
  .carousel-caption-inner .hero-actions{
    opacity:0;animation:fadeUpIn .7s ease forwards;
  }
  .carousel-caption-inner .kicker{animation-delay:.05s;}
  .carousel-caption-inner h1{animation-delay:.15s;}
  .carousel-caption-inner .lede{animation-delay:.28s;}
  .carousel-caption-inner .dates-badge{animation-delay:.4s;}
  .carousel-caption-inner .hero-actions{animation-delay:.5s;}

  .card-feature,.logo-tile,.org-tile,.gallery-tile,.news-card{
    transition:transform .22s ease,box-shadow .22s ease;
  }
  .icon-wrap{transition:transform .22s ease,background .22s ease,color .22s ease;}
  .card-feature:hover .icon-wrap{background:var(--brand);color:#fff;transform:scale(1.08) rotate(-4deg);}

  .btn{transition:transform .15s ease,box-shadow .15s ease,background .15s ease;}
  .btn:hover{transform:translateY(-2px);}
  .btn-primary:hover{box-shadow:0 10px 22px rgba(68,96,132,.35);}

  .gallery-tile img{transition:transform .4s ease;}
  .gallery-tile:hover img{transform:scale(1.06);}

  .social-pill{transition:transform .2s ease,background .2s ease;}
  .social-pill:hover{transform:translateY(-3px);}
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */
#heroCarousel .carousel-item{
  min-height:78vh;
}
#heroCarousel .carousel-item-inner{
  position:relative;background-size:cover;background-position:center;min-height:78vh;
}
@media (max-width:768px){
  #heroCarousel .carousel-item,#heroCarousel .carousel-item-inner{min-height:60vh;}
}
#heroCarousel .overlay{
  position:absolute;inset:0;
  background:linear-gradient(115deg,rgba(20,26,46,.92) 0%,rgba(68,96,132,.82) 55%,rgba(68,96,132,.5) 100%);
}
#heroCarousel .carousel-caption-inner{
  position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:center;
  text-align:left;padding:0 0 3rem;
}
#heroCarousel .carousel-caption-inner .container{max-width:1140px;}
#heroCarousel h1{color:#fff;font-size:clamp(2rem,4.2vw,3.1rem);max-width:820px;line-height:1.15;}
#heroCarousel .lede{max-width:600px;color:rgba(255,255,255,.88);font-size:1.08rem;}
#heroCarousel .dates-badge{
  display:inline-flex;align-items:center;gap:10px;margin-top:22px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);
  padding:10px 20px;border-radius:50px;font-weight:600;backdrop-filter:blur(4px);width:fit-content;
}
#heroCarousel .dates-badge b{color:var(--accent);font-size:1.15em;}
#heroCarousel .carousel-indicators [data-bs-target]{
  width:34px;height:4px;border-radius:2px;background:rgba(255,255,255,.4);opacity:1;
}
#heroCarousel .carousel-indicators .active{background:var(--accent);}
#heroCarousel .carousel-control-prev,#heroCarousel .carousel-control-next{width:5%;opacity:.7;}
#heroCarousel .carousel-control-prev:hover,#heroCarousel .carousel-control-next:hover{opacity:1;}

/* ==========================================================================
   News cards (upgraded from the live site's flat list)
   ========================================================================== */
.news-card{
  display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #eceff2;
  border-radius:var(--radius);overflow:hidden;
}
.news-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.news-card .news-thumb{
  height:150px;background:linear-gradient(150deg,var(--brand),var(--brand-dark));
  display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.85);font-size:1.6rem;
}
.news-card .news-body{padding:1.2rem 1.3rem 1.4rem;display:flex;flex-direction:column;flex:1;}
.news-card .news-date{
  font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--brand);
  margin-bottom:.5rem;display:inline-flex;align-items:center;gap:6px;
}
.news-card h3{font-size:1rem;line-height:1.4;margin-bottom:0;}
.news-card a.stretched-link{color:inherit;text-decoration:none;}
.news-card a.stretched-link:hover{color:var(--brand);}
.news-card .read-more{
  margin-top:auto;padding-top:.9rem;font-size:.82rem;font-weight:700;color:var(--brand);
  display:inline-flex;align-items:center;gap:4px;
}
