/* ================================================================
   RESCON 2026 — Earth & Environmental Sciences
   style.css — Complete Stylesheet
   ================================================================ */

/* ── 1. CSS CUSTOM PROPERTIES ── */
/* :root {
  --forest:      #1B3022;
  --forest-mid:  #254530;
  --forest-lite: #2d5438;
  --soil:        #4E342E;
  --soil-lite:   #6D4C41;
  --sky:         #f5dcdd;
  --sky-mid:     #E6D7C3;
  --slate:       #37474F;
  --slate-lite:  #546E7A;
  --white:       #FFFFFF;
  --offwhite:    #F8F5F0; 
  --surface:     #E8D5B7; 
  --text-dark:   #3E2723; 
  --text-mid:    #5D4037; 
  --text-muted:  #8D6E63;
  --accent:      #8D6E63; 
  --accent-gold: #B2875E;
  --accent-teal: #6B4F3B;
  --earth-brown: #8D6E63;
  --ocean-blue:  #5D8CA9;
  --sun-yellow:  #D39D56;
  --river-blue:  #42A5F5;
  --mountain-gray: #78909C;
  --forest-green: #388E3C;
  --grass:        #66BB6A;
  --mint:         #A5D6A7;
  --teal:         #00897B;
  --lavender:     #7E57C2;
  --sunset:       #F8BBD0;
  --desert-orange: #F57C00;
  --danger:      #c62828;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(78,52,46,0.08);
  --shadow:      0 6px 24px rgba(78,52,46,0.12);
  --shadow-lg:   0 16px 48px rgba(78,52,46,0.18);
  --shadow-xl:   0 20px 60px rgba(78,52,46,0.25);
  --color-amber: #FBC02D;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:       72px;
} */
:root {
  --forest: #153A25;
  --forest-mid: #246B3C;
  --forest-lite: #4C8A61;
  --soil: #3E573E;
  --soil-lite: #6B8F6B;
  --sky: #E9F7F0;
  --sky-mid: #C8E6D4;
  --slate: #2F4232;
  --slate-lite: #546B5A;
  --white: #FFFFFF;
  --offwhite: #F5FBF7;
  --surface: #E8F3EA;
  --text-dark: #132B22;
  --text-mid: #3B5849;
  --text-muted: #6B7F70;
  --accent: #1E7B3B;
  --accent-gold: #A88B46;
  --accent-teal: #00796B;
  --earth-brown: #7F6A50;
  --ocean-blue: #2A8FAF;
  --sun-yellow: #D6A436;
  --river-blue: #3B9ACC;
  --mountain-gray: #617567;
  --forest-green: #2D7A3D;
  --desert-orange: #F29E4C;
  --danger: #B22721;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(22, 54, 36, 0.08);
  --shadow: 0 6px 30px rgba(22, 54, 36, 0.14);
  --shadow-lg: 0 16px 48px rgba(22, 54, 36, 0.20);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 72px;
}

/* ── 2. RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: linear-gradient(145deg, var(--surface) 0%, var(--sky-mid) 45%, var(--offwhite) 100%);
  min-height: 100vh;
  line-height: 1.7;
  width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ── 3. UTILITY CLASSES ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(232, 213, 183, 0.15), rgba(255, 255, 255, 0));
}

.section-alt {
  background: linear-gradient(160deg, rgba(220, 242, 229, 0.45), rgba(245, 251, 246, 0.22));
}

.section-dark {
  background: linear-gradient(145deg, var(--forest), var(--forest-mid));
  color: var(--white);
}

/* Enhanced colorful section variants */
.section-teal {
  background: linear-gradient(135deg, rgba(56, 142, 60, 0.12) 0%, rgba(192, 225, 205, 0.08) 100%);
}

.section-lavender {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.10) 0%, rgba(127, 216, 168, 0.06) 100%);
}

.section-sunset {
  background: linear-gradient(135deg, rgba(167, 202, 179, 0.10) 0%, rgba(222, 243, 225, 0.06) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  background: linear-gradient(90deg, rgba(34, 87, 46, 0.20), rgba(92, 151, 102, 0.16));
  border: 1px solid rgba(34, 87, 46, 0.24);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.label-light {
  color: #567954;
  background: rgba(144, 200, 160, 0.18);
  border-color: rgba(144, 200, 160, 0.35);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--forest);
  margin-bottom: 1rem;
  background: linear-gradient(120deg, var(--forest), var(--accent), var(--forest-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 6px rgba(18, 39, 28, 0.12);
}

.title-light {
  color: var(--white);
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── 4. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, var(--forest-green), var(--accent));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(22, 54, 36, 0.24);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(76, 138, 75, 0.95), rgba(29, 113, 48, 0.95));
  transition: left var(--transition);
  z-index: -1;
}

.btn-primary:hover {
  background: linear-gradient(120deg, rgba(29, 113, 48, 0.95), rgba(76, 138, 75, 0.95));
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(22, 54, 36, 0.32);
  filter: none;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--forest);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--sky);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.4rem;
  font-size: 0.88rem;
}

