/* ROOT VARIABLES */
:root{
  --bg: #000;
  --panel: rgba(255,0,0,0.06);
  --red: #ff0000;
  --red-strong: #ff4444;
  --yellow: #ffd800;
  --text: #ffffff;
  --max-width: 1100px;
  --radius: 18px;
  --gap: 1rem;
  --header-h: 140px;
  --font-sans: "Poppins", system-ui;
  --font-heading: "Abril Fatface", "Playfair Display", serif;
  --heading-gradient-a: #ff6b6b;
  --heading-gradient-b: #ffd54d;
}

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

/* BODY */
body{
  font-family: var(--font-sans);
  /* Colorful animated background replacing the plain black */
  background:
    radial-gradient(30vmax 20vmax at 8% 18%, rgba(255,107,107,0.18), transparent 18%),
    radial-gradient(34vmax 24vmax at 92% 82%, rgba(255,213,77,0.14), transparent 20%),
    linear-gradient(135deg, #2b0020 0%, #3a0018 30%, #4a0910 60%, #2a0010 100%);
  background-size: 180% 180%, 180% 180%, 100% 100%;
  animation: bgShift 18s ease-in-out infinite;
  color: var(--text);
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 1rem);
}


@keyframes bgShift{
  0%{
    background-position: 0% 0%, 100% 100%, 0 0;
  }
  50%{
    background-position: 8% 6%, 92% 88%, 0 0;
  }
  100%{
    background-position: 0% 0%, 100% 100%, 0 0;
  }
}

/* Background logo element (separate from body background) */
#bgLogo{
  position: fixed;
  left: 50%;
  top: 120px; /* aligns roughly with body background position */
  transform: translateX(-50%) translateY(0) scale(1);
  width: 420px;
  height: 420px;
  background-image: url('Pictures/logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.06; /* start subtle */
  pointer-events: none;
  z-index: 0; /* behind content (header has 1000) */
  transition: opacity 360ms ease, transform 420ms cubic-bezier(.2,.9,.2,1);
  filter: saturate(0.95) contrast(0.95);
}

@media (max-width:700px){
  #bgLogo{ display:none; }
}

/* Background photos container */
#bgPhotos{ position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
#bgPhotos .bg-photo{ position: absolute; width: 46vmax; max-width: 720px; opacity: 0.14; filter: saturate(0.92) blur(0.1px) contrast(0.98); transform-origin: center; transition: transform 800ms linear; will-change: transform, opacity; }

/* Individual placements — layered subtly around the page */
#bgPhotos .bg-photo:nth-child(1){ left: -6vw; top: -8vh; transform: translateZ(0) rotate(-4deg); }
#bgPhotos .bg-photo:nth-child(2){ right: -12vw; top: 6vh; transform: translateZ(0) rotate(6deg); }
#bgPhotos .bg-photo:nth-child(3){ left: 8vw; bottom: -6vh; transform: translateZ(0) rotate(2deg); }
#bgPhotos .bg-photo:nth-child(4){ right: 4vw; bottom: -12vh; transform: translateZ(0) rotate(-8deg); }
#bgPhotos .bg-photo:nth-child(5){ left: 30vw; top: 32vh; width: 36vmax; max-width:520px; transform: translateZ(0) rotate(10deg); opacity:0.05 }
/* extra placements for added images */
#bgPhotos .bg-photo:nth-child(6){ left: 10vw; top: 50vh; width: 40vmax; max-width:640px; transform: translateZ(0) rotate(-12deg); opacity:0.04 }
#bgPhotos .bg-photo:nth-child(7){ right: 18vw; top: 28vh; width: 34vmax; max-width:560px; transform: translateZ(0) rotate(8deg); opacity:0.045 }
#bgPhotos .bg-photo:nth-child(8){ left: -8vw; bottom: 22vh; width: 30vmax; max-width:520px; transform: translateZ(0) rotate(4deg); opacity:0.035 }
#bgPhotos .bg-photo:nth-child(9){ right: -4vw; bottom: 36vh; width: 44vmax; max-width:720px; transform: translateZ(0) rotate(-6deg); opacity:0.03 }
#bgPhotos .bg-photo:nth-child(10){ left: 48vw; top: 8vh; width: 28vmax; max-width:460px; transform: translateZ(0) rotate(14deg); opacity:0.04 }

/* Subtle movement animation handled by JS; provide a CSS fallback for reduced-motion */
@media (prefers-reduced-motion: reduce){
  #bgPhotos .bg-photo{ transition: none !important; transform: none !important; }
}

@media (max-width:900px){
  #bgPhotos{ display:none; }
}

/* HEADER */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  height: var(--header-h);

  display: grid;
  grid-template-columns: 1fr auto 1fr; /* 🔥 KEY CHANGE */
  align-items: center;

  padding: 0.5rem 1.5rem;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  z-index: 1000;
}



.logo-img{
  width:110px; height:110px;
  border-radius:50%;
  background: #fff; /* white interior */
  border:8px solid var(--red); /* red ring */
  object-fit:cover;
  box-shadow: 0 12px 36px rgba(0,0,0,0.6), inset 0 2px 0 rgba(255,255,255,0.08);
  display:block;
}

/* HEADER TEXT */


@keyframes gradientMove{
  0%{background-position:0%}
  50%{background-position:100%}
  100%{background-position:0%}
}


/* BUTTON */
.cta, .ButtonR{
  display:inline-block;
  background: var(--red);
  padding: 0.6rem 1.3rem;
  border-radius: 24px;
  text-decoration:none;
  color:white;
  font-weight:600;
  transition:0.25s;
}

.cta:hover, .ButtonR:hover{
  background: var(--yellow);
  color: var(--red);
  transform: translateY(-4px);
}

/* ABOUT SECTION */
.about{
  background: var(--panel);
  border:2px solid var(--red);
  border-radius: var(--radius);
  padding:2rem;
  max-width:700px;
  margin:2rem auto;
  text-align:center;
  /* initial hidden/offset state for slide-up reveal */
  transform: translateY(28px);
  opacity: 0;
  transition: transform 620ms cubic-bezier(.2,.9,.2,1), opacity 480ms ease;
}
/* Align EVENTS width exactly like ABOUT */
.events {
  max-width: 700px;      /* SAME as .about */
  margin: 2rem auto;
  padding: 0;            /* remove side padding difference */
}
.events .container {
  max-width: 100%;
  padding: 0;
}

.events .card {
  width: 100%;
}
/* visible state: slide into place and fade in */
.about.visible,
.events.visible,
.tech.visible,
.nontech.visible{
  transform: translateY(0);
  opacity: 1;
}

/* About grid layout for MXCEL + KEC */
.about .about-grid{
  max-width:1100px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: 40% 60%;
  gap: 2rem;
  align-items: center;
}
.about .about-logo{ width:100%; max-width:360px; display:block; margin:0 auto; border-radius:8px; box-shadow: 0 14px 40px rgba(0,0,0,0.35); }
.about .about-content h2{ 
  font-size:2.6rem; 
  color: #ffffff;   /* changed to white */
  margin-bottom:0.6rem; 
  letter-spacing:1px 
}

.about .about-content p{ 
  color: #ffffff;   /* changed to white */
  line-height:1.9; 
  font-size:1.02rem; 
  margin-bottom:1rem 
}

@media (max-width:900px){
  .about .about-grid{ grid-template-columns: 1fr; text-align:left; padding: 0 1rem; }
  .about .about-logo{ max-width:240px; }
}
.slider-section {
  width: 100%;
  margin: 1rem 0 2rem 0;
  display: flex;
  justify-content: center;
}
.slider {
  width: 95%;
  max-width: 1100px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  /* allow transform updates for parallax (GPU promoted) */
  will-change: transform;
}
.slides {
  display: flex;
  transition: transform 450ms ease;
  will-change: transform;
}
.slide {
  min-width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; /* keep for accessibility but hide default image */
}
.slide-caption{
  position: absolute;
  left: 20px;
  bottom: 18px;

  max-width: 52%;
  padding: 10px 14px;

  background: rgba(0,0,0,0.35); /* subtle glass */
  backdrop-filter: blur(6px);
  border-radius: 10px;

  color: #fff;
  z-index: 5;

  transform: translateY(8px);
  opacity: 0;

  transition:
    transform 420ms cubic-bezier(.2,.9,.2,1),
    opacity 420ms ease;
}

.slide-caption h3{
  margin: 0 0 2px 0;
  font-size: clamp(1rem, 2vw, 1.4rem); /* 🔥 responsive */
  font-weight: 700;
  color: var(--yellow);
}

.slide-caption p{
  margin: 0;
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
  color: #fffccf;
  line-height: 1.4;
}

.slide.active .slide-caption,
.slide.show-caption .slide-caption{
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 600px){
  .slide-caption{
    left: 12px;
    bottom: 12px;
    max-width: 85%;
    padding: 8px 10px;
  }
}

