@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');

:root {
  --white-color: #ffffff;
  --dark-color: #252525;
  --primary-color: #000000;

  /* Navbar background */
  --main-blue-color: #ffffff;

  --secondary-color: #2ecc71;
  --light-blue-color: #5d5de2;
  --light-purple-color: #be0ab2;
  --light-orange-color: #f39c12;
  --site-max-width: 1300px;

  --nav-height: 75px;
}

/* ------------------ Base / Layout ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Oxygen", sans-serif;
}

a { text-decoration: none; }

html, body { height: 100%; }

body {
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Sticky footer without creating weird white bands */
main { flex: 1; }

/* ------------------ Header / Navbar ------------------ */
header {
  position: fixed;
  top: 0;
  height: var(--nav-height);
  width: 100%;
  z-index: 10;
  background: var(--main-blue-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: visible;
}

.navbar {
  height: 100%;
  padding: 0;
}

.navbar .container-fluid {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 8px 12px;
  flex-grow: 0;
}

.navbar-logo {
  height: 100%;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.navbar-toggler {
  margin-right: 15px;
  z-index: 20;
}

.navbar .nav-link {
  border: 2px solid var(--light-purple-color);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  color: #ffffff;
  white-space: nowrap;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background-color: var(--light-purple-color);
  color: var(--white-color);
}

@media (max-width: 991px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--main-blue-color);
    padding: 1rem;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 1000;
  }

  .navbar .nav-link {
    margin-bottom: 8px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-logo { padding: 6px 8px; }
}

/* ------------------ Hero (Home Carousel) ------------------ */
.hero-section {
  min-height: 100vh;
  background: var(--primary-color);
}

.hero-carousel {
  position: relative;
  height: 60vh;
  overflow: hidden;
  z-index: 1;
}

.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 60vh;
}