/* ── 5. NAVIGATION ── */
.nav-toggle {
  display: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(20, 52, 34, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  height: var(--nav-h);
  transition: all var(--transition);
}

.navbar.shrink {
  height: 56px;
  background: rgba(16, 30, 18, 0.96);
  border-bottom-color: rgba(158, 216, 164, 0.35);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(67, 160, 71, 0.95), rgba(0, 137, 123, 0.95));
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1200;
  box-shadow: 0 8px 18px rgba(33, 49, 37, 0.45);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-right: auto;
}

.nav-logo span {
  line-height: 1.05;
  display: inline-block;
}

.logo-img {
  height: 250px;
  width: auto;
  margin-top: 10%;
  object-fit: contain;
  transition: all var(--transition);
}

.navbar.shrink .logo-img {
  /* Maintain initial height or remove resizing */
  height: 250px;
}

.navbar.shrink .pgis-logo {
  height: 150px;
}

.logo-icon {
  font-size: 1.4rem;
}

.logo-text em {
  color: var(--accent);
  font-style: normal;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 1.5rem;
}

.pgis-logo {
  height: 150px;
  width: auto;
  margin-top: 1%;

  object-fit: contain;
  transition: all var(--transition);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Dropdown Menu */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: flex;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(20, 52, 34, 0.98);
  backdrop-filter: blur(10px);
  min-width: 200px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1001;
  flex-direction: column;
  transform: translateY(10px);
  transition: all var(--transition);
}

.nav-links .dropdown-menu.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-links .dropdown-menu li {
  width: 100%;
  display: block;
}

.nav-links .dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  width: 100%;
  white-space: nowrap;
  border-radius: 0;
}

.nav-links .dropdown-menu a::after {
  display: none !important;
}

@media (max-width: 900px) {
  .nav-links li {
    width: 100%;
  }

  .nav-links .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    padding: 0;
    margin: 0.5rem 0 0.5rem 1rem;
    width: calc(100% - 1rem);
    min-width: auto;
    transform: none;
    display: none;
    visibility: visible;
    opacity: 1;
  }

  .nav-links .dropdown-menu.show {
    display: flex;
    flex-direction: column;
    transform: none;
  }

  .nav-links .dropdown-menu a {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    width: 100%;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 1rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* ── 6. HERO SECTION ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  overflow: hidden;
  padding: var(--nav-h) 2rem 4rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,
      rgba(26, 64, 38, 0.16) 0%,
      rgba(55, 110, 70, 0.16) 30%,
      rgba(90, 145, 100, 0.14) 62%,
      rgba(242, 251, 238, 0.08) 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
}

/* Hero Carousel */
.hero-carousel {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
}

.carousel-indicators {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.indicator.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(211, 157, 86, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(66, 165, 245, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(126, 87, 194, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 30%, rgba(248, 187, 208, 0.15) 0%, transparent 50%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  animation: textureShift 20s ease-in-out infinite;
}

@keyframes textureShift {

  0%,
  100% {
    background-position: 0% 0%, 0% 0%, 0% 0%;
  }

  25% {
    background-position: 10% 10%, 5% 5%, -5% -5%;
  }

  50% {
    background-position: 0% 20%, -10% 10%, 10% -10%;
  }

  75% {
    background-position: -10% 10%, 10% -5%, -10% 10%;
  }
}

/* Topographic rings */
.hero-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  animation: ringPulse 8s ease-in-out infinite;
}

.r1 {
  width: 500px;
  height: 500px;
  animation-delay: 0s;
}

.r2 {
  width: 750px;
  height: 750px;
  animation-delay: 1.5s;
}

.r3 {
  width: 1000px;
  height: 1000px;
  animation-delay: 3s;
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

/* Earth science themed floating elements */
.hero-earth-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.earth-element {
  position: absolute;
  font-size: 2rem;
  opacity: 0.6;
  animation: earthFloat 15s ease-in-out infinite;
}

.earth-element:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  content: '🌍';
}

.earth-element:nth-child(2) {
  left: 85%;
  top: 15%;
  animation-delay: 3s;
  content: '🌱';
  font-size: 1.5rem;
}

.earth-element:nth-child(3) {
  left: 20%;
  top: 70%;
  animation-delay: 6s;
  content: '💧';
  font-size: 1.8rem;
}

.earth-element:nth-child(4) {
  left: 80%;
  top: 75%;
  animation-delay: 9s;
  content: '🪨';
  font-size: 1.6rem;
}

.earth-element:nth-child(5) {
  left: 5%;
  top: 50%;
  animation-delay: 12s;
  content: '🌿';
  font-size: 1.4rem;
}

.earth-element:nth-child(6) {
  left: 90%;
  top: 45%;
  animation-delay: 2s;
  content: '🌊';
  font-size: 1.7rem;
}

@keyframes earthFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }

  25% {
    transform: translateY(-20px) rotate(5deg);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-10px) rotate(-3deg);
    opacity: 0.4;
  }

  75% {
    transform: translateY(-25px) rotate(2deg);
    opacity: 0.7;
  }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  animation: floatUp 10s ease-in-out infinite;
}