/* Event card hover/focus micro-interactions */
.tech:hover, .nontech:hover,
.tech:focus-within, .nontech:focus-within{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(255,0,0,0.12);
}

.tech, .nontech{
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), box-shadow 260ms ease;
}

/* Back-to-top button */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  display: grid;
  place-items:center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
  cursor: pointer;
  z-index: 1200;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 240ms ease, transform 240ms ease;
}
.back-to-top.visible{ opacity: 1; transform: translateY(0); }

/* Focus styles for accessibility */
a:focus, button:focus, .dot:focus{
  outline: 3px solid rgba(255, 215, 0, 0.18);
  outline-offset: 4px;
}
.slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 6;
}
.prev { left: 14px; }
.next { right: 14px; }
.prev:hover, .next:hover { background: rgba(255,0,0,0.85); }
.dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 8;
}
.dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.dot.active { background: #ff0000; transform: scale(1.15); }

.tech{
  border:2px solid var(--red);
}

.nontech{
  border:2px solid var(--yellow);
}

/* Card layout inside events */
.card{
  display:flex;
  flex-direction:column;
  height: auto;
  min-height: unset;
  background: rgba(0,0,0,0.64);
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 48px rgba(0,0,0,0.58);
  backdrop-filter: blur(6px) saturate(1.05);
}
/* Hide details by default */
.card .event-details {
  display: none !important;
}
.card.expanded .event-details {
  display: block !important;
}




@media (max-width: 520px) {
  .register-btn {
    width: 100%;
    margin-top: 22px;
  }

  .detail-block:last-child {
    margin-bottom: 5px;
  }
}




.detail-block {
  background: rgba(0,0,0,0.35);
  border-left: 4px solid #ffd800;
  padding: 10px 12px;
  border-radius: 10px;
}


.detail-block h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #ffd800;
}

.detail-block p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #f1f1f1;
}
.card-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;           /* 🔥 uniform vertical rhythm */
  padding: 24px 22px;  /* 🔥 equal inner spacing */
}