.hero-slide { position: relative; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* SENSE XR text overlay */
.hero-text-overlay {
  position: absolute;
  top: clamp(14px, 2.5vw, 34px);
  left: clamp(14px, 2.5vw, 44px);
  z-index: 3;
  pointer-events: none;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: clamp(24px, 5.5vw, 84px);
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ------------------ Sections / Content ------------------ */
.info-section {
  background: var(--white-color);
  padding: 100px 20px;
  text-align: center;
  position: relative;

  /* Fix repeating bg images when you use inline background-image */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.info-section .section-content {
  max-width: 900px;
  margin: 0 auto;
}

.info-section-image {
  display: flex;
  justify-content: center;
}

.info-image {
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-section-text {
  color: var(--dark-color);
  max-width: 900px;
  margin: 0 auto;
  margin-top: 50px;
  padding: 40px 20px;
  line-height: 1.7;

  /* Helps the Aims & Scope content look cleaner */
  text-align: left;
}

.info-title {
  font-size: 2.2rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.info-title:after,
.news-title:after,
.con-info-title:after,
.cfc-info-title:after,
.organisers-title:after,
.conduct-page-title:after,
.contact-page-title:after,
.conduct-section-title:after {
  content: '';
  display: block;
  width: 325px;
  height: 4px;
  background: var(--light-blue-color);
  margin: 12px auto 0;
  border-radius: 2px;
}

.info-description {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Aims & Scope list alignment (this fixes the "sticks out left" issue) */
.info-section-text .styled-list {
  max-width: 90%;
  margin: 0 auto 30px;
  padding-left: 1.2rem;   /* bullet inset */
  list-style: disc;       /* bullets */
}

.info-section-text .styled-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.info-section-text .styled-list li:last-child {
  border-bottom: none;
}

/* Keep global styled-list for any other page that uses it */
.styled-list {
  list-style: none;
  padding-left: 0;
}

.styled-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.styled-list li:last-child {
  border-bottom: none;
}

/* ------------------ Key Dates ------------------ */
.key-dates {
  background: var(--white-color);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  width: fit-content;
  margin: 0 auto;
}

.key-dates-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

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

.key-dates-list li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.25;
  font-weight: 400;
}

.key-dates-list li:last-child { margin-bottom: 0; }

.key-dates-list li small {
  display: block;
  line-height: 1.2;
}

.date-label {
  font-weight: 600;
  display: block;
  color: var(--primary-color);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.index-page .index-key-dates {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 280px;
  z-index: 1000;
  margin: 0;
}

/* ------------------ CfC / Conduct / Contact Heroes ------------------ */
/* IMPORTANT: reduce top padding because body already has 75px padding-top */
.cfc-hero,
.conduct-hero,
.contact-hero {
  padding: 60px 20px 80px; /* was 120px top, caused big white gap */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

/* If you want CfC hero to fill the screen behind the content, keep this. It won’t break other pages. */
.cfc-hero {
  min-height: calc(100vh - var(--nav-height));
}

.cfc-page .cfc-key-dates {
  width: 120%;
  max-width: 1200px;
  margin-left: 0;
  margin-right: auto;
  text-align: center;
  margin-left: -70px;
}

/* ------------------ Social Updates ------------------ */
.social-updates { padding: 60px 0; }

#postCarousel iframe {
  width: 100%;
  border-radius: 15px;
}

.news-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--primary-color);
}

/* ------------------ Organisers Cards ------------------ */
.org-card {
  background: #f8f9fa;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.org-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.org-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin: 0 auto;
}

.org-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.org-affil {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 16px;
}

.org-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--dark-color);
  flex-grow: 1;
}

.organisers-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* ------------------ FAQ ------------------ */
.faq-section {
  padding: 80px 20px;
  background-size: cover;
  background-position: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white-color);
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover { background: #f8f9fa; }

.faq-question i { transition: transform 0.3s; }

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer { max-height: 500px; }

.faq-answer p,
.faq-answer ul {
  padding: 0 24px 20px 24px;
  margin: 0;
  line-height: 1.6;
}

.faq-answer ul { padding-left: 48px; }

.subsection-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.con-info-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.cfc-info-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* ------------------ Contact / Conduct Content ------------------ */
.conduct-page-title,
.contact-page-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.conduct-content,
.contact-content {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.conduct-section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-left: auto;
  margin-right: auto;
  align-content: center;
  margin-bottom: 30px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.contact-list li {
  padding: 16px 24px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.6;
  border-left: 4px solid var(--light-blue-color);
}

/* ------------------ Footer ------------------ */
footer {
  background: var(--dark-color);
  color: var(--white-color);
  padding: 40px 0;
  text-align: center;
}

.social-icons a {
  color: var(--white-color);
  font-size: 1.8rem;
  margin: 0 15px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.social-icons a:hover { opacity: 1; }

/* ------------------ Responsive ------------------ */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--main-blue-color);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  }

  .navbar .nav-link {
    margin-bottom: 8px;
    text-align: center;
  }

  .navbar-logo {
    height: 80px;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .index-page .index-key-dates {
    position: static;
    margin: 0 auto 40px;
    padding: 20px;
    width: 100%;
    max-width: 500px;
  }

  .cfc-page .cfc-key-dates {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .navbar-logo {
    height: 80px;
    max-width: 400px;
  }

  /* keep some breathing room on mobile but avoid huge white gap */
  .cfc-hero,
  .conduct-hero,
  .contact-hero {
    padding-top: 80px;
  }
}

@media (max-width: 480px) {
  .navbar-logo {
    height: 80px;
    max-width: 400px;
  }
}


/* Schedule white box */
.schedule-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 30px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  
  /* Ensure the schedule list sits nicely inside the box */
  .schedule-box .workshop-schedule {
    margin: 0;
    padding: 0;
    max-width: 100%;
  }
  
  @media (max-width: 768px) {
    .schedule-box {
      padding: 20px 18px;
      border-radius: 18px;
    }
  }

  /* ------------------ CfC Submit (Option B) ------------------ */
.cfc-submit-area{
  width: 100%;
  display: flex;
  justify-content: center;   /* centers the wrap */
  padding: 40px 20px 70px;
  margin-top: 0;
}

.cfc-submit-wrap{
  width: min(980px, 92vw);   /* nice max width but responsive */
}

/* Button */
@keyframes submitPulse{
  0%{
    box-shadow:
      0 14px 30px rgba(190, 10, 178, 0.28),
      0 10px 24px rgba(93, 93, 226, 0.18);
  }
  50%{
    box-shadow:
      0 18px 38px rgba(190, 10, 178, 0.38),
      0 14px 30px rgba(93, 93, 226, 0.26);
  }
  100%{
    box-shadow:
      0 14px 30px rgba(190, 10, 178, 0.28),
      0 10px 24px rgba(93, 93, 226, 0.18);
  }
}

.submit-here-btn{
  width: 100%;
  border-radius: 999px;
  padding: 18px 22px;
  font-weight: 800;
  border: 0;
  color: var(--white-color);
  background: linear-gradient(135deg, var(--light-purple-color), var(--light-blue-color));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: transform 0.12s ease, filter 0.2s ease;
  animation: submitPulse 2.8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.submit-here-btn::before{
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.0) 55%);
  transform: translateX(-60%);
  transition: transform 0.4s ease;
}

.submit-here-btn:hover::before,
.submit-here-btn:focus::before{
  transform: translateX(20%);
}

.submit-here-btn:hover,
.submit-here-btn:focus{
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.02);
  animation-play-state: paused;
}

.submit-here-btn i{
  font-size: 1.05rem;
}

.submit-here-btn span{
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

  /* ------------------ HERO CAROUSEL + BIG CENTER CTA ------------------ */
.hero-carousel{
  position: relative; /* required for overlays */
  width: 100%;
  min-height: calc(100vh - var(--nav-height));
  overflow: hidden;
}

/* Make the carousel actually have height */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item{
  height: calc(100vh - var(--nav-height));
}

.hero-slide{
  height: calc(100vh - var(--nav-height));
}

.hero-bg{
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Optional: subtle dark overlay so button pops */
.hero-carousel::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 2;
  pointer-events: none;
}

/* Center CTA overlay */
.hero-cta-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;          /* above overlay + images */
  pointer-events: none;
  padding: 24px 16px;
}

/* Big prominent CTA button */
.hero-cta-btn{
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  padding: 26px 44px;
  border-radius: 999px;

  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #fff;
  background: linear-gradient(135deg, var(--light-purple-color), var(--light-blue-color));

  box-shadow:
    0 26px 60px rgba(0,0,0,0.45),
    0 18px 38px rgba(190,10,178,0.35),
    0 14px 30px rgba(93,93,226,0.26);

  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  min-width: min(720px, 92vw);

  transition: transform 0.12s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
}

.hero-cta-btn::before{
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 55%);
  transform: translateX(-60%);
  transition: transform 0.4s ease;
}

.hero-cta-btn:hover::before,
.hero-cta-btn:focus::before{
  transform: translateX(20%);
}

.hero-cta-btn:hover,
.hero-cta-btn:focus{
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.05);
}