.hero-particles span:nth-child(1) {
  left: 10%;
  top: 80%;
  animation-delay: 0s;
}

.hero-particles span:nth-child(2) {
  left: 25%;
  top: 70%;
  animation-delay: 2s;
  width: 6px;
  height: 6px;
}

.hero-particles span:nth-child(3) {
  left: 40%;
  top: 90%;
  animation-delay: 4s;
}

.hero-particles span:nth-child(4) {
  left: 55%;
  top: 75%;
  animation-delay: 1s;
  width: 3px;
  height: 3px;
}

.hero-particles span:nth-child(5) {
  left: 70%;
  top: 85%;
  animation-delay: 3s;
}

.hero-particles span:nth-child(6) {
  left: 85%;
  top: 70%;
  animation-delay: 5s;
  width: 5px;
  height: 5px;
}

.hero-particles span:nth-child(7) {
  left: 15%;
  top: 60%;
  animation-delay: 6s;
}

.hero-particles span:nth-child(8) {
  left: 90%;
  top: 60%;
  animation-delay: 2.5s;
  width: 3px;
  height: 3px;
}

.hero-particles span:nth-child(9) {
  left: 5%;
  top: 40%;
  animation-delay: 7s;
  width: 4px;
  height: 4px;
}

.hero-particles span:nth-child(10) {
  left: 75%;
  top: 45%;
  animation-delay: 4.5s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(-120px) scale(0.5);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  margin-top: 5rem;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-title {
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.6);
}

.hero-res {
  color: var(--white);
}

.hero-con {
  color: var(--accent);
}

.hero-year {
  display: inline-block;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  color: #FFFFFF;
  letter-spacing: inherit;
  margin-top: 0;
  margin-left: 0.2em;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 1.5rem auto;
  font-style: italic;
  max-width: 560px;
  line-height: 1.5;
}

.hero-date {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

.hero-leaders {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-leaders .leader {
  line-height: 1.4;
}

.hero-leaders a {
  color: var(--accent-gold);
  text-decoration: none;
}

.hero-leaders a:hover {
  text-decoration: underline;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 10;
}

.hero-links {
  margin-top: 5rem;
  display: flex;
  gap: 3.5rem;
  justify-content: center;
  z-index: 10;
}

.hero-links a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  transition: all var(--transition, 0.3s ease);
}

.hero-links a:hover {
  color: var(--accent);
  text-decoration-color: var(--white);
}

.hero-doc-panel {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  z-index: 10;
  background: rgba(248, 238, 229, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: var(--radius);
}

.hero-doc-panel .btn {
  min-width: 150px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fef8f0;
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-doc-panel .btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
}

.dates-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.dates-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-teal) 50%, var(--desert-orange) 100%);
  border-radius: 2px;
  transform: translateX(-50%);
}

.timeline-event {
  position: relative;
  margin-bottom: 3rem;
  opacity: 0;
  animation: slideInTimeline 0.6s ease-out forwards;
}

.timeline-event:nth-child(1) {
  animation-delay: 0.1s;
}

.timeline-event:nth-child(2) {
  animation-delay: 0.15s;
}

.timeline-event:nth-child(3) {
  animation-delay: 0.2s;
}

.timeline-event:nth-child(4) {
  animation-delay: 0.25s;
}

.timeline-event:nth-child(5) {
  animation-delay: 0.3s;
}

.timeline-event:nth-child(6) {
  animation-delay: 0.35s;
}

.timeline-event:nth-child(7) {
  animation-delay: 0.4s;
}

.timeline-event:nth-child(8) {
  animation-delay: 0.45s;
}

