/* ==========================================================================
   ISA 2026 — custom styles layered on top of Bootstrap 5
   ========================================================================== */

:root {
  --isa-green: #0ca658;
  --isa-green-dark: #089049;
  --isa-text: #333333;
  --isa-grey: #808285;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--isa-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
}

a {
  color: var(--isa-green);
}
a:hover,
a:focus {
  color: var(--isa-green-dark);
}

/* --- Navbar --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 1rem 1rem 0;
}
.floating-nav {
  max-width: 1140px;
  margin: 0 auto;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.floating-nav:hover {
  background-color: rgba(255, 255, 255, 0.75);
}
.navbar-brand {
  font-weight: 700;
  color: var(--isa-green) !important;
}
.navbar .nav-link {
  font-weight: 500;
  color: #364151;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--isa-green);
}

/* --- Hero section with rotating background slider --- */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  display: flex;
  align-items: center;
}
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slider .hero-slide.active {
  opacity: 1;
}
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;

}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 84px;
}
.hero-logo {
  max-width: 130px;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.hero-logo:hover,
.hero-logo:focus-visible {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}
.hero-content h1 {
  font-weight: 700;
  color: #1f2124;
  -webkit-text-stroke: 1px #fff;
  paint-order: stroke fill;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}
.hero-content .hero-title {
  font-size: 2.75rem;
  color: var(--isa-green);
}
.hero-content .hero-subtitle {
  font-size: 1.5rem;
}
.hero-content .hero-theme {
  font-size: 1.25rem;
  color: var(--isa-text);
}

/* --- Section cards (replicates the original bordered/rounded panels) --- */
.section-card {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1.5rem;
}
.section-card h1,
.section-card h2,
.section-card h3 {
  color: var(--isa-green);
  font-weight: 700;
}
.section-card p {
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: justify;
}
.section-card.text-center p {
  text-align: center;
}

.theme-card {
  background-color: #fff;
  border: 2px solid var(--isa-green);
  border-radius: 8px;
  text-align: center;
}
.theme-card h2 {
  color: var(--isa-green);
  font-weight: 700;
}
.theme-card p {
  color: #000;
  font-weight: 700;
  font-size: 1.5rem;
}

.mode-card {
  text-align: center;
}
.mode-card p {
  color: #000;
  font-weight: 700;
  font-size: 2.125rem;
}

/* --- Pricing / registration table --- */
.fee-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.5rem 1.5rem;
}

/* --- Committee grid --- */
.committee-grid {
  display: grid;
  gap: 0.75rem;
  text-align: center;
}
@media (min-width: 576px) {
  .committee-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Footer --- */
.site-footer {
  background-color: #fff;
  border-top: 1px solid #dddddd;
}
.site-footer .nav-link {
  color: #0f172a;
}
.site-footer .nav-link:hover {
  color: var(--isa-green);
}
