/* Root Theme Variables */
:root {
  --theme-primary: #5DBFD2;
  --theme-primary-darker: #4aa8ba;
  --theme-accent: #000000;
  --theme-accent-hover: #b0b0b0;
  --theme-bg-light: #e1f6fa;
  --theme-text: #212529;
  --theme-white: #ffffff;
  --theme-light-gray: #adb5bd;
  --theme-surface: #f9f9fb;
  --theme-border: #e0e0e0;
  --theme-radius: 12px;
}

/* Base Layout */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--theme-white);
  color: var(--theme-text);
  line-height: 1.8;
  flex: 1;
}

main {
  flex: 1;
  background-color: #fdfdfd;
}

/* Navbar */
.navbar {
  background: linear-gradient(to right, #AACF97, #6EBFD1);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.navbar-brand {
  font-weight: 700;
  color: var(--theme-white);
}
.navbar-brand:hover {
  color: var(--theme-bg-light);
}
.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}
.nav-link.active,
.nav-link:hover {
  color: var(--theme-white);
}

.navbar-nav .nav-item {
  margin-right: 1.5rem;
}

.navbar-nav .nav-item:last-child {
  margin-right: 0;
}

@media (min-width: 992px) {
  .navbar-nav .nav-item {
    margin-right: 1.5rem;
  }
}

@media (min-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 1.1rem; 
  }
}

/* Hero Banner */
.hero-banner {
  position: relative;
  height: 81vh;
  min-height: 600px;
  color: var(--theme-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 15rem;
  overflow: hidden;
}
.hero-banner .container {
  position: relative;
  z-index: 2;
  top: 15vh;
}
.hero-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
}

/* Buttons */
.btn-register {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  background-color: var(--theme-primary);
  border: none;
  color: var(--theme-white);
}
.btn-register:hover {
  background-color: var(--theme-primary-darker);
  box-shadow: 0 0 12px rgba(93, 191, 210, 0.4);
  transform: translateY(-2px);
}

/* Text Effects */
.glow-text {
  color: var(--theme-primary);
  text-shadow: 0 0 10px rgba(93, 191, 210, 0.0);
}
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Headings */
h3 {
  color: #333333;
  font-weight: 600;
}

h4 {
  color: #444444;
  text-shadow: 0 0 6px rgba(0, 130, 63, 0.0);
  font-weight: 600;
}

h6 {
  color: #555555;
  text-shadow: 0 0 6px rgba(0, 130, 63, 0.0);
  font-weight: 600;
}

/* Info Box Note */
.alert-note,
.card.venue-card .alert {
  background-color: rgba(255, 255, 255, 0.75);
  border-left: 4px solid var(--theme-accent);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  font-size: 0.9rem;
  padding: 1rem;
  margin-top: 1rem;
}

/* Venue Card */
.card.venue-card {
  display: flex;
  flex-wrap: wrap;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
  min-height: 45vh;
  height: auto;
  align-items: stretch;
}
.card.venue-card:hover {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}
.card.venue-card .card-body,
.card.venue-card .ratio {
  height: 100%;
  flex: 1 1 50%;
}
.card.venue-card .card-body {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
}
.card.venue-card .card-body h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--theme-primary);
  margin-bottom: 1rem;
}
.card.venue-card .card-body p {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.card.venue-card .ratio {
  flex: 1 1 50%;
  min-height: 280px;
  border-left: 1px solid var(--theme-border);
}
.card.venue-card iframe {
  border: none;
  border-left: 1px solid var(--theme-border);
}

/* Default: max 500px for desktop */
.venue-image {
  max-width: 500px;
  height: auto;
}

/* Mobile: auto-scale and center the image */
@media (max-width: 576px) {
  .venue-image {
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Hotel Cards */
.card.hotel-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.06);
}
.card.hotel-card .card-body {
  padding: 1.5rem;
}
.card.hotel-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--theme-primary);
  margin-bottom: 0.5rem;
}
.card.hotel-card ul {
  font-size: 0.95rem;
  color: var(--theme-text);
  padding-left: 1.2rem;
  margin-bottom: 0;
}

/* Responsive Venue Card */
@media (max-width: 768px) {
  .card.venue-card {
    flex-direction: column;
  }
  .card.venue-card .ratio {
    border-left: none;
    border-top: 1px solid var(--theme-border);
  }
}