@keyframes slideInTimeline {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Left side events */
.timeline-event:nth-child(odd) {
  margin-left: 0;
  margin-right: 52%;
  text-align: right;
}

.timeline-event:nth-child(odd) .event-marker {
  position: absolute;
  right: -70px;
  top: 0;
}

/* Right side events */
.timeline-event:nth-child(even) {
  margin-left: 52%;
  margin-right: 0;
  text-align: left;
}

.timeline-event:nth-child(even) .event-marker {
  position: absolute;
  left: -70px;
  top: 0;
}

.event-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.event-icon {
  font-size: 1.75rem;
  display: block;
  position: relative;
  z-index: 11;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

.event-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(166, 136, 70, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.timeline-event.event-highlight .event-dot {
  width: 26px;
  height: 26px;
  border-width: 4px;
  border-color: var(--desert-orange);
  box-shadow: 0 0 20px rgba(242, 158, 76, 0.4), 0 0 40px rgba(242, 158, 76, 0.2);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(242, 158, 76, 0.4), 0 0 40px rgba(242, 158, 76, 0.2);
  }

  50% {
    box-shadow: 0 0 30px rgba(242, 158, 76, 0.6), 0 0 60px rgba(242, 158, 76, 0.3);
  }
}

.event-content {
  background: rgba(255, 250, 245, 0.85);
  border: 1px solid rgba(166, 136, 70, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.timeline-event:hover .event-content {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.event-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  animation: fadeInDown 0.6s ease-out 0.2s backwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-badge-open {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(129, 199, 132, 0.15));
  color: #2E7D32;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.event-badge-deadline {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(229, 57, 53, 0.15));
  color: #C62828;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.event-badge-review {
  background: linear-gradient(135deg, rgba(63, 81, 181, 0.15), rgba(66, 133, 244, 0.15));
  color: #1A237E;
  border: 1px solid rgba(63, 81, 181, 0.3);
}

.event-badge-notification {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(251, 192, 45, 0.15));
  color: #E65100;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.event-badge-revision {
  background: linear-gradient(135deg, rgba(153, 102, 255, 0.15), rgba(186, 104, 200, 0.15));
  color: #512DA8;
  border: 1px solid rgba(156, 39, 176, 0.3);
}

.event-badge-earlybird {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.15), rgba(0, 172, 193, 0.15));
  color: #00695C;
  border: 1px solid rgba(0, 188, 212, 0.3);
}

.event-badge-closing {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.15), rgba(255, 109, 80, 0.15));
  color: #BF360C;
  border: 1px solid rgba(255, 87, 34, 0.3);
}

.event-badge-conference {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(129, 199, 132, 0.2));
  color: #1B5E20;
  border: 1px solid rgba(76, 175, 80, 0.4);
  font-weight: 800;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.timeline-event.event-current .event-title {
  color: var(--accent);
  font-weight: 700;
}

.timeline-event.event-highlight .event-title {
  color: var(--desert-orange);
  font-weight: 700;
  font-size: 1.4rem;
}

.date-value {
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.timeline-event.event-highlight .date-value {
  color: var(--desert-orange);
  font-size: 1.1rem;
}

.event-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobile responsive timeline */
@media (max-width: 768px) {
  .dates-timeline {
    padding: 0 1rem;
  }

  .dates-timeline::before {
    left: 30px;
  }

  .timeline-event:nth-child(odd),
  .timeline-event:nth-child(even) {
    margin-left: 80px;
    margin-right: 0;
    text-align: left;
  }

  .timeline-event:nth-child(odd) .event-marker,
  .timeline-event:nth-child(even) .event-marker {
    position: absolute;
    left: -50px;
    top: 0;
  }

  .event-marker {
    width: 56px;
    height: 56px;
  }

  .event-icon {
    font-size: 1.5rem;
  }

  .event-dot {
    width: 12px;
    height: 12px;
    border-width: 3px;
  }

  .timeline-event.event-highlight .event-dot {
    width: 20px;
    height: 20px;
  }

  .event-content {
    padding: 1.2rem;
  }

  .event-title {
    font-size: 1.1rem;
  }

  .timeline-event.event-highlight .event-title {
    font-size: 1.25rem;
  }

  .event-badge {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 900px) {
  .hero-doc-panel {
    flex-direction: column;
  }

  .hero-doc-panel .btn {
    min-width: 135px;
    width: 100%;
  }
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.stat {
  text-align: center;
  padding: 0 1.5rem;
}

.stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}

.stat span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollBob 2s ease-in-out infinite;
}

@keyframes scrollBob {

  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(0.6);
  }
}

/* ── 7. ABOUT SECTION ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-body {
  animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  opacity: 0.15;
}

.about-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.8rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.badge-num sup {
  font-size: 1.2rem;
}

.badge-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: 0.3rem;
}

.about-art {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  padding-left: 50px;
}

.art-layer {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: var(--surface);
  border: 1px solid rgba(27, 48, 34, 0.1);
  transition: transform var(--transition);
  position: relative;
  z-index: 2;
}

.art-layer:hover {
  transform: scale(1.15) rotate(3deg);
}

.about-accent-box {
  background: linear-gradient(135deg, var(--forest), var(--forest-lite));
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  border-left: 4px solid var(--accent);
  position: relative;
  z-index: 2;
}

.about-body .section-label {
  margin-bottom: 0.75rem;
}

.about-body .section-title {
  text-align: left;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.about-body p {
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.about-body strong {
  color: var(--forest);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  border: 1px solid rgba(27, 48, 34, 0.08);
  transition: all var(--transition);
}

.highlight:hover {
  background: rgba(27, 48, 34, 0.06);
  transform: translateX(3px);
}

.hl-icon {
  font-size: 1.2rem;
}

/* ── 8. THEMES GRID ── */
.themes {
  position: relative;
  overflow: hidden;
}