.card-title{ font-size:1.25rem; color:var(--red-strong); margin-bottom:0.35rem; text-align:center; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.card-desc{ color:#fff; opacity:1; margin-bottom:0.6rem; text-align:center; text-shadow: 0 6px 18px rgba(0,0,0,0.6); }
.card-list
{ list-style: none; 
  padding-left:0;
   margin:8px 0 4px; 
   color:var(--yellow); 
   display:inline-block; text-align:left; font-weight:600; 
  }
.card-list li{ margin:8px 0;
  opacity:0.98; 
  text-shadow: 0 2px 8px rgba(0,0,0,0.45); 
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.register-btn{
  display:inline-flex; align-items:center; gap:8px;
  background: linear-gradient(180deg, #ff3b3b, #ff6b6b);
  color:#fff; padding:0.65rem 1.15rem; border-radius: 999px; text-decoration:none; font-weight:800;
  box-shadow: 0 10px 28px rgba(255,0,0,0.25), 0 2px 6px rgba(0,0,0,0.45) inset;
  transition: transform 200ms cubic-bezier(.2,.9,.2,1), box-shadow 200ms ease;
  border: 1px solid rgba(255,255,255,0.06);
}
/* COMMON ACTION BUTTON STYLE */
.action-btn,
.register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(.2,.9,.2,1), box-shadow 200ms ease;
  margin-top:6px,
}

/* REGISTER (Primary) */
.register-btn {
  background: linear-gradient(180deg, #ff3b3b, #ff6b6b);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 10px 28px rgba(255,0,0,0.25),
    0 2px 6px rgba(0,0,0,0.45) inset;
}

/* VIEW DETAILS (Secondary – same style, outlined) */
/* ================= VIEW DETAILS – BLUE PREMIUM STYLE ================= */
/* ================= FORCE VIEW DETAILS FULL BLUE ================= */
.details-btn {
  background: linear-gradient(180deg, #1e90ff, #0b5ed7) !important;
  color: #ffffff !important;
  border: 1px solid rgba(100,180,255,0.9) !important;
  box-shadow:
    0 10px 28px rgba(30,144,255,0.45),
    inset 0 2px 6px rgba(255,255,255,0.25);
  margin-bottom: 4px;
}

/* Hover */
.details-btn:hover {
  background: linear-gradient(180deg, #4da3ff, #1e90ff) !important;
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 20px 48px rgba(30,144,255,0.65),
    inset 0 3px 8px rgba(255,255,255,0.3);
}

/* Active */
.details-btn:active {
  transform: translateY(-2px) scale(0.98);
}




.register-btn:hover, .register-btn:focus{ transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 44px rgba(255,0,0,0.32), 0 4px 10px rgba(0,0,0,0.5) inset; color: #fffccf }

/* Add a colored top accent line to differentiate cards */
.tech.card::before, .nontech.card::before{
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
}
.tech.card::before{ background: linear-gradient(90deg, var(--red), rgba(255,100,100,0.6)); }
.nontech.card::before{ background: linear-gradient(90deg, var(--yellow), rgba(255,230,120,0.6)); }

/* Make sure card position is relative for pseudo-element */
.tech.card, .nontech.card{ position: relative; overflow: visible; }

/* FOOTER */
.Des{
  text-align:center;
  color:var(--yellow);
  margin-top:2rem;
}

/* RESPONSIVE */
@media(max-width:900px){
  :root{ --header-h: 120px; }
}

@media(max-width:700px){
  .header-text h1{ font-size:1.8rem; }
  .logo-img{ width:84px; height:84px; border-width:6px }
}

/* Pillars / Team cards */
.pillars-section{ padding: 3rem 0 4rem; background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.06)); }
.pillars-section .pillars-title{ text-align:center; font-family:var(--font-heading); font-size:2.6rem; color:var(--yellow); text-shadow: 0 8px 30px rgba(0,0,0,0.6); margin-bottom:0.6rem; letter-spacing:1px }
.pillars-section .pillars-sub{ text-align:center; color:#dcdcdc; font-style:italic; margin-bottom:1.8rem }
.pillars-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:2rem; max-width:1200px; margin:0 auto; padding:0 1rem }
.pillar-card{ background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.5)); border-radius:14px; overflow:hidden; position:relative; box-shadow: 0 20px 60px rgba(0,0,0,0.6); transition: transform 320ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms ease; }
.pillar-card img{ width:100%; height:auto; object-fit:contain; object-position:center; display:block; background:#000; border-top-left-radius:14px; border-top-right-radius:14px; }
.pillar-card:hover{ transform: translateY(-8px) scale(1.02); box-shadow: 0 30px 80px rgba(0,0,0,0.7) }
.pillar-caption{ position:relative; padding:16px 14px; background: linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0.9)); color:var(--yellow); font-weight:800; text-align:center; font-family:var(--font-heading); font-size:1.08rem; line-height:1.25; display:block; text-shadow: 0 3px 9px rgba(0,0,0,0.85); }

/* Registration banner placed above pillars */
.registration-banner{ max-width:1100px; margin:1.2rem auto; background: linear-gradient(90deg, rgba(255,0,0,0.06), rgba(255,215,0,0.02)); border:2px solid rgba(255,0,0,0.12); border-radius:12px; padding:18px; text-align:center; display:flex; flex-direction:column; gap:10px; align-items:center; justify-content:center }
.registration-banner h3{ margin:0; color:var(--red); font-size:1.4rem; font-family:var(--font-heading) }
.registration-banner .reg-sub{ margin:0; color:#f2e9c9; opacity:0.95 }
.registration-banner .ButtonR.big{ padding:0.9rem 1.6rem; font-size:1rem; border-radius:28px; box-shadow: 0 14px 44px rgba(255,0,0,0.12) }


@media (max-width:900px){
  .pillars-grid{ grid-template-columns: 1fr; }
  .pillar-card img{ height:220px }
  .pillars-section .pillars-title{ font-size:2rem }
}

/* Combo registration page styles */
.combo-page{ font-family: var(--font-sans); color:var(--text);
  /* Make the page body semi-transparent so the animated colorful background shows through */
  background: rgba(6,6,6,0.08);
  backdrop-filter: blur(2px) saturate(1.06);
  min-height:100vh;
  padding:4rem 1rem;
  position: relative; /* for the ::before logo */
  overflow: visible;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.02);
}

/* Transparent logo overlay centered behind content */
.combo-page::before{
  content: '';
  position: absolute;
  left: 50%;
  top: calc(var(--header-h) + 120px);
  /* allow JS to nudge the logo with CSS variables set by script */
  transform: translateX(calc(-50% + var(--logo-offset-x, 0px))) translateY(calc(-10% + var(--logo-offset-y, 0px)));
  width: min(68vmin, 840px);
  height: min(68vmin, 840px);
  background-image: url('Pictures/logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.08; /* slightly more visible so it reads on darker edges */
  pointer-events: none;
  z-index: 0;
  filter: saturate(0.95) blur(0.2px) contrast(0.98);
  transition: transform 420ms cubic-bezier(.2,.9,.2,1), opacity 420ms ease;
}

/* animated, subtle overlay for depth: slow-moving gradient */
.combo-page::after{
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(40vmax 30vmax at 8% 20%, rgba(255,107,107,0.08), transparent 14%),
    radial-gradient(36vmax 26vmax at 92% 84%, rgba(255,213,77,0.07), transparent 16%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0));
  mix-blend-mode: overlay;
  opacity: 0.95;
  animation: comboOverlayMove 18s linear infinite;
}

@keyframes comboOverlayMove{
  0%{ background-position: 0% 0%, 100% 100%, 0 0 }
  50%{ background-position: 6% 4%, 94% 88%, 0 0 }
  100%{ background-position: 0% 0%, 100% 100%, 0 0 }
}

/* stronger interactive hover for combo cards */
.combo-hero{ transition: transform 380ms cubic-bezier(.2,.9,.2,1), box-shadow 380ms ease, filter 380ms ease; }
.combo-hero:hover{ transform: translateY(-8px) scale(1.01); box-shadow: 0 30px 80px rgba(0,0,0,0.6); filter: saturate(1.05) brightness(1.02); }

/* CTA pulse to draw attention */
.combo-cta{ transition: transform 180ms ease, box-shadow 360ms ease; }
.combo-cta:hover{ transform: translateY(-6px) scale(1.01); box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 36px rgba(255,200,60,0.06); }
.combo-cta:focus{ outline: 3px solid rgba(255,218,24,0.12); }

@keyframes pulseGlow{
  0%{ box-shadow: 0 8px 22px rgba(255,180,50,0.06); transform: translateY(0) }
  50%{ box-shadow: 0 18px 48px rgba(255,180,50,0.12); transform: translateY(-2px) }
  100%{ box-shadow: 0 8px 22px rgba(255,180,50,0.06); transform: translateY(0) }
}
.combo-cta.pulse{ animation: pulseGlow 2.8s ease-in-out infinite; }

/* details toggle micro-interaction */
.details-toggle{ transition: transform 220ms ease, box-shadow 220ms ease; }
.details-toggle:hover{ transform: translateX(6px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }

/* ensure content sits above overlay */
.combo-inner, .combo-actions, .combo-small-actions{ position: relative; z-index: 3 }

/* ensure combo content appears above the logo */
.combo-hero, .combo-subnav, .combo-form-section{ position: relative; z-index: 2 }
.combo-hero{
  background: linear-gradient(180deg, rgba(255,246,205,0.98), rgba(255,234,119,0.98));
  color:#3a1f00;
  padding:44px 36px;
  border-radius:18px;
  max-width:1100px;
  margin: 0 auto 34px;
  box-shadow: 0 18px 60px rgba(17,6,6,0.42), inset 0 2px 0 rgba(255,255,255,0.06);
  border: 1px solid rgba(255,190,30,0.12);
}
.combo-hero{
  font-family: 'Poppins', system-ui;
  color: var(--text);
}

/* Stylish title: elegant serif display with small-caps feel */
.combo-hero .combo-title{
  font-family: 'Playfair Display', var(--font-heading);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #4a1700;
  -webkit-font-smoothing:antialiased;
}

/* Decorative small subtitle under title (uses summary text style) */
.combo-hero .combo-details summary.details-toggle{
  font-family: 'Unbounded', var(--font-sans);
  font-weight: 800;
  color: #2b1a12;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(74,20,0,0.06);
}

/* List typography: modern rounded font, taller leading and fancy bullets */
.combo-list{ font-family: 'Unbounded', var(--font-sans); font-size:1.06rem; color:#332116; line-height:2.05; list-style: none; padding-left: 0; }
.combo-list li{ margin:0 0 14px; position:relative; padding-left:0; }
.combo-list li::before{ content: none; }

/* Emphasized underlined links inside list */
.combo-list a{ text-decoration: underline; text-decoration-color: rgba(90,20,0,0.9); font-weight:800; color: #2b160e }

/* CTA typography: bold rounded, letterspaced, with subtle animated shine */
.combo-cta{ font-family: 'Unbounded', var(--font-sans); letter-spacing:1.6px; font-size:1.03rem; }
.combo-cta::after{ content: ''; position:absolute; left:-40%; top:0; width:40%; height:100%; background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12), rgba(255,255,255,0.06)); transform: skewX(-18deg) translateX(-120%); transition: transform 860ms cubic-bezier(.2,.9,.2,1); pointer-events:none; }
.combo-cta:hover::after{ transform: skewX(-18deg) translateX(220%); }

/* first-letter decorative drop cap on long paragraphs (subtle) */
.combo-hero p:first-of-type::first-letter{ font-size:2.4rem; font-weight:900; font-family: 'Playfair Display', var(--font-heading); color: #5a2000; margin-right:8px; float:left; line-height:1; }
.combo-title{
  text-align:left;
  margin:0 0 18px;
  font-family: 'Abril Fatface', 'Playfair Display', var(--font-heading);
  font-size:2.6rem;
  color:#5b2000;
  font-weight:700;
  letter-spacing:1.6px;
  display:block;
  position:relative;
  padding:12px 18px;
  border-radius:12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,240,180,0.06));
  box-shadow: 0 18px 48px rgba(91,32,0,0.08), 0 6px 18px rgba(0,0,0,0.12);
  -webkit-font-smoothing:antialiased;
  /* Use lining numerals so digits (e.g. '1') match cap height */
  font-variant-numeric: lining-nums;
  -webkit-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.combo-title::after{ content: ''; display:block; height:6px; width:48%; background: linear-gradient(90deg, rgba(90,20,0,0.95), rgba(200,120,10,0.85)); border-radius:4px; margin-top:12px }
.combo-title:hover{ transform: translateY(-2px); }
.combo-list{ max-width:980px; margin:0 auto 18px; padding-left:1.2rem; line-height:1.9; color:#351f12; font-weight:600 }
.combo-list li{ margin:0 0 14px; font-size:1.02rem }
.combo-cta{
  display:inline-block; width:100%; max-width:880px; text-align:center; margin:18px auto 0; padding:18px 28px; background: linear-gradient(180deg,#2e2e2e,#1f1f1f);
  color:#fff; text-decoration:none; border-radius:14px; font-weight:900; font-size:1.02rem; letter-spacing:1.2px; text-transform:uppercase; box-shadow: 0 20px 56px rgba(0,0,0,0.56);
  position:relative; overflow:hidden;
}
.combo-cta .ripple{ background: rgba(255,255,255,0.06) }
.combo-cta:hover{ transform:translateY(-6px); box-shadow: 0 32px 84px rgba(0,0,0,0.6) }

/* Combo section reveal + staggered list animations (slower, smoother) */
.combo-hero{ opacity:0; transform: translateY(20px); transition: transform 620ms cubic-bezier(.2,.9,.2,1), opacity 520ms ease; }
.combo-hero.visible{ opacity:1; transform: translateY(0); }
.combo-hero .combo-list li{ opacity:0; transform: translateY(10px); transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.9,.2,1); }
.combo-hero.visible .combo-list li{ opacity:1; transform: translateY(0); }
.combo-hero.visible .combo-list li:nth-child(1){ transition-delay: 100ms }
.combo-hero.visible .combo-list li:nth-child(2){ transition-delay: 180ms }
.combo-hero.visible .combo-list li:nth-child(3){ transition-delay: 260ms }
.combo-hero.visible .combo-list li:nth-child(4){ transition-delay: 340ms }
.combo-hero.visible .combo-list li:nth-child(5){ transition-delay: 420ms }

/* CTA ripple effect container */
.combo-cta{ position: relative; overflow: hidden; }
.combo-cta .ripple{ position: absolute; border-radius: 50%; transform: scale(0.01); background: rgba(255,255,255,0.18); pointer-events: none; box-shadow: 0 6px 18px rgba(255,255,255,0.06); }

/* Subnav for quick combo navigation */
.combo-subnav{ position: sticky; top: calc(var(--header-h) + 8px); z-index: 1050; display:flex; justify-content:center; padding:8px 0; }
.combo-subnav-inner{ background: rgba(0,0,0,0.6); padding:6px 10px; border-radius:999px; display:inline-flex; gap:8px }
.combo-subnav-inner a{ color:#fff; padding:8px 12px; border-radius:8px; text-decoration:none; font-weight:700 }
.combo-subnav-inner a:hover, .combo-subnav-inner a.active{ background: linear-gradient(90deg, var(--red), var(--red-strong)); color:#fff }

/* Spiral selector styles */
.spiral-selector{
  position: fixed;
  right: 28px;
  top: calc(var(--header-h) + 48px);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display:block;
  z-index: 1150;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.spiral-selector .spiral-btn,
.spiral-selector .spiral-center{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.01);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(180deg, var(--red), var(--red-strong));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
  transition: transform 520ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms ease, opacity 220ms ease;
  display: grid; place-items: center;
}
.spiral-selector .spiral-center{
  width: 62px; height: 62px; background: rgba(255,255,255,0.04); color: var(--yellow); font-size:18px; font-weight:900; box-shadow:none; border: 2px solid rgba(255,255,255,0.04);
}
.spiral-selector .spiral-btn:hover{ transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 18px 44px rgba(0,0,0,0.6); }
.spiral-selector .spiral-btn:focus{ outline: 3px solid rgba(255,218,24,0.14); }
.spiral-selector.open .spiral-btn{ transform: translate(-50%, -50%) scale(1); }

/* active state */
.spiral-btn.active{ background: linear-gradient(180deg, var(--yellow), color-mix(in srgb, var(--yellow) 60%, var(--red))); color: #331200; transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 22px 60px rgba(0,0,0,0.6); }

/* shrink on small screens */
@media (max-width:700px){
  .spiral-selector{ display:none }
}

/* Floating tools visuals - expanded to cover full viewport so icons can appear around the page */
#floatingTools{ position: fixed; inset: 0; pointer-events: none; z-index: 1200; display: block; }
#floatingTools .tool{ position: absolute; width: 72px; height: 72px; fill: currentColor; color: #fff; opacity: 0.92; mix-blend-mode: screen; filter: drop-shadow(0 12px 28px rgba(0,0,0,0.6)); transition: transform 240ms cubic-bezier(.2,.9,.2,1), opacity 180ms ease; pointer-events: none; }
#floatingTools .tool:hover{ opacity: 0.98; transform: scale(1.08) rotate(8deg); }

/* Spread tool placements around the viewport so they appear all over the page */
#floatingTools .tool-gear{ left: 6%; top: 10%; width:116px; height:116px; color: #ffd54d; opacity:0.96 }
#floatingTools .tool-wrench{ right: 8%; top: 14%; width:96px; height:96px; color: #ff6b6b; opacity:0.94 }
#floatingTools .tool-screwdriver{ right: 12%; top: 62%; width:92px; height:92px; color: #fff3b0; opacity:0.94 }
#floatingTools .tool-hammer{ left: 10%; top: 68%; width:104px; height:104px; color: #ffc28a; opacity:0.92 }
#floatingTools .tool-bolt{ left: 44%; top: 6%; width:86px; height:86px; color: #fff7c0; opacity:0.9 }
#floatingTools .tool-cog2{ left: 12%; top: 42%; width:76px; height:76px; color: #ffd36a; opacity:0.92 }
#floatingTools .tool-nut{ right: 22%; top: 34%; width:72px; height:72px; color: #ffd36a; opacity:0.9 }
#floatingTools .tool-piston{ left: 30%; top: 54%; width:82px; height:82px; color: #ffc58e; opacity:0.9 }
#floatingTools .tool-spanner{ right: 6%; top: 58%; width:72px; height:72px; color: #ff9aa2; opacity:0.9 }
#floatingTools .tool-ruler{ left: 52%; top: 12%; width:64px; height:64px; color: #fff9c9; opacity:0.88 }

/* gentle float animation (CSS keyframes) */
@keyframes toolFloatA{ 0%{ transform: translateY(0) rotate(0deg) } 50%{ transform: translateY(-14px) rotate(6deg) } 100%{ transform: translateY(0) rotate(0deg) } }
@keyframes toolFloatB{ 0%{ transform: translateY(0) rotate(0deg) } 50%{ transform: translateY(10px) rotate(-6deg) } 100%{ transform: translateY(0) rotate(0deg) } }

#floatingTools .tool-gear{ animation: toolFloatA 6.4s ease-in-out infinite; }
#floatingTools .tool-wrench{ animation: toolFloatB 7.2s ease-in-out infinite; }
#floatingTools .tool-screwdriver{ animation: toolFloatA 5.8s ease-in-out infinite; }
#floatingTools .tool-hammer{ animation: toolFloatB 6.8s ease-in-out infinite; }
#floatingTools .tool-bolt{ animation: toolFloatA 8.2s ease-in-out infinite; }

/* smaller and fewer floats on small screens */
@media (max-width:900px){
  #floatingTools .tool{ display:none }
}

/* Details toggle */
.combo-details{ background: transparent; border-radius:6px }
.combo-details summary{ list-style:none; cursor:pointer; padding:6px 0; color:#2b2b2b; font-weight:800 }
.combo-details summary::-webkit-details-marker{ display:none }
.details-toggle{ display:inline-block; background: rgba(255,255,255,0.02); padding:6px 10px; border-radius:999px; color:#331200; border:1px solid rgba(0,0,0,0.04); margin-bottom:10px }

/* small action buttons next to CTA */
.combo-small-actions{ display:inline-flex; gap:8px; margin-left:12px; vertical-align:middle }
.small-btn{ background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border:none; color:#fff; padding:10px 14px; border-radius:999px; cursor:pointer; font-weight:800; display:inline-flex; align-items:center; gap:8px; box-shadow: 0 8px 22px rgba(0,0,0,0.36); transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease }
.small-btn svg{ width:20px; height:20px; display:block; flex-shrink:0; }
.small-btn:hover{ transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.46); background: linear-gradient(90deg, rgba(255,200,60,0.14), rgba(255,120,60,0.08)); color:#2b1308 }
.small-btn:active{ transform: translateY(-2px) scale(0.996) }

.small-btn.copy{ background: linear-gradient(90deg, rgba(255,249,200,0.12), rgba(255,240,180,0.06)); color:#4b2a00 }
.mall-btn.copy svg, .small-btn.copy svg{ color: #4b2a00 }
.small-btn.share{ background: linear-gradient(90deg, rgba(255,140,120,0.12), rgba(255,80,80,0.06)); color:#3a0f0f }
.small-btn.share svg{ color: #3a0f0f }

/* icon-only compact variant */
.small-btn.icon-only{ padding:10px; width:44px; justify-content:center }
.small-btn.icon-only .label{ display:none }

.small-btn .label{ font-size:0.95rem; font-weight:800 }

.combo-form-section{ max-width:900px; margin: 0 auto; background: rgba(255,255,255,0.02); padding:20px; border-radius:10px }
.combo-inner{ padding:8px 14px }
.form-title{ margin:8px 0 6px; color:var(--red) }
.muted{ color:#ddd; margin-bottom:12px }
.combo-form label{ display:block; margin:10px 0; font-weight:700 }
.combo-form input[type="text"], .combo-form input[type="email"], .combo-form input[type="tel"], .combo-form input[type="file"]{ width:100%; padding:10px 12px; border-radius:8px; border:1px solid rgba(255,255,255,0.06); background: rgba(0,0,0,0.55); color:var(--text) }
.form-row{ display:flex; gap:10px; align-items:center; margin-top:12px }
.submit-btn{ background: linear-gradient(180deg,#ff6b6b,#ff3b3b); color:#fff; padding:10px 14px; border:none; border-radius:8px; font-weight:800; cursor:pointer }
.ghost-btn{ background: transparent; color:var(--yellow); border:1px solid rgba(255,255,255,0.06); padding:10px 12px; border-radius:8px; cursor:pointer }
.form-message{ margin-top:12px; font-weight:700 }

@media (max-width:700px){
  .combo-form .form-row{ flex-direction:column }
  .combo-cta{ padding:12px }
}

/* Compact page body for pages that use a static header (e.g., TechPage) */
.tech-page-body{ padding-top: 1rem; }
.tech-page-body .site-header{ position:relative; height:64px; padding:0.4rem 1rem; background: rgba(0,0,0,0.0); }
.tech-page-body .site-header .logo-img{ width:72px; height:72px }

/* TechPage: compact, styled logo badge */
.tech-page-body .HomeLogo{ display:flex; align-items:center; }
.tech-page-body .HomeLogo .header-image{
  width:72px;
  height:72px;
  border-radius:50%;
  background:#fff;
  border:5px solid var(--red);
  object-fit:cover;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6), inset 0 2px 0 rgba(255,255,255,0.08);
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms ease;
}
.tech-page-body .HomeLogo .header-image:hover{ transform: scale(1.06); box-shadow: 0 14px 34px rgba(0,0,0,0.72); }
.tech-page-body .site-header .cta{ padding:0.45rem 0.9rem; border-radius:20px }


/* TechPage specific styles */
.tech-page .page-hero{ padding: 2rem 0; text-align:center; }
.tech-page .hero-title{ font-family: var(--font-heading); font-size: 2rem; color: var(--red); margin-bottom: 0.4rem; }
.tech-page .hero-sub{ color: #ddd; margin-bottom: 0; }

.events-grid{
  padding: 1.5rem 1rem 3rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto 3rem auto;
}

.events-columns{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* allow smooth horizontal centering of a selected column via transform */
.events-columns{
  transition: transform 520ms cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}

/* 3D swivel effect: perspective on parent and transform styles */
.events-grid{ perspective: 1200px; perspective-origin: 50% 10%; }
.section-col{ transform-style: preserve-3d; transition: transform 520ms cubic-bezier(.2,.9,.2,1), box-shadow 420ms ease, opacity 420ms ease; }

/* Focused column comes to front */
.section-col.focused{
  transform: translateZ(40px) scale(1.03) rotateY(0deg) translateY(-6px);
  z-index: 40;
  box-shadow: 0 30px 80px rgba(0,0,0,0.68), 0 6px 20px rgba(255,0,0,0.08);
  opacity: 1;
}

/* Behind column tilts slightly and fades */
.section-col.behind{
  transform: rotateY(10deg) translateZ(-40px) scale(0.96) translateY(6px);
  z-index: 10;
  opacity: 0.62;
  filter: blur(0.6px) grayscale(0.04);
  box-shadow: none;
}

/* Disable 3D effects on small screens */
@media (max-width:900px){
  .events-grid{ perspective: none; }
  .section-col.focused, .section-col.behind{ transform: none; opacity:1; filter:none; box-shadow: none; z-index: auto; }
}

.section-col{ padding: 0.6rem; border-radius: 12px; }
.section-heading{ font-family: var(--font-heading); font-size:1.25rem; color:var(--white); margin:0 0 1rem 0; display:inline-block; padding:0.3rem 0.6rem; border-radius:8px; background: linear-gradient(90deg, rgba(255,0,0,0.08), rgba(255,223,0,0.06)); text-transform:uppercase; letter-spacing:0.6px }

.event-card{
  background: rgba(0,0,0,0.68);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.25rem;
  border-radius: 12px;
  color: #fff;
  display:flex;
  flex-direction:column;
  gap: 0.6rem;
  min-height: 220px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.6);
  position: relative;
  overflow: visible;
}
.event-card h2, .event-card h3{ margin:0; color: var(--red-strong); font-size:1.15rem; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.event-card p{ margin:0; color: #f5f5f5; opacity:0.95; }
.event-card ul{ margin:0.6rem 0 0 0; padding-left:1.1rem; color: var(--yellow); font-weight:600 }
.event-card li{ margin:6px 0 }
.event-card .register-btn{ justify-self:end; margin-top:auto; align-self:center }

/* Make register full width on narrow screens */
@media(max-width:520px){
  .event-card .register-btn{ width:100%; display:inline-flex; justify-content:center }
}

/* Colored accent strip for technical vs non-technical */
.event-card.tech::before,
.event-card.nontech::before{
  content: '';
  display: block;
  height: 6px;
  width: calc(100% + 2.5rem);
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  border-radius: 8px 8px 0 0;
}
.event-card.tech::before{ background: linear-gradient(90deg, var(--red), color-mix(in srgb, var(--red) 60%, var(--yellow)) ); }
.event-card.nontech::before{ background: linear-gradient(90deg, var(--yellow), color-mix(in srgb, var(--yellow) 60%, var(--red)) ); }

@media (max-width:900px){
  .events-columns{ grid-template-columns: 1fr; }
}

/* Controls (filter tabs) */
.controls{ margin-top:0.9rem; display:flex; justify-content:center }
.filter-tabs{ display:inline-flex; gap:0.6rem; background: rgba(255,255,255,0.02); padding:6px; border-radius: 12px; }
.filter-btn{ background: transparent; border: none; color:var(--white); padding:8px 12px; border-radius:10px; cursor:pointer; font-weight:700 }
.filter-btn.active{ background: linear-gradient(90deg, rgba(255,0,0,0.12), rgba(255,223,0,0.06)); color:var(--white); box-shadow: 0 6px 18px rgba(0,0,0,0.45) }
.filter-btn:focus{ outline: 3px solid rgba(255,215,0,0.12); outline-offset:3px }

/* Details toggle inside cards */


/* reveal animation for cards: keep cards visible by default and use .reveal for a subtle entrance */
.event-card{ transform: none; opacity: 1; transition: transform 520ms cubic-bezier(.2,.9,.2,1), opacity 420ms ease; }
.event-card.reveal{ transform: translateY(0) scale(1.01); opacity:1 }

/* Modal: Register form */
.modal-overlay{ position: fixed; inset:0; display:none; align-items:center; justify-content:center; background: rgba(0,0,0,0.6); z-index:1500; padding:1rem }
.modal-overlay.active{ display:flex }
.modal{ width:100%; max-width:520px; background: linear-gradient(180deg, rgba(10,10,10,0.98), rgba(0,0,0,0.96)); border-radius:14px; padding:1.25rem; box-shadow: 0 24px 64px rgba(0,0,0,0.8); color:var(--white) }
.modal h3{ margin:0 0 0.5rem 0; color:var(--red-strong) }
.modal .close-btn{ background:transparent; border: none; color:#fff; font-size:1.25rem; position:absolute; right:12px; top:10px; cursor:pointer }
.modal form{ display:flex; flex-direction:column; gap:0.6rem }
.modal input, .modal textarea, .modal select{ padding:0.6rem 0.8rem; border-radius:8px; border:1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); color:var(--white) }
.modal .submit-btn{ background: linear-gradient(180deg, #ff3b3b, #ff6b6b); color:#fff; padding:0.65rem 0.9rem; border-radius:999px; border:none; cursor:pointer; font-weight:800 }

@media (max-width:520px){
  .filter-tabs{ width:100%; justify-content:center }
  .modal{ width:96%; }
}

/* Contact page specific styles */
.sr-only{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
.contact-hero {
  max-width: 1100px;
  margin: 2.5rem auto 1.5rem;
  text-align: center;
}

.contact-hero .section-title{ font-size:2rem; color:var(--red); margin-bottom:0.4rem }
.contact-hero .lead{ color:#ddd; margin-bottom:0 }
/* ===== CONTACT PAGE ALIGNMENT FIX ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
}

/* ===== CONTACT FORM CARD UPGRADE ===== */

.contact-column {
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.65),
    rgba(60, 0, 20, 0.75)
  );
  padding: 2.5rem 2.2rem;
  border-radius: 22px;

  box-shadow:
    0 30px 70px rgba(0,0,0,0.75),
    inset 0 0 40px rgba(255,255,255,0.06);

  border: 1px solid rgba(255, 0, 0, 0.35);
}



.contact-column form {
  text-align: left;
}



.contact-column h3 {
  font-size: 2rem;
  color: #ffcc33;
  margin-bottom: 1.8rem;
  text-align: center;
  text-shadow: 0 4px 20px rgba(255, 204, 51, 0.5);
}

.contact-column form label{ display:block; margin:8px 0 6px; color:#fff; font-weight:600 }
.contact-column form input[type="text"], .contact-column form input[type="email"], .contact-column form input[type="tel"], .contact-column form select, .contact-column form textarea{
  width:100%; padding:10px 12px; border-radius:10px; border:1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); color:var(--white); margin-bottom:8px; box-sizing:border-box;
}
.contact-column form input:focus, .contact-column form textarea:focus, .contact-column form select:focus{ outline: none; box-shadow: 0 8px 28px rgba(255,0,0,0.12); border-color: rgba(255,255,255,0.12) }
.contact-column .submit-btn{ background: linear-gradient(180deg,#ff6b6b,#ff3b3b); color:#fff; padding:10px 14px; border-radius:999px; border:none; font-weight:800; cursor:pointer }
.contact-column .submit-btn[type="reset"]{ background: transparent; border: 1px solid rgba(255,255,255,0.06); color:var(--white); }
.map-placeholder{ margin-top:1rem; border-radius:10px; overflow:hidden; border:1px solid rgba(255,255,255,0.04); padding:10px; background:rgba(255,255,255,0.02) }

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-column {
    margin: 0 auto;
  }
}


/* Chatbot widget styles */
.chatbot-widget{ position: fixed; left: 18px; bottom: 18px; right: auto; z-index:1600; font-family: var(--font-sans); display:flex; align-items:center; gap:16px; }
.chat-toggle{ width:56px; height:56px; border-radius:50%; background: linear-gradient(180deg,var(--red),#ff6b6b); color:#fff; border:none; box-shadow: 0 8px 28px rgba(0,0,0,0.5); cursor:pointer; font-size:22px }
.ask-label{ position: static; background: rgba(255,255,255,0.06); color: #fff; padding:8px 12px; border-radius:999px; font-weight:700; box-shadow: 0 8px 20px rgba(0,0,0,0.45); transform-origin: left bottom; transition: transform 220ms ease, opacity 180ms ease; }
.chatbot-widget.open .ask-label{ opacity:0; transform: translateY(6px); pointer-events:none }
.chat-panel{ position:absolute; left:0; bottom:calc(100% + 12px); width:360px; max-width:calc(100vw - 40px); background: linear-gradient(180deg, rgba(10,10,10,0.98), rgba(0,0,0,0.96)); color:var(--white); border-radius:12px; padding:0; box-shadow: 0 30px 80px rgba(0,0,0,0.6); display:flex; flex-direction:column; overflow:hidden; transform-origin: left bottom; transform: translateY(18px) scale(0.96); opacity:0; pointer-events:none; transition: transform 300ms cubic-bezier(.2,.9,.2,1), opacity 260ms ease; }
.chatbot-widget.open .chat-panel{ transform: translateY(0) scale(1); opacity:1; pointer-events:auto }
.chat-header{ display:flex; align-items:center; gap:10px; padding:12px 14px; background: linear-gradient(90deg,var(--red),var(--red-strong)); color:#fff }
.chat-logo{ width:40px; height:40px; border-radius:50%; border:2px solid rgba(255,255,255,0.12); object-fit:cover }
.chat-meta{ font-size:0.92rem }
.chat-meta strong{ display:block; font-size:1rem }
.chat-status{ font-size:0.8rem; color:#eaeaea; margin-top:3px }
.chat-status .dot{ display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:8px }
.chat-status .online{ background: #2ecc71 }
.chat-close{ margin-left:auto; background:transparent; border:none; color:#fff; font-size:18px; cursor:pointer }
.chat-body{ padding:12px; background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.35)); overflow:auto; max-height:320px; display:flex; flex-direction:column; gap:10px }
.msg{ max-width:84%; padding:10px 12px; border-radius:12px; box-shadow: 0 6px 18px rgba(0,0,0,0.45); }
.msg.bot{ align-self:flex-start; background: rgba(255,255,255,0.04); color:#fff }
.msg.user{ align-self:flex-end; background: linear-gradient(180deg,#ff6b6b,#ff3b3b); color:#fff }
.msg .time{ display:block; font-size:0.7rem; opacity:0.7; margin-top:6px }
.chat-quick{ padding:10px; display:flex; gap:8px; flex-wrap:wrap; background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.02)); }
.quick-btn{ background: transparent; border:1px solid rgba(255,255,255,0.06); color:var(--white); padding:8px 10px; border-radius:999px; cursor:pointer; font-weight:700 }
.quick-btn:hover, .quick-btn:focus{ background: var(--yellow); color: var(--red); border-color: rgba(0,0,0,0.06); box-shadow: 0 8px 20px rgba(0,0,0,0.35); }
.chat-form{ display:flex; gap:8px; padding:10px; align-items:center; background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.01)) }
.chat-input{ flex:1; padding:10px 12px; border-radius:999px; border:1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); color:var(--white) }
.chat-send{ background: linear-gradient(180deg,#ff6b6b,#ff3b3b); border:none; color:#fff; padding:10px 12px; border-radius:999px; cursor:pointer }
.chat-send:hover, .chat-send:focus{ background: var(--yellow); color: var(--red); box-shadow: 0 10px 30px rgba(0,0,0,0.35); border: 1px solid rgba(0,0,0,0.08); }

/* small bot bubble in corner when closed */
.chatbot-widget .chat-toggle{ position:relative }
.chatbot-widget .chat-toggle::after{ content:''; position:absolute; right:-4px; bottom:-4px; width:14px; height:14px; border-radius:50%; background: radial-gradient(circle at 30% 30%, #fff 12%, transparent 13%), #2ecc71; box-shadow: 0 6px 14px rgba(0,0,0,0.35) }

.chatbot-widget .chat-toggle:hover, .chatbot-widget .chat-toggle:focus{ background: var(--yellow); color: var(--red); box-shadow: 0 12px 36px rgba(0,0,0,0.38); }

@media (max-width:520px){
  .chat-panel{ position:fixed; left:8px; right:8px; bottom:8px; width:auto; max-height:80vh }
  .chat-body{ max-height:48vh }
}

/* ===== ABOUT SECTION FIX ===== */

.about {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2.5rem 1.5rem;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid var(--red);
  border-radius: 18px;
}

.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  text-align: center;
}

.about-block {
  max-width: 750px;
}

.about-logo {
  width: 160px;
  height: auto;
  margin: 0 auto 1.2rem auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6));
}

.about-block h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.about-block p {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: justify;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .about {
    padding: 2rem 1.2rem;
  }

  .about-logo {
    width: 130px;
  }

  .about-block h2 {
    font-size: 1.8rem;
  }

  .about-block p {
    font-size: 1rem;
  }
}
/* ===== FOOTER ===== */

.site-footer {
  background: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(20,0,0,0.95));
  color: #ffffff;
  padding-top: 2.5rem;
  margin-top: 4rem;
  border-top: 2px solid var(--red);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
}

/* Footer brand text */
.footer-brand p {
  font-size: 1.15rem;   /* was ~0.95rem */
  line-height: 1.7;
  font-weight: 500;
}

/* Follow Us heading */
.footer-social h4 {
  font-size: 1.35rem;   /* bigger heading */
  font-weight: 700;
}


.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background: var(--red);
  transform: translateY(-4px) scale(1.1);
}
.social-icons a {
  box-shadow: 0 8px 22px rgba(0,0,0,0.5);
}

.social-icons a:hover {
  transform: translateY(-6px) scale(1.15);
}


/* Bottom line */
.footer-bottom {
  margin-top: 2rem;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #ccc;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  width: 90px;   /* increase logo size */
  height: 90px;
}


/* Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }
}
/* ===== PULSE ANIMATION ===== */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 18px rgba(255, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* Apply pulse */
.registration-banner .ButtonR.big {
  animation: pulseGlow 2.2s infinite;
}
/* ===== COUNTDOWN TIMER ===== */

.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.6rem 0 2rem;
  flex-wrap: wrap;
}

.time-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 0, 0, 0.4);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  min-width: 85px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
}

.time-box span {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: #ffffff;
}

.time-box small {
  font-size: 0.75rem;
  color: #ffd9a0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Mobile */
@media (max-width: 768px) {
  .time-box {
    min-width: 70px;
  }

  .time-box span {
    font-size: 1.5rem;
  }
}
/* ===== CONTACT PAGE ENHANCEMENTS ===== */

/* ===== FORCE FORM SECTION CENTER ===== */

.contact-grid {
  display: flex !important;
  justify-content: center;   /* center horizontally */
  align-items: flex-start;
}

.contact-column h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--yellow);
}

/* Inputs */
#contactForm input,
#contactForm select,
#contactForm textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.95rem;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

/* Focus effect */
#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255,0,0,0.25);
}

/* Labels */
#contactForm label {
  font-weight: 600;
  margin-top: 0.8rem;
  display: block;
}

/* Buttons */
.submit-btn {
  background: linear-gradient(180deg, #ff4d4d, #ff0000);
  border-radius: 999px;
  padding: 0.65rem 1.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;

  box-shadow:
    0 12px 30px rgba(255,0,0,0.6),
    inset 0 2px 8px rgba(255,255,255,0.4);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.submit-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow:
    0 20px 45px rgba(255,0,0,0.8),
    inset 0 2px 10px rgba(255,255,255,0.5);
}

/* ===== STUDENT COORDINATORS ===== */

.coordinators-section {
  margin: 4rem auto 2rem;
  text-align: center;
}

.coordinators-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 2rem;
}

/* Grid */
.coordinators-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Card */
.coordinator-card {
  width: 260px;
  height: 180px;
  text-decoration: none;
  perspective: 1000px;
}

.card-inner {
  height: 100%;
  background: linear-gradient(
    145deg,
    rgba(255, 0, 0, 0.85),
    rgba(90, 0, 0, 0.95)
  );
  border-radius: 18px;
  color: #fff;
  padding: 1.5rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.6),
    inset 0 0 25px rgba(255,255,255,0.15);

  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Icon */
.card-inner i {
  font-size: 2.6rem;
  margin-bottom: 0.7rem;
  transform: translateZ(30px);
}

/* Name */
.card-inner h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  transform: translateZ(40px);
}

/* Phone */
.card-inner p {
  font-size: 1rem;
  color: #ffe6b0;
  transform: translateZ(20px);
}

/* Hover 3D effect */
.coordinator-card:hover .card-inner {
  transform: rotateX(8deg) rotateY(-8deg) scale(1.05);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.75),
    inset 0 0 35px rgba(255,255,255,0.2);
}

/* Mobile */
@media (max-width: 768px) {
  .coordinator-card {
    width: 90%;
    max-width: 320px;
  }
}
/* ===== LOCATION SECTION ===== */

.location-section {
  margin: 4rem auto 3rem;
  text-align: center;
}

.location-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--yellow);
  margin-bottom: 2.2rem;
}

/* Main card */
.location-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  padding: 2rem;

  background: linear-gradient(
    145deg,
    rgba(90, 0, 0, 0.9),
    rgba(30, 0, 0, 0.95)
  );

  border-radius: 22px;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.75),
    inset 0 0 40px rgba(255,255,255,0.08);

  border: 1px solid rgba(255,0,0,0.35);
}

/* Text side */
.location-info {
  text-align: left;
  color: #fff;
}

.location-info h4 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.location-info p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ffd9b3;
  margin-bottom: 1.4rem;
}

/* Button */
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;

  background: linear-gradient(180deg, #ff3b3b, #ff0000);
  color: #fff;

  box-shadow:
    0 12px 30px rgba(255,0,0,0.5),
    inset 0 2px 6px rgba(255,255,255,0.3);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.map-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 18px 45px rgba(255,0,0,0.7),
    inset 0 2px 10px rgba(255,255,255,0.4);
}

/* Map */
.location-map iframe {
  width: 100%;
  height: 260px;
  border-radius: 18px;
  border: none;
  box-shadow: 0 18px 45px rgba(0,0,0,0.65);
}

/* Mobile */
@media (max-width: 900px) {
  .location-card {
    grid-template-columns: 1fr;
  }

  .location-info {
    text-align: center;
  }
}
/* ===== FORCE CONTACT PAGE CENTER ALIGNMENT ===== */

.contact-hero.container,
.contact-grid.container {
  max-width: 1100px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem;   /* safe padding */
  padding-right: 1.5rem;
}

/* ===== CONTACT PAGE MOBILE FIX ===== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== CONTACT FORM INPUT STYLING ===== */

.contact-column input,
.contact-column select,
.contact-column textarea {
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  color: #fff;

  box-shadow: inset 0 0 12px rgba(0,0,0,0.6);
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.contact-column input:focus,
.contact-column select:focus,
.contact-column textarea:focus {
  border-color: #ff3b3b;
  box-shadow:
    0 0 0 3px rgba(255,0,0,0.25),
    inset 0 0 15px rgba(0,0,0,0.7);
}

/* ===== EVENT SECTION HEADING COLORS ===== */

/* TECHNICAL */
.tech .card-title {
  color: silver; /* strong red */
  text-shadow:
    0 0 10px rgba(255, 0, 0, 0.8),
    0 0 25px rgba(255, 0, 0, 0.5);
}

/* NON-TECHNICAL */
.nontech .card-title {
  color: violet; /* bright yellow */
  text-shadow:
    0 0 10px rgba(255, 216, 0, 0.9),
    0 0 25px rgba(255, 216, 0, 0.6);
}

/* WORKSHOP */
.workshop .card-title {
  color: #4dfcff; /* cyan / tech blue */
  text-shadow:
    0 0 10px rgba(77, 252, 255, 0.9),
    0 0 25px rgba(77, 252, 255, 0.5);
}
/* ===== EVENT SECTION HEADINGS – SIZE + UNDERLINE ===== */

.card-title {
  font-size: 2.4rem;          /* ⬆ increased size */
  font-weight: 800;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}

/* Underline base */
.card-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60%;
  height: 4px;
  border-radius: 10px;
  transform: translateX(-50%);
}
/* TECHNICAL */
.tech .card-title {
  color: violet;
  text-shadow: 0 0 18px rgba(255,0,0,0.6);
}

.tech .card-title::after {
  background: linear-gradient(90deg, #ff2e2e, #ff8a8a);
}

/* NON-TECHNICAL */
.nontech .card-title {
  color: #ffd800;
  text-shadow: 0 0 18px rgba(255,216,0,0.7);
}

.nontech .card-title::after {
  background: linear-gradient(90deg, #ffd800, #fff3a0);
}

/* WORKSHOP */
.workshop .card-title {
  color: #4dfcff;
  text-shadow: 0 0 18px rgba(77,252,255,0.7);
}

.workshop .card-title::after {
  background: linear-gradient(90deg, #4dfcff, #00bcd4);
}
/* MXCEL header logo – BIG & CLEAR */
/* EXTRA LARGE MXCEL HEADER LOGO */
.header-title-img {
  height: 220px;            /* 🚀 BIG & PROMINENT */
  max-width: 90vw;          /* prevents overflow */
  width: auto;
  display: block;
  margin: 0 auto 0.8rem;

  filter:
    drop-shadow(0 0 35px rgba(255, 190, 90, 1))
    drop-shadow(0 0 80px rgba(255, 150, 60, 0.85))
    drop-shadow(0 0 130px rgba(255, 120, 40, 0.65));

  transition: transform 0.3s ease;
}
.header-text{
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 260px;   
  text-align: center;
  justify-self: center;  /* 🔥 prevents compression */
}



@media (max-width:700px){
  .cta, .ButtonR{
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
  }
}

.header-text::before {
  content: "";
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 260px;
  background: radial-gradient(
    ellipse,
    rgba(255, 180, 80, 0.45),
    rgba(255, 140, 40, 0.25),
    transparent 75%
  );
  filter: blur(45px);
  z-index: 0;
}

.header-title-img {
  position: relative;
  z-index: 5;
  transform: translateX(-40px);
  padding-right: 140px;

  width: 320px;   /* 🔥 increase this value */
  height: auto;   /* keep aspect ratio */
}



@media (max-width: 768px) {
  .header-title-img {
    transform: translateX(0.5rem) scale(1.05);
  }
}
.event-strip {
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.6px;
  color: #ffd54d;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85),
    rgba(40, 0, 0, 0.9),
    rgba(0, 0, 0, 0.85)
  );

  border-bottom: 1px solid rgba(255, 180, 70, 0.35);
  text-shadow: 0 0 10px rgba(255, 160, 60, 0.6);
}

.event-strip .divider {
  margin: 0 0.8rem;
  opacity: 0.6;
}
/* ===============================
   MOBILE HEADER FIX
   =============================== */
@media (max-width: 768px) {

  .site-header {
  min-height: 100vh;   /* ✅ allows growth */
  height: auto;        /* ✅ important */
  overflow: visible;
}


  /* MXCEL logo (image) */
.header-title-img{
  width: 280px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 700px){
  .header-title-img{
    width: 220px;
  }
}


  /* Remove heavy glow on mobile (performance + clarity) */
  .header-title-img {
    filter:
      drop-shadow(0 0 12px rgba(255, 170, 60, 0.7))
      drop-shadow(0 0 28px rgba(255, 140, 40, 0.5));
  }

  /* Department text */
  .dept {
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.3;
  }

  /* Header actions (buttons) */
 .header-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;     /* ⬅ LEFT align */
  padding-right: 0.8rem;  
  justify-self: end;
  display: flex;
  gap:12px;      /* small left spacing */
}

.header-actions .cta {
  width: auto;                 /* no forced full width */
  min-width: 120px;            /* consistent button size */
  text-align: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  border-radius: 999px;
}
}
@media (max-width: 768px) {

  .site-header {
    min-height: unset;   /* reset desktop rule */
    height: auto;
    padding: 1rem 0.8rem;
  }

  /* Make sure logos fit */
.header-title-img{
  width: 280px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

}
/* ======================================================
   GLOBAL MOBILE RESPONSIVE OVERRIDES (SAFE LAYER)
   ====================================================== */

/* ---------- HEADER ---------- */

@media (max-width: 900px) {
  :root {
    --header-h: 110px;
  }

  body {
    padding-top: calc(var(--header-h) + 0.5rem);
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.4rem 0.8rem;
    height: var(--header-h);
  }

  .logo-img {
    width: 80px;
    height: 80px;
    border-width: 6px;
  }

  .header-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
  }

  .cta{
  padding: 0.45rem 1.05rem;   /* smaller */
  font-size: 0.9rem;
  border-radius: 20px;
}

}
@media (max-width: 700px){
  .cta{
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
  }
}


/* ---------- MXCEL 2K26 LOGO IMAGE (FIXED) ---------- */

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  z-index: 1000;
}
.logo-link { justify-self: start; }

.header-text { justify-self: center; }



@media (max-width: 700px) {
  .site-header .header-title-img {
    height: 55px;
  }
}

/* ---------- SLIDER ---------- */

@media (max-width: 768px) {
  .slide {
    height: 240px;
  }


/* ---------- ABOUT SECTION ---------- */

@media (max-width: 768px) {
  .about {
    margin: 2rem 1rem;
    padding: 1.8rem 1.2rem;
  }

  .about-logo {
    width: 130px;
  }

  .about-block h2 {
    font-size: 1.7rem;
  }

  .about-block p {
    font-size: 0.98rem;
    text-align: left;
  }
}

/* ---------- EVENT CARDS ---------- */

@media (max-width: 900px) {
  .events {
    padding: 0 1rem;
  }

  .events-grid,
  .events-columns {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }
}

/* ---------- PILLARS SECTION ---------- */

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card img {
    height: auto;
  }
}

/* ---------- FOOTER ---------- */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-brand p {
    font-size: 1rem;
  }
}

/* ---------- CHATBOT ---------- */

@media (max-width: 520px) {
  .chat-panel {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    max-height: 80vh;
  }

  .chat-body {
    max-height: 45vh;
  }
}

/* ---------- PERFORMANCE ---------- */

@media (max-width: 900px) {
  #bgPhotos,
  #floatingTools,
  #bgLogo {
    display: none !important;
  }
}
/* ================================
   HEADER ACTIONS → TOP RIGHT
   ================================ */



/* Desktop & tablet */
.header-actions{
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-self: end;
  display: flex;
  gap: 12px;
}

/* Button sizing */
.header-actions .cta{
  padding: 0.55rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
}

/* ================================
   MOBILE FIX
   ================================ */

@media (max-width: 700px){
  .header-actions{
    top: 10px;
    right: 10px;
    transform: none;
    flex-direction: column;
    gap: 6px;
  }

  .header-actions .cta{
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}



/* ===== FIX: REGISTER BUTTON NOT CLICKABLE ON MOBILE ===== */




.site-header a,
.site-header button {
  position: relative;
  z-index: 3001;
  pointer-events: auto;
}
@media (max-width: 768px) {

  /* Kill heavy background layers */
  #bgPhotos,
  #bgLogo,
  #floatingTools {
    display: none !important;
  }

  /* Disable expensive blur effects */
  * {
    backdrop-filter: none !important;
    filter: none !important;
  }

  /* Stop background animations */
  body {
    animation: none !important;
  }
}
.event-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  backdrop-filter: blur(6px);
}

.modal-content {
  background: #111;
  color: #fff;
  max-width: 600px;
  margin: 6% auto;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255,60,60,0.3);
}

.close-btn {
  float: right;
  font-size: 28px;
  cursor: pointer;
  color: #ff3b3b;
}

.details-btn {
  background: transparent;
  border: 1px solid #ff3b3b;
  color: #ff3b3b;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
}

.details-btn:hover {
  background: #ff3b3b;
  color: #000;
}


.card.expanded .event-details {
  display: block;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 2px; /* 🔴 MORE SPACE for Register */
}



.details-btn {
  background: transparent;
  border: 1px solid #ff3b3b;
  color: #ff3b3b;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
}

.details-btn:hover {
  background: #ff3b3b;
  color: #000;
}
/* EVENT DETAILS DROPDOWN */


/* ================= MOBILE VIEW FIX ================= */


  /* Make buttons full width */
  .details-btn,
  .register-btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  /* Reduce excessive height */
  .details-btn {
    min-height: 44px;
  }

  /* Dropdown text spacing */
 

  /* Better separation from buttons */
  

  /* Prevent button overlap */
.card {
  display: flex;
  flex-direction: column;
}


/* ===== SYNC VIEW DETAILS SIZE & CURVE WITH REGISTER ===== */

/* ===== MATCH VIEW DETAILS FONT WITH REGISTER ===== */
.details-btn {
  font-family: inherit;          /* same font as Register */
  font-weight: 800;              /* same boldness */
  font-size: 0.95rem;            /* same size */
  letter-spacing: 0.4px;         /* same spacing */
  text-transform: none;          /* keep same casing */
  line-height: 1;                /* same vertical alignment */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin-bottom: 4px;
}
/* Prevent bottom fixed buttons from hiding dropdown content */


/* ===== FIX: Bottom fixed UI hiding dropdown content ===== */
/* ===== MOBILE FIX: Allow full dropdown scroll ===== */
/* ===== MOBILE: Remove unnecessary gap ===== */


/* ===== FINAL MOBILE FIX: bottom bar overlap ===== */
@media (max-width: 600px) {

  /* When a card is expanded, add safe space */
  .card.expanded {
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

}


/* ===== CLEAN EVENT LIST DESIGN ===== */



.detail-item {
  background: rgba(0,0,0,0.35);
  border-left: 4px solid #ffd800;
  padding: 14px 16px;
  border-radius: 12px;

  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffd800;

  text-transform: uppercase;
}
/* ===== EVENT DETAILS WITH DESCRIPTION ===== */


.detail-item {
  background: rgba(0,0,0,0.35);
  border-left: 4px solid #ffd800;
  padding: 14px 16px;
  border-radius: 14px;
}

.detail-item h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #ffd800;
  text-transform: uppercase;
}

.detail-item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #f1f1f1;
  opacity: 0.9;
}
/* Ensure Register does not overlap details */

/* ===== FINAL FIX: NEVER CLIP EVENT DETAILS ===== */
.card,
.card-inner,
.event-details {
  overflow: visible !important;
}
.event-details {
  display: none;
  width: 100%;
}


/* ===== FIX: Register button overlapping details ===== */


.card {
  overflow: visible;   /* 🔥 CRITICAL */
}
/* ===== FIX: EVENT DETAILS VISIBILITY (MOBILE SAFE) ===== */


/* Ensure details take full height */
.card.expanded {
  height: auto !important;
}

/* Prevent overlap with Register button */
.card-inner {
  padding-bottom: 1.5rem;
}

.detail-block {
  position: relative;
  z-index: 1;
}
/* ===== FINAL REGISTER OVERLAP FIX ===== */


.register-btn {
  position: relative;
  margin-top: 18px;
  align-self: center;
}


.card-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top:8px;
  position: relative;  
  z-index: 2;
}
/* 🔥 MOBILE FIX — PREVENT REGISTER OVERLAP */
@media (max-width: 520px) {
  .detail-block {
    margin-bottom: 18px;
  }

  .register-btn {
    margin-top: 28px;
    position: relative;
    z-index: 1;
  }
}
/* 🔥 MOBILE FIX — PREVENT REGISTER OVERLAP */
@media (max-width: 520px) {
  .detail-block {
    margin-bottom: 18px;
  }

  .register-btn {
    margin-top: 28px;
    position: relative;
    z-index: 1;
  }
}
.card-actions {
  margin-top: 28px;
}
@media (max-width: 520px) {
  .detail-block:last-child {
    margin-bottom: 5px;
  }
}
@media (max-width: 520px) {
  .card-actions {
    margin-top: 12px;
  }
}
/* ===== FINAL, CLEAN EVENT DETAILS VISIBILITY ===== */

.event-details {
  display: none;
  margin-top: 12px;
  animation: fadeIn 0.35s ease;
}
/* Hide details initially */
/* FORCE hide details by default */
.event-details {
  display: none !important;
}

/* Show only when expanded */
.card.expanded .event-details {
  display: block !important;
}


/* ===== SLIDER CAPTION VISIBILITY FIX ===== */




.slide-caption p {
  margin: 6px 0 0;
  font-size: 1rem;
  color: #fff3c4;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}
.general-info {
  margin-top: 24px;
  background: rgba(0,0,0,0.35);
  border-left: 4px solid #00eaff;
  padding: 14px 16px;
  border-radius: 14px;
}

.general-info h4 {
  margin: 0 0 10px;
  color: #00eaff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.general-info ul {
  margin: 0;
  padding-left: 18px;
}

.general-info li {
  color: #f1f1f1;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 6px;
}
}
.header-title-img{
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.logo-link {
  justify-self: start;
}

.header-text {
  justify-self: center;
}

.header-actions {
  justify-self: end;
}
/* ===== GENERAL INFORMATION – PREMIUM CARD ===== */

.general-info {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.gi-card {
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.65),
    rgba(80, 0, 0, 0.55)
  );
  border-left: 6px solid #ffd800;
  border-radius: 18px;
  padding: 2rem 2.2rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.gi-title {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 1.4rem;
  color: #ffd800;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(255, 216, 0, 0.35);
}

.gi-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gi-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #ffffff;
  padding: 0.5rem 0;
}

.gi-list li span {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Mobile polish */
@media (max-width: 600px) {
  .gi-card {
    padding: 1.6rem 1.4rem;
  }

  .gi-title {
    font-size: 1.4rem;
  }

  .gi-list li {
    font-size: 0.98rem;
  }
}
/* ===== REGISTRATION PRICE HIGHLIGHT ===== */

.price-highlight {
  max-width: 900px;
  margin: 3rem auto 2rem;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.12),
    rgba(255, 216, 0, 0.08)
  );

  border-radius: 18px;
  border: 2px dashed rgba(255, 216, 0, 0.7);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
  text-align: center;
}

.price-badge {
  background: linear-gradient(180deg, #ffd800, #ffb700);
  color: #3a0000;
  font-size: 1.5rem;
  font-weight: 900;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(255, 216, 0, 0.45);
}

.price-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.6px;
}

.price-text strong {
  color: #ffd800;
  text-shadow: 0 4px 14px rgba(255, 216, 0, 0.4);
  
}


@media (max-width: 480px) {

  .price-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 6px;
  }

  /* Break text into clean lines */
  .price-text {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: normal;
  }

  /* FORCE badge onto its own line */
  .price-badge {
    display: block;
    margin-top: 6px;
    font-size: 1.25rem;
    padding: 0.45rem 1.1rem;
  }
}
@media (max-width: 600px) {

  .event-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 0.8rem 1rem;
    gap: 6px;
  }

  .event-strip span {
    display: block;
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: normal;
  }

  /* Hide dividers on mobile */
  .event-strip .divider {
    display: none;
  }
}
