/* ============================================================
   1. CSS VARIABLES / DESIGN TOKENS
   ============================================================ */
:root{
  --bg: #FFFFFF;
  --gray-light: #F8FAFC;
  --text: #0F172A;
  --text-muted: #475569;

  --primary: #2563EB;
  --primary-rgb: 37,99,235;
  --secondary: #7C3AED;
  --secondary-rgb: 124,58,237;
  --highlight: #06B6D4;
  --highlight-rgb: 6,182,212;
  --success: #10B981;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 84px;
    --bg: #FFFFFF;
  --section-bg: #F8FAFC;
  --text: #0F172A;
  --text-muted: #475569;

  --primary: #2563EB;
  --primary-rgb: 37,99,235;
  --secondary: #7C3AED;
  --secondary-rgb: 124,58,237;
  --accent: #06B6D4;
  --accent-rgb: 6,182,212;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none; /* custom cursor takes over on capable devices */
}

@media (hover: none), (pointer: coarse){
  body{ cursor: auto; }
}

a{ color:inherit; text-decoration:none; }
button{ font-family: inherit; border:none; background:none; cursor:pointer; }

/* Respect reduced motion globally */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   2. CUSTOM CURSOR
   ============================================================ */
.cursor-dot,
.cursor-ring{
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot{
  width: 6px; height: 6px;
  background: var(--primary);
}
.cursor-ring{
  width: 34px; height: 34px;
  border: 1.5px solid rgba(var(--primary-rgb), 0.45);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.cursor-ring.is-active{
  width: 54px; height: 54px;
  background: rgba(var(--primary-rgb), 0.08);
  border-color: rgba(var(--primary-rgb), 0.7);
}
@media (hover: none), (pointer: coarse){
  .cursor-dot, .cursor-ring{ display:none; }
}

/* ============================================================
   3. SCROLL PROGRESS INDICATOR
   ============================================================ */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--highlight));
  z-index: 10000;
  transition: width .1s linear;
}

/* ============================================================
   4. NAVIGATION
   ============================================================ */
.navbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  z-index: 1000;
  background: #335eac;
  transition: height .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.navbar.scrolled{
  height: 64px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(15,23,42,0.06), 0 10px 30px -20px rgba(15,23,42,0.15);
}
.nav-brand{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-brand .dot{
  width:9px; height:9px; border-radius:50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 12px rgba(var(--primary-rgb),0.6);
}
.nav-links{
  display:flex;
  gap: 40px;
  list-style:none;
  margin: auto;
}
.nav-links a{
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: white;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:0%; height:1.5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width .3s var(--ease);
}
.nav-links a:hover{ color: var(--text); }
.nav-links a:hover::after{ width:100%; }
.nav-links a:focus-visible{
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-cta{
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 6px 20px -6px rgba(var(--primary-rgb), 0.55);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nav-cta:hover{ transform: translateY(-2px); box-shadow: 0 10px 26px -6px rgba(var(--primary-rgb), 0.65); }

.nav-toggle{
  display:none;
  width: 40px; height: 40px;
  align-items:center; justify-content:center;
  border-radius: 10px;
  background: var(--gray-light);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:'';
  display:block;
  width: 18px; height: 2px;
  background: var(--text);
  position: relative;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

/* ============================================================
   6. RESPONSIVE
   ============================================================ */
@media (max-width: 960px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .glass-card{ display:none; } /* decorative floats step aside for clarity on small screens */
}

@media (max-width: 600px){
  .hero{ padding-top: calc(var(--nav-h) + 24px); }
  .hero-title{ max-width: 100%; }
  .btn{ padding: 14px 24px; font-size: 0.88rem; }
  .nav-cta{ display:none; }
}


/* ============================================================
   3. SECTION SHELL — no boxed cards anywhere
   ============================================================ */
.about-v4{
  position: relative;
  background: var(--bg);
  padding: 40px 40px;
  overflow: hidden;
}

.v4-ambient{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.v4-dotgrid{
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(15,23,42,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 78%);
}

.v4-inner{
  position: relative;
  z-index: 1;
  max-width: 1208px;
  margin: 0 auto;
}

/* -------------------- HEADER -------------------- */
.v4-header{
  max-width: 780px;
}
.v4-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  opacity:0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.v4-eyebrow::before{
  content:'';
  width: 26px; height: 1.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.v4-header.is-visible .v4-eyebrow{ opacity:1; transform:translateY(0); }

.v4-heading{
  margin-top: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: 36px;
  opacity:0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease) .1s, transform .8s var(--ease) .1s;
}
.v4-header.is-visible .v4-heading{ opacity:1; transform:translateY(0); }
.v4-heading .accent-word{
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   4. OPEN, UNBOXED CONTENT ROW (paragraphs 1 & 2)
   ============================================================ */

.v4-item{
  position: relative;
  padding-top: 30px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.v4-item.is-visible{ opacity:1; transform:translateY(0); }

/* hairline divider between items instead of card borders */
.v4-item + .v4-item::before{
  content:'';
  position: absolute;
  top: 0;
  left: calc(-1 * clamp(20px, 3vw, 40px));
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(15,23,42,0.12) 20%, rgba(15,23,42,0.12) 80%, transparent);
}

/* ghost numeral — large, behind the text, no container */
.v4-ghost-num{
  position: absolute;
  top: -20px;
  left: -6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 4.8rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(15,23,42,0.12);
  text-stroke: 1px rgba(15,23,42,0.12);
  z-index: -1;
  user-select: none;
}

.v4-item-head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 18px;
}
.v4-icon{
  width: 36px; height: 36px;
  flex-shrink: 0;
  display:flex; align-items:center; justify-content:center;
  border-radius: 10px;
  color: #fff;
  transition: transform .4s var(--ease);
}
.v4-item:hover .v4-icon{ transform: rotate(-8deg) scale(1.08); }
.v4-item:nth-of-type(1) .v4-icon{ background: linear-gradient(135deg, var(--primary), var(--accent)); }
.v4-item:nth-of-type(2) .v4-icon{ background: linear-gradient(135deg, var(--secondary), var(--primary)); }

.v4-item-label{
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: #94A3B8;
  font-style: italic;
  position: relative;
  display: inline-block;
}
.v4-item-label::after{
  content:'';
  position:absolute;
  left:0; bottom:-3px;
  width:0%; height:1.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width .4s var(--ease);
}
.v4-item:hover .v4-item-label::after{ width:100%; }

.v4-item p{
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ============================================================
   5. PARTNERSHIP LINE (paragraph 3) — open statement, no box
   ============================================================ */
.v4-partner{
  margin-top: 16px;
  padding-top: 25px;
  border-top: 1px solid rgba(15,23,42,0.08);
  display: flex;
  align-items: flex-start;
  gap: 22px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.v4-partner.is-visible{ opacity:1; transform:translateY(0); }
.v4-partner .mark{
  flex-shrink:0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: white!important;
  background: #335eac!important;
  padding-top: 3px;
}
.v4-partner p{
  color: var(--text);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.8;
  max-width: 82ch;
}

/* ============================================================
   6. RESPONSIVE
   ============================================================ */
@media (max-width: 900px){
  .v4-row{ grid-template-columns: 1fr; gap: 48px; }
  .v4-item + .v4-item::before{
    top: -24px; left: 0; right: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15,23,42,0.12) 20%, rgba(15,23,42,0.12) 80%, transparent);
  }
  .v4-ghost-num{ font-size: 3.6rem; }
}
@media (max-width: 560px){
  .v4-partner{ flex-direction: column; gap: 10px; }
}
/* ============================================================
   2. SECTION SHELL — fits within one desktop viewport
   ============================================================ */
.attend{
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: clamp(28px, 4vh, 56px) clamp(20px, 5vw, 64px);
  overflow: hidden;
}

/* subtle AI grid + glow + drifting particles behind everything */
.attend-ambient{ position:absolute; inset:0; z-index:0; pointer-events:none; }
/* .attend-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(15,23,42,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 65% 70% at 50% 45%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 45%, black 30%, transparent 85%);
} */
.attend-glow{
  position:absolute;
  top:50%; left:50%;
  width: 900px; height: 560px;
  transform: translate(-50%,-50%);
  background:
    radial-gradient(circle at 25% 30%, rgba(var(--primary-rgb),0.08), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(var(--secondary-rgb),0.08), transparent 60%);
  filter: blur(40px);
}
.attend-particle{
  position:absolute;
  width:4px; height:4px;
  border-radius:50%;
  background: rgba(var(--primary-rgb), 0.4);
  animation: particleFloat 9s ease-in-out infinite;
}
.p1{ top:14%; left:8%; animation-delay:0s; }
.p2{ top:70%; left:14%; background: rgba(var(--secondary-rgb),0.4); animation-delay:1.5s; }
.p3{ top:20%; left:88%; background: rgba(var(--accent-rgb),0.4); animation-delay:3s; }
.p4{ top:78%; left:90%; animation-delay:4.5s; }
.p5{ top:46%; left:4%; background: rgba(var(--accent-rgb),0.35); animation-delay:2.2s; }
@keyframes particleFloat{
  0%,100%{ transform: translateY(0); opacity:0.5; }
  50%{ transform: translateY(-18px); opacity:1; }
}

.attend-inner{
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

/* -------------------- HEADING -------------------- */
.attend-heading{
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 36px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.pi{background: linear-gradient(120deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;}
.attend-heading.is-visible{ opacity:1; transform:translateY(0); }

.attend-accent-line{
  width: 60px; height: 3px;
  margin: 16px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: transform .7s var(--ease) .15s;
}
.attend-accent-line.is-visible{ transform: scaleX(1); }

.attend-subtitle{
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease) .2s, transform .7s var(--ease) .2s;
}
.attend-subtitle.is-visible{ opacity:1; transform:translateY(0); }

/* ============================================================
   3. TWO-COLUMN LIST
   ============================================================ */
.attend-lists{
  margin-top: clamp(28px, 4vh, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 90px);
  text-align: left;
}

.attend-list{
  list-style: none;
}

.attend-list li{
  position: relative;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  transition: border-color .35s var(--ease);
}
.attend-list li:last-child{ border-bottom: none; }

.attend-list li.is-visible{ }

.attend-row{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 10px;
  border-radius: 12px;
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease),
              background .35s var(--ease), padding-left .35s var(--ease);
}
.attend-row.is-visible{ opacity: 1; transform: translateX(0); }

.attend-row:hover{
  background: rgba(var(--primary-rgb), 0.045);
  padding-left: 16px;
}

.attend-icon{
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  transition: background .35s var(--ease), color .35s var(--ease),
              box-shadow .35s var(--ease), transform .35s var(--ease);
}
.attend-row:hover .attend-icon{
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.5);
  transform: scale(1.08);
}

.attend-label{
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.attend-row:hover .attend-label{
  transform: translateX(4px);
  color: var(--primary);
}

/* animated divider glow sweep under each row on hover */
.attend-list li::after{
  content:'';
  position:absolute;
  left:10px; right:10px; bottom:-1px;
  height:1px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.attend-list li:hover::after{ transform: scaleX(1); }

/* ============================================================
   4. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px){
  .attend{ min-height: auto; padding-top: 60px; padding-bottom: 60px; }
  .attend-lists{ column-gap: 32px; }
  .attend-label{ font-size: 1.05rem; }
}

@media (max-width: 700px){
  .attend-lists{
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .attend-row{ padding: 13px 8px; }
}

/* ============================================================
   2. SECTION SHELL
   ============================================================ */
.agenda{
  position: relative;
  background: var(--section-bg);
  padding: 40px 40px;
  overflow: hidden;
}

.agenda-ambient{ position:absolute; inset:0; z-index:0; pointer-events:none; }


.agenda-inner{
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* -------------------- HEADER -------------------- */
.agenda-header{
  max-width: 640px;
  margin-bottom: 10px;
}
.agenda-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  opacity:0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.agenda-eyebrow::before{
  content:'';
  width: 26px; height: 1.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.agenda-header.is-visible .agenda-eyebrow{ opacity:1; transform:translateY(0); }

.agenda-heading{
  margin-top: 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: 36px;
  opacity:0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease) .1s, transform .8s var(--ease) .1s;
}
.agenda-header.is-visible .agenda-heading{ opacity:1; transform:translateY(0); }

/* ============================================================
   3. VERTICAL TIMELINE
   ============================================================ */
.timeline{
  position: relative;
  list-style: none;
}

/* connecting vertical line */
.timeline::before{
  content:'';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 84px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary) 50%, var(--accent));
  opacity: 0.25;
}
.timeline-progress{
  position: absolute;
  top: 8px;
  left: 84px;
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent));
  transition: height 1.2s var(--ease);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.4);
}

.agenda-item{
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  column-gap: 28px;
  padding: 20px 0;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.agenda-item.is-visible{ opacity: 1; transform: translateX(0); }

.agenda-duration{
  position: relative;
  text-align: right;
  padding-top: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.agenda-node{
  position: absolute;
  top: 16px;
  right: -33px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  z-index: 2;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.agenda-item:hover .agenda-node{
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.14);
  transform: scale(1.15);
}

.agenda-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 18px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.agenda-item:hover .agenda-card{
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 20px 44px -26px rgba(15,23,42,0.22);
  transform: translateY(-2px);
}

.agenda-session{
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.4;
}

.agenda-format{
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(var(--secondary-rgb), 0.08);
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.agenda-format.is-empty{
  background: transparent;
  color: #CBD5E1;
}

/* Sessions marked as keynote-style get a subtle accent bar */
.agenda-item.is-highlight .agenda-card{
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.03), rgba(var(--secondary-rgb),0.04));
}

/* ============================================================
   4. RESPONSIVE
   ============================================================ */
@media (max-width: 720px){
  .timeline::before, .timeline-progress{ left: 6px; }
  .agenda-item{
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding-left: 26px;
  }
  .agenda-duration{
    text-align: left;
    padding-top: 0;
  }
  .agenda-node{ top: 4px; left: -22px; right:auto; }
  .agenda-card{ padding: 16px 18px; }
}

@media (max-width: 480px){
  .agenda-card{ flex-direction: column; align-items: flex-start; gap: 10px; }
}
.about-low-area {
    padding-top: 60px;
    padding-bottom: 60px;
    background: var(--bg);
    position: relative;
}

.apac-footer {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  color: #0b2545;
  padding-top: 60px;
  font-family: "Poppins", sans-serif;
}

/* Decorative top wave */
.apac-footer::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url('https://i.ibb.co/8s6ghm2/footer-wave.svg') repeat-x;
  background-size: cover;
  animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
  from { background-position-x: 0; }
  to { background-position-x: 1000px; }
}

.footer-top {
  padding: 0px 0;
}

.footer-logo {
  max-width: 209px;
  transition: transform 0.3s ease;
  filter: invert(1); 
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-heading {
  font-weight: 600;
  font-size: 1.3rem;
  color: #092754;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00b4d8, #48cae4);
  border-radius: 2px;
  margin-top: 8px;
}

.footer-address {
  font-size: 14px;
  color: #023047;
  line-height: 1.7;
}

.footer-text {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  text-align: justify;
}

/* Social icons */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social {
    font-size: 13px;
    color: #006d77;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s 
ease;
}

.social:hover {
  color: white;
  background: #00b4d8;
  transform: translateY(-3px);
}

.footer-tags {
  font-weight: 600;
  color: #0077b6;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
}

/* Bottom strip */
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}

.copyright {
  font-size: 0.9rem;
  color: #222;
}
.d-desk{display: block;}
.d-mob{display: none;}

@media (max-width: 768px) {
  .footer-text {
    text-align: left;
  }
.nav-links a{
    color: black;
}
.v4-heading {
    line-height: 1.3;
    font-size: 26px;

}
.attend-heading{
    font-size: 23px;
}
  .social-links {
    justify-content: flex-start;
  }
  .attend{
            padding-top: 5px;
  }
  .d-desk{display: none;}
.d-mob{display: block;}
}

.v4-item p{
    text-align: justify;
}
.v4-partner p{
    text-align: justify;
}
/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 119, 182, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

/* Show when scrolled */
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover Glow Effect */
#backToTop:hover {
  background: linear-gradient(135deg, #0096c7, #48cae4);
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.6), 0 0 40px rgba(0, 180, 216, 0.3);
  transform: translateY(-3px);
}

/* Floating pulse animation */
@keyframes waterPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 180, 216, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0); }
}

#backToTop.show:hover {
  animation: waterPulse 1.5s infinite;
}