.themes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(67, 160, 71, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 131, 143, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 60% 20%, rgba(200, 160, 74, 0.02) 0%, transparent 50%);
  animation: backgroundFloat 25s ease-in-out infinite;
  pointer-events: none;
}

@keyframes backgroundFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(10px, -10px) scale(1.05);
  }

  66% {
    transform: translate(-5px, 5px) scale(0.95);
  }
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (min-width: 1025px) {
  .themes-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .theme-card {
    grid-column: span 2;
  }

  .theme-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .theme-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.theme-card {
  background: var(--forest);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out both;
  color: var(--white);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.theme-card:nth-child(1) {
  animation-delay: 0.1s;
}

.theme-card:nth-child(2) {
  animation-delay: 0.2s;
}

.theme-card:nth-child(3) {
  animation-delay: 0.3s;
}

.theme-card:nth-child(4) {
  animation-delay: 0.4s;
}

.theme-card:nth-child(5) {
  animation-delay: 0.5s;
}

.theme-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.theme-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  transition: opacity 0.5s ease, transform 0.8s ease;
  z-index: 0;
}

/* Gradient overlay for readability */
.theme-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 43, 34, 0.95) 10%, rgba(19, 43, 34, 0.4) 60%, rgba(19, 43, 34, 0.1) 100%);
  z-index: 1;
  transition: background 0.5s ease;
}

.theme-card:hover .theme-bg {
  opacity: 0.8;
  transform: scale(1.1);
}

.theme-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--desert-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 3;
}

.theme-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.25);
}

.theme-card:hover::after {
  background: linear-gradient(to top, rgba(19, 43, 34, 0.98) 5%, rgba(19, 43, 34, 0.5) 50%, rgba(19, 43, 34, 0.15) 100%);
}

.theme-card:hover::before {
  transform: scaleX(1);
}

.theme-card-featured {
  border-color: rgba(67, 160, 71, 0.5);
}

.theme-card-featured::before {
  background: var(--accent-teal);
}

.theme-icon-wrap {
  font-size: 2.2rem;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  /* Pushes the text down */
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.theme-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.theme-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 2;
}

.theme-card ul li {
  font-size: 0.82rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.theme-card ul li::before {
  content: '▸';
  color: var(--accent);
  font-size: 0.65rem;
}

.theme-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: rgba(27, 48, 34, 0.06);
  color: var(--slate);
  position: relative;
  z-index: 2;
}

.theme-tag-new {
  background: rgba(0, 131, 143, 0.1);
  color: var(--accent-teal);
}

/* ── 9. KEYNOTE SPEAKERS ── */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.speaker-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(27, 48, 34, 0.08);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
}

.speaker-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.speaker-img-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.2rem;
}

.speaker-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: block;
  border: 3px solid var(--sky-mid);
  transition: all var(--transition);
  object-fit: cover;
}

.speaker-card:hover .speaker-img {
  border-color: var(--accent);
  transform: scale(1.05);
}

.speaker-country {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 1rem;
  line-height: 1;
}