.hero-cta-btn i{
  font-size: 1.15em;
}

/* Title overlay */
.hero-text-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 4;     /* behind button, above dark overlay */
  pointer-events: none;
  padding-top: 58px;
}

.hero-title{
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  color: rgba(255,255,255,0.92);
  text-shadow: 0 12px 30px rgba(0,0,0,0.35);
  letter-spacing: 0.12em;
}

@media (max-width: 576px){
  .hero-cta-btn{
    padding: 20px 22px;
    min-width: min(520px, 92vw);
    letter-spacing: 0.06em;
  }

  .hero-text-overlay{
    padding-top: 46px;
  }
}

/* ------------------ Make hero carousel thinner (Y axis) ------------------ */
:root{
  --hero-height: 70vh;           /* change this: 60vh, 65vh, 70vh, etc */
  --hero-min-height: 420px;      /* keeps it from getting too tiny */
}

.hero-carousel{
  min-height: var(--hero-height);
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item,
.hero-slide{
  height: var(--hero-height);
  min-height: var(--hero-min-height);
}

/* Keep overlay layers matching the new height */
.hero-cta-overlay,
.hero-text-overlay{
  height: var(--hero-height);
  min-height: var(--hero-min-height);
}

/* Optional: tighten the title top padding a bit since hero is shorter */
.hero-text-overlay{
  padding-top: 36px;
}

/* Mobile: slightly taller so it still feels like a hero */
@media (max-width: 576px){
  :root{
    --hero-height: 62vh;
    --hero-min-height: 360px;
  }
}

/* ------------------ Move SENSE XR title back to the left ------------------ */
.hero-text-overlay{
  justify-content: flex-start;   /* left align */
  padding-left: 46px;            /* adjust to taste */
  padding-top: 36px;             /* keep it nice after shortening hero */
}

.hero-title{
  text-align: left;
}

/* Mobile: reduce left padding so it doesn’t hug the edge */
@media (max-width: 576px){
  .hero-text-overlay{
    padding-left: 18px;
    padding-top: 28px;
  }
}

/* ------------------ CfC: make Submit button bigger + more prominent ------------------ */
.cfc-submit-wrap{
  width: min(1100px, 96vw);     /* wider container */
}

.submit-here-btn{
  padding: 28px 44px;          /* taller + wider */
  font-weight: 900;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  min-height: 82px;            /* guarantees “big” feel */
  gap: 16px;
  letter-spacing: 0.10em;      /* more “call to action” */
}

/* Bigger icon too */
.submit-here-btn i{
  font-size: 1.25em;
}