/* Footer */
.footer {
  background-color: #343a40;
  color: #f8f9fa;
}
.footer a {
  color: var(--theme-light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: var(--theme-white);
}
.footer .footer-brand {
  color: var(--theme-bg-light);
}
.footer .social-icons a {
  font-size: 1.5rem;
  margin: 0 10px;
}

.blank-section {
  min-height: calc(80vh - 70px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* FAQ Accordion Wrapper */
.accordion-item {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--theme-radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.accordion-button {
  background: transparent;
  font-weight: 600;
  color: var(--theme-primary);
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.accordion-button:not(.collapsed) {
  background-color: rgba(93, 191, 210, 0.1);
  color: var(--theme-primary-darker);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-body {
  padding: 1.25rem 1.5rem;
  font-size: 0.975rem;
  color: var(--theme-text);
}
.accordion-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.accordion-body li {
  margin-bottom: 0.25rem;
}
@media (max-width: 576px) {
  .accordion-button {
    font-size: 1rem;
    padding: 1rem;
  }
  .accordion-body {
    padding: 1rem;
  }
}

/* Registration Page Styling */
.form-check-label {
	line-height: 1.6;
}

.form-check-input:checked {
  background-color: #00aaff; 
  border-color: #00aaff;    
  box-shadow: 0 0 8px rgba(0, 170, 255, 0.6); 
}

.form-check-input:focus {
  box-shadow: none;
}

.form-check-input:checked:focus {
  box-shadow: 0 0 8px rgba(0, 170, 255, 0.6); 
}

#agreeTerms.form-check-input:not(:checked) {
  border-color: #888888; 
  border-width: 2px;    
}

/* Add some space between each chip */
.programme-box .form-check {
  margin-bottom: 8px; 
}

/* Hide the original checkbox circle */
.programme-box .form-check-input {
  display: none;
}

/* Style the label to look like a clickable tag */
.programme-box .form-check-label {
  display: block;
  padding: 8px 15px;
  border: 1px solid #ccc;
  border-radius: 50px; /* This makes it pill-shaped */
  cursor: pointer;
  transition: all 0.2s ease-in-out; /* Smooth transition effect */
  width: 100%;
  text-align: center;
}

/* Add a hover effect for unselected items */
.programme-box .form-check-input:not(:checked) + .form-check-label:hover {
  background-color: #f2f2f2;
  border-color: #a0a0a0;
}

/* Style for the CHECKED state */
.programme-box .form-check-input:checked + .form-check-label {
  background-color: #28a745; /* <<< CHANGE THIS to your accent color */
  color: #ffffff;
  border-color: #28a745;     /* <<< CHANGE THIS to match the background */
  font-weight: 500;
}

/* --- Styling for the Immersion Programme Box --- */
.programme-box {
  background: linear-gradient(135deg, rgba(110, 191, 209, 0.1), rgba(170, 207, 151, 0.05));
}

/* --- Styling for the Header --- */
.programme-box-header {
  font-size: 1.1rem; /* Slightly larger font */
  font-weight: 700;  /* Bolder text */
  width: 100%;
  border-left: 4px solid #00aaff; /* ACCENT COLOR - Change as needed */
  padding-left: 0.75rem; /* Space to the right of the accent border */
  margin-bottom: 0.75rem; /* Space above the checkboxes */
}

#sortable-programmes .list-group-item {
  cursor: grab;
  border-radius: 30px;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  transition: background-color 0.2s;
}
#sortable-programmes .list-group-item:hover {
  background-color: #f8f9fa;
}


/* Timeline layout */
ul.list-unstyled.timeline {
  padding-left: 0;
  margin: 0;
}
ul.timeline li {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
ul.timeline li .time-label {
  flex: 0 0 80px;
  font-weight: 600;
  color: var(--theme-primary);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
  padding-right: 0.25rem;
}
ul.timeline li .glow-box {
  flex: 1;
  margin: 0;
}
@media (max-width: 576px) {
  ul.timeline li {
    flex-direction: column;
    align-items: stretch;
  }
  ul.timeline li .time-label {
    text-align: left;
    margin-bottom: 0.25rem;
  }
}

.schedule {
	min-width: 60px;
}
/* Glow Content Box */
.glow-box {
  background-color: var(--theme-white);
  border-left: 6px solid var(--theme-accent);
  box-shadow: 0 8px 30px rgba(170, 160, 150, 0.18);
  border-radius: var(--theme-radius);
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.3s ease;
}
.glow-box:hover {
  box-shadow: 0 12px 45px rgba(93, 191, 210, 0.12);
}

.btn-info-tab {
  position: relative;
  overflow: hidden;
  background-color: var(--theme-accent); 
  color: var(--theme-white);
  font-weight: 600;
  border: none;
  padding: 0.5rem 0.5rem;
  border-radius: 50px;
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 1;
}

.btn-info-tab:not([aria-expanded="true"])::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--theme-accent-hover); 
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-info-tab:not([aria-expanded="true"]):hover::before {
  left: 0;
}

.btn-info-tab:hover,
.btn-info-tab:focus {
  color: #fff;
}

.btn-info-tab[aria-expanded="true"] {
  background-color: #4aa8ba;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(93, 191, 210, 0.3);
  font-weight: 700;
  z-index: 1;
}