.speaker-info h4 {
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.speaker-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.speaker-affil {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.speaker-topic {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-style: italic;
  background: var(--surface);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

/* ── 10. IMPORTANT DATES GRID ── */
.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.date-card {
  background: linear-gradient(135deg, var(--white) 0%, rgba(227, 242, 253, 0.3) 100%);
  border: 2px solid rgba(66, 165, 245, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.date-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
}

.date-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(66, 165, 245, 0.3);
  background: linear-gradient(135deg, rgba(227, 242, 253, 0.5) 0%, rgba(165, 214, 167, 0.2) 100%);
}

.date-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.date-card h4 {
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.date-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--soil);
  margin-bottom: 0.5rem;
}

.date-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── 11. GUIDELINES ACCORDION ── */
.accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.acc-toggle {
  display: none;
}

.acc-item {
  border: 1px solid rgba(27, 48, 34, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.acc-item:has(.acc-toggle:checked) {
  box-shadow: var(--shadow);
  border-color: rgba(27, 48, 34, 0.2);
}

.acc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(90deg, var(--white) 0%, rgba(227, 242, 253, 0.2) 100%);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
  border: 1px solid rgba(67, 160, 71, 0.08);
}

.acc-header:hover {
  background: linear-gradient(90deg, rgba(227, 242, 253, 0.3) 0%, rgba(165, 214, 167, 0.15) 100%);
  border-color: rgba(67, 160, 71, 0.15);
}

.acc-item:has(.acc-toggle:checked) .acc-header {
  background: linear-gradient(120deg, var(--forest), var(--forest-lite));
  color: var(--white);
  border-color: var(--accent);
}

.acc-icon {
  font-size: 1.2rem;
}

.acc-header>span:nth-child(2) {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
  color: var(--forest);
  transition: color var(--transition);
}

.acc-item:has(.acc-toggle:checked) .acc-header>span:nth-child(2) {
  color: var(--white);
}

.acc-arrow {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}

.acc-item:has(.acc-toggle:checked) .acc-arrow {
  transform: rotate(180deg);
  color: rgba(255, 255, 255, 0.6);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-toggle:checked~.acc-body {
  max-height: 1000px;
}

.acc-content {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(27, 48, 34, 0.06);
}

.acc-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.2rem 0 0.5rem;
  font-family: 'Source Sans 3', sans-serif;
}

.acc-content h4:first-child {
  margin-top: 0;
}

.acc-content p {
  font-size: 0.93rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.acc-content a {
  color: var(--accent);
  text-decoration: underline;
}

.guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.guide-list li {
  font-size: 0.92rem;
  color: var(--text-mid);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.guide-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

code {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  background: rgba(27, 48, 34, 0.06);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  color: var(--soil);
}

/* Fee table */
.fee-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.fee-table th {
  background: var(--forest);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
}

.fee-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(27, 48, 34, 0.07);
  color: var(--text-mid);
}

.fee-table tr:hover td {
  background: var(--surface);
}

.fee-intl td {
  background: rgba(227, 242, 253, 0.5);
}

.fee-cat {
  font-weight: 500;
  color: var(--text-dark);
}

.fee-amt {
  font-weight: 700;
  color: var(--forest);
}

.fee-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--accent-gold);
}

/* ── 12. REGISTRATION SECTION ── */
.reg-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.reg-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.reg-body .section-label {
  margin-bottom: 0.75rem;
}

.reg-body .section-title {
  text-align: left;
  margin-bottom: 1.2rem;
}

.reg-body p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.reg-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.reg-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(67, 160, 71, 0.15);
  border: 1px solid rgba(67, 160, 71, 0.3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}

.reg-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Registration Card */
.reg-visual {
  display: flex;
  justify-content: center;
}

.reg-card {
  width: 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  transform: rotate(-2deg);
  transition: transform var(--transition);
}

.reg-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.rc-header {
  background: var(--forest-lite);
  color: var(--white);
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 3px solid var(--accent);
}

.rc-body {
  padding: 1.2rem;
}

.rc-field {
  margin-bottom: 0.75rem;
}

.rc-field label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.rc-field span {
  font-size: 0.88rem;
  color: var(--text-dark);
  border-bottom: 1px dashed rgba(27, 48, 34, 0.15);
  display: block;
  padding-bottom: 0.3rem;
}

.rc-badge {
  display: inline-block;
  background: rgba(67, 160, 71, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-top: 0.5rem;
  border: 1px solid rgba(67, 160, 71, 0.3);
}

.rc-footer {
  background: var(--surface);
  padding: 0.7rem 1.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid rgba(27, 48, 34, 0.08);
  font-weight: 500;
}

/* ── 13. CONTACT SECTION ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: linear-gradient(135deg, var(--white) 0%, rgba(165, 214, 167, 0.08) 100%);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lavender), var(--teal), var(--accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(67, 160, 71, 0.2);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.contact-card h4 {
  font-size: 1rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-card small {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* ── 13. TABLES ── */
.committee-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid #e0e0e0;
  box-shadow: var(--shadow-sm);
}

.committee-table,
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.committee-table thead,
.pricing-table thead {
  background: var(--forest);
  color: var(--white);
}

.committee-table th,
.pricing-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.committee-table td,
.pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.committee-table tbody tr:last-child td,
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.committee-table tbody tr:hover,
.pricing-table tbody tr:hover {
  background: var(--surface);
}

.committee-table strong {
  color: var(--text-dark);
}

.pricing-header {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.pricing-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.reg-pricing {
  background: rgba(27, 48, 34, 0.8);
  padding: 2rem;
  border-radius: var(--radius);
  color: var(--white);
}

.pricing-table thead {
  background: var(--forest-mid);
}

.pricing-table th {
  color: var(--white);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.pricing-table td {
  padding: 1rem;
  text-align: center;
  color: var(--white);
}

.pricing-table tbody tr:hover {
  background: rgba(67, 160, 71, 0.1);
}

.pricing-table tbody tr:first-child td {
  text-align: left;
}

/* ── 14. COMMITTEE CARDS ── */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.committee-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.committee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--forest-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.committee-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(67, 160, 71, 0.2);
}

.committee-card:hover::before {
  transform: scaleX(1);
}

.committee-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  background: rgba(67, 160, 71, 0.15);
  color: var(--forest-green);
}

.committee-icon {
  font-size: 3rem;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.committee-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

.committee-dept {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.committee-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Color variations for different roles */
.committee-card-director {
  background: linear-gradient(135deg, #fff8f3, #fff0e6);
  border-top: 4px solid var(--desert-orange);
}

.committee-card-director .committee-badge {
  background: rgba(245, 124, 0, 0.15);
  color: var(--desert-orange);
}

.committee-card-director .committee-dept {
  color: var(--desert-orange);
}

.committee-card-chair {
  background: linear-gradient(135deg, #f3f8ff, #e6f2ff);
  border-top: 4px solid var(--river-blue);
}

.committee-card-chair .committee-badge {
  background: rgba(66, 165, 245, 0.15);
  color: var(--river-blue);
}

.committee-card-chair .committee-dept {
  color: var(--river-blue);
}

.committee-card-secretary {
  background: linear-gradient(135deg, #f0f8f6, #e6f5f3);
  border-top: 4px solid var(--teal);
}

.committee-card-secretary .committee-badge {
  background: rgba(0, 137, 123, 0.15);
  color: var(--teal);
}

.committee-card-secretary .committee-dept {
  color: var(--teal);
}

.committee-card-editor {
  background: linear-gradient(135deg, #f8f3ff, #f0e6ff);
  border-top: 4px solid var(--lavender);
}

.committee-card-editor .committee-badge {
  background: rgba(126, 87, 194, 0.15);
  color: var(--lavender);
}

.committee-card-editor .committee-dept {
  color: var(--lavender);
}

.committee-card-member {
  background: linear-gradient(135deg, #f5f9f8, #ebf5f3);
  border-top: 4px solid var(--grass);
}

.committee-card-member .committee-badge {
  background: rgba(102, 187, 106, 0.15);
  color: var(--grass);
}

.committee-card-member .committee-dept {
  color: var(--grass);
}

.committee-card-assoc {
  background: linear-gradient(135deg, #fffbf0, #fff7e6);
  border-top: 4px solid var(--sun-yellow);
}

.committee-card-assoc .committee-badge {
  background: rgba(251, 192, 45, 0.15);
  color: var(--sun-yellow);
}

.committee-card-assoc .committee-dept {
  color: var(--sun-yellow);
}

.committee-card-finance {
  background: linear-gradient(135deg, #fff0f5, #ffe6f0);
  border-top: 4px solid var(--sunset);
}

.committee-card-finance .committee-badge {
  background: rgba(248, 187, 208, 0.15);
  color: var(--sunset);
}

.committee-card-finance .committee-dept {
  color: var(--sunset);
}

.committee-card-convener {
  background: linear-gradient(135deg, #f0f3ff, #e6ecff);
  border-top: 4px solid var(--ocean-blue);
}

.committee-card-convener .committee-badge {
  background: rgba(2, 119, 189, 0.15);
  color: var(--ocean-blue);
}

.committee-card-convener .committee-dept {
  color: var(--ocean-blue);
}

/* ── 15. PRICING CARDS ── */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  cursor: pointer;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.price-category {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.price-tier {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
}

.price-col {
  flex: 1;
  text-align: center;
}

.price-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
}

.price-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  font-family: 'Playfair Display', serif;
}

.pricing-card small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.3rem;
}

/* Color variations for pricing cards */
.pricing-card-student {
  background: linear-gradient(135deg, rgba(102, 187, 106, 0.3) 0%, rgba(102, 187, 106, 0.1) 100%);
  border-color: rgba(102, 187, 106, 0.5);
}

.pricing-card-student:hover {
  background: linear-gradient(135deg, rgba(102, 187, 106, 0.4) 0%, rgba(102, 187, 106, 0.2) 100%);
  box-shadow: 0 12px 32px rgba(102, 187, 106, 0.2);
}

.pricing-card-local {
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.3) 0%, rgba(66, 165, 245, 0.1) 100%);
  border-color: rgba(66, 165, 245, 0.5);
}

.pricing-card-local:hover {
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.4) 0%, rgba(66, 165, 245, 0.2) 100%);
  box-shadow: 0 12px 32px rgba(66, 165, 245, 0.2);
}

.pricing-card-saarc {
  background: linear-gradient(135deg, rgba(126, 87, 194, 0.3) 0%, rgba(126, 87, 194, 0.1) 100%);
  border-color: rgba(126, 87, 194, 0.5);
}

.pricing-card-saarc:hover {
  background: linear-gradient(135deg, rgba(126, 87, 194, 0.4) 0%, rgba(126, 87, 194, 0.2) 100%);
  box-shadow: 0 12px 32px rgba(126, 87, 194, 0.2);
}

.pricing-card-intl {
  background: linear-gradient(135deg, rgba(248, 187, 208, 0.3) 0%, rgba(248, 187, 208, 0.1) 100%);
  border-color: rgba(248, 187, 208, 0.5);
}

.pricing-card-intl:hover {
  background: linear-gradient(135deg, rgba(248, 187, 208, 0.4) 0%, rgba(248, 187, 208, 0.2) 100%);
  box-shadow: 0 12px 32px rgba(248, 187, 208, 0.2);
}

/* ── 14. FOOTER ── */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-logo .logo-img {
  height: 200px;
  margin-bottom: 0;
  margin-top: 0;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
}

.social-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.2rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col ul a:hover {
  color: var(--white);
}

.footer-org {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.org-logo {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--forest-lite);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.footer-org p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom p:last-child {
  display: flex;
  gap: 1rem;
}

/* ── 14.5 GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

/* ── 14.6 PROCEEDINGS ── */
.proceedings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.proceeding-item {
  text-align: center;
}

.proceeding-thumb {
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  max-width: 20rem;
  width: 100%;
  margin: 0 auto;
  border: 2px solid var(--border-color);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.proceeding-item {
  text-align: center;
}

.proceeding-thumb:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--color-amber);
}

.proceeding-item p {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.proceeding-item h3 {
  margin: 1rem 0 0.5rem 0;
  color: var(--text-primary);
}

.proceeding-item p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ── 15. RESPONSIVE — TABLET ── */
@media (max-width: 1024px) {
  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    gap: 3rem;
  }

  .reg-grid {
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .about-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
  }

  .about-badge {
    margin-bottom: 0;
  }

  .reg-grid {
    grid-template-columns: 1fr;
  }

  .reg-visual {
    width: 100%;
    margin-top: 2rem;
  }
}

/* ── 16. RESPONSIVE — MOBILE ── */
@media (max-width: 768px) {
  :root {
    --nav-h: 60px;
  }

  .section {
    padding: 4rem 0;
  }

  /* Mobile Nav */
  .hamburger {
    display: flex;
    z-index: 1002;
  }

  .pgis-logo,
  .logo-img {
    height: 120px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    overflow-y: auto;
    background: var(--forest);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
    gap: 0.25rem;
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .nav-toggle:checked~.navbar .nav-links {
    right: 0;
  }

  .nav-toggle:checked~.navbar .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked~.navbar .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked~.navbar .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-toggle:checked~.nav-overlay {
    display: block;
  }

  /* Hero mobile */
  .hero {
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 3.5rem;
    flex-direction: column;
  }

  .hero-buttons {
    position: relative;
    bottom: auto;
    padding-bottom: 3rem;
    margin-top: 1rem;
  }

  .hero-title {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-stats {
    gap: 0;
  }

  .stat {
    padding: 0 1rem;
  }

  .stat strong {
    font-size: 1.4rem;
  }

  .stat-sep {
    height: 30px;
  }

  /* Grids -> single column */
  .themes-grid {
    grid-template-columns: 1fr;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  /* Timeline mobile */
  .tl-item {
    grid-template-columns: 16px 1fr;
    gap: 0 1rem;
  }

  .tl-item.tl-last {
    grid-template-columns: 16px 1fr;
  }

  .tl-card {
    grid-column: 2;
  }

  .tl-line {
    display: none;
  }

  .tl-dot {
    width: 16px;
    height: 16px;
  }

  /* Accordion */
  .acc-content {
    padding: 1.2rem;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom p:last-child {
    justify-content: center;
  }

  .reg-buttons {
    flex-direction: column;
  }

  .reg-buttons .btn {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .nav-inner {
    padding: 0 1.25rem;
  }

  .about-art {
    flex-wrap: wrap;
    padding-left: 0;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-sep {
    width: 60px;
    height: 1px;
  }

  .speaker-card {
    padding: 1.5rem;
  }

  .theme-card {
    padding: 1.5rem;
  }

  .tl-card {
    padding: 1.2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

/* ── 17. PRINT STYLES ── */
@media print {

  .navbar,
  .hero-scroll,
  .hero-bg,
  .hero-particles,
  .hero-rings {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
}

/* ── 18. ACCESSIBILITY ── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Enhanced Animations */
.theme-card,
.speaker-card,
.timeline-item,
.contact-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-card.animate-in,
.speaker-card.animate-in,
.timeline-item.animate-in,
.contact-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax effect for hero */
.hero-bg {
  transform: translateZ(0);
  will-change: transform;
}

/* Pulse animation for accent elements */
@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(67, 160, 71, 0.3);
  }

  50% {
    box-shadow: 0 0 30px rgba(67, 160, 71, 0.6);
  }
}

.hero-res,
.hero-con {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Breathing animation for earth elements */
@keyframes breathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.earth-element {
  animation: earthFloat 15s ease-in-out infinite, breathe 4s ease-in-out infinite;
}

/* Enhanced hover effects */
.speaker-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.speaker-card:hover .speaker-img {
  border-color: var(--accent-teal);
  transform: scale(1.08) rotate(2deg);
}

/* Animated underlines */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Breathing effect for badges */
.badge-num {
  animation: badgeBreath 2s ease-in-out infinite;
}

@keyframes badgeBreath {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Wave animation for highlights */
.highlight:hover {
  animation: waveShake 0.5s ease-in-out;
}

@keyframes waveShake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-2px);
  }

  75% {
    transform: translateX(2px);
  }
}