/* ==========================================================================
   63. ULUSAL DİYABET METABOLİZMA VE BESLENME HASTALIKLARI KONGRESİ
   Professional UI/UX Stylesheet - Modern, Animated & Medical Tech Design
   ========================================================================== */

/* --- CSS Variables & Color Palette --- */
:root {
  --primary-navy: #0b1f3a;
  --primary-blue: #0d47a1;
  --accent-cyan: #00bcd4;
  --accent-teal: #00897b;
  --accent-turquoise: #00e5ff;
  --accent-gold: #f59e0b;
  --accent-rose: #e91e63;
  --bg-gradient: linear-gradient(135deg, #0b1f3a 0%, #153e75 50%, #0d47a1 100%);
  --bg-light: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-glass: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(255, 255, 255, 0.35);
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -3px rgba(13, 71, 161, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 35px -5px rgba(13, 71, 161, 0.18), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(0, 229, 255, 0.35);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Resets & Typography --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary-blue), var(--accent-cyan));
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-navy);
}

/* --- Top Branding Bar (Logos, Title & Socials) --- */
.top-branding-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
  position: relative;
  z-index: 1040;
}

.topbar-branding {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.topbar-divider {
  width: 1.5px;
  height: 52px;
  background: #cbd5e1;
}

.topbar-headtext-wrap {
  display: flex;
  align-items: center;
}

.topbar-headtext-img {
  height: 68px;
  max-height: 75px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.topbar-flower-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.topbar-flower-img {
  height: 64px;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  transform-origin: center center;
  animation: flowerPulseBreathe 4s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
  cursor: pointer;
}

@keyframes flowerPulseBreathe {
  0% {
    transform: scale(0.96) rotate(0deg);
    filter: drop-shadow(0 2px 6px rgba(13, 71, 161, 0.12));
  }
  50% {
    transform: scale(1.14) rotate(8deg);
    filter: drop-shadow(0 8px 20px rgba(0, 188, 212, 0.35));
  }
  100% {
    transform: scale(0.96) rotate(0deg);
    filter: drop-shadow(0 2px 6px rgba(13, 71, 161, 0.12));
  }
}

.topbar-flower-img:hover {
  transform: scale(1.22) rotate(15deg);
  filter: drop-shadow(0 10px 24px rgba(0, 229, 255, 0.55));
  animation-play-state: paused;
}

/* --- Main Navigation (Left-aligned & Sticky) --- */
.main-navbar {
  background: linear-gradient(90deg, #0a3060 0%, #0c66cb 100%);
  box-shadow: 0 4px 20px rgba(10, 48, 96, 0.2);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--transition);
  border-bottom: 2px solid var(--accent-cyan);
}

.main-navbar.scrolled {
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.25);
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.94rem;
  color: #f1f5f9 !important;
  padding: 16px 18px !important;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-turquoise) !important;
  background: rgba(255, 255, 255, 0.08);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-turquoise), var(--accent-cyan));
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.btn-nav-action {
  background: linear-gradient(135deg, #c0392b 0%, #d35400 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.35);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.btn-nav-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(211, 84, 0, 0.5);
  color: #fff !important;
}

.btn-nav-action::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(30deg);
  animation: shineBtn 3.5s infinite;
}

@keyframes shineBtn {
  0% { transform: translateX(-100%) rotate(30deg); }
  30%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* --- Hero Carousel / Slider Section --- */
.hero-slider-section {
  position: relative;
  background: #071527;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-slide-img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: cover;
  display: block;
}

/* Slider Controls Styling */
.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  background: rgba(11, 31, 58, 0.45);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-control-prev { left: 24px; }
.carousel-control-next { right: 24px; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--accent-cyan);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-indicators [data-bs-target] {
  width: 36px;
  height: 6px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  transition: var(--transition);
}

.carousel-indicators .active {
  width: 55px;
  background-color: var(--accent-turquoise);
}

/* --- Countdown Floating Bar with Glowing Particles --- */
.countdown-banner-bar {
  background: linear-gradient(90deg, #0a3060 0%, #0c66cb 100%);
  color: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 20;
}

.countdown-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.countdown-box-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  min-width: 70px;
}

.countdown-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.countdown-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c1d7f5;
  font-weight: 600;
}

/* --- Quick Access Action Buttons --- */
.quick-access-section {
  padding: 55px 0 35px;
  position: relative;
  margin-top: 0;
  z-index: 30;
}

.quick-btn-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-radius: var(--radius-pill);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
}

.quick-btn-coral {
  background: linear-gradient(135deg, #0a3060 0%, #175294 100%);
  box-shadow: 0 8px 25px rgba(10, 48, 96, 0.28);
}

.quick-btn-purple {
  background: linear-gradient(135deg, #0056b3 0%, #0084ff 100%);
  box-shadow: 0 8px 25px rgba(0, 114, 255, 0.28);
}

.quick-btn-green {
  background: linear-gradient(135deg, #007791 0%, #00b4d8 100%);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.28);
}

.quick-btn-cyan {
  background: linear-gradient(135deg, #c0392b 0%, #d35400 100%);
  box-shadow: 0 8px 25px rgba(192, 57, 43, 0.28);
}

.quick-btn-card:hover {
  transform: translateY(-5px) scale(1.02);
  color: #ffffff !important;
}

.quick-btn-coral:hover {
  box-shadow: 0 14px 30px rgba(10, 48, 96, 0.45);
}

.quick-btn-purple:hover {
  box-shadow: 0 14px 30px rgba(0, 114, 255, 0.45);
}

.quick-btn-green:hover {
  box-shadow: 0 14px 30px rgba(0, 180, 216, 0.45);
}

.quick-btn-cyan:hover {
  box-shadow: 0 14px 30px rgba(192, 57, 43, 0.45);
}

.quick-btn-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(30deg);
  transition: transform 0.6s ease;
}

.quick-btn-card:hover::before {
  transform: translateX(100%) rotate(30deg);
}

.quick-btn-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.quick-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.quick-btn-card:hover .quick-btn-icon {
  transform: scale(1.15) rotate(8deg);
  background: rgba(255, 255, 255, 0.35);
}

/* --- Section Global Styling --- */
.section-padding {
  padding: 75px 0;
}

.section-header {
  margin-bottom: 44px;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-teal);
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
}

.title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 2px;
  margin-top: 14px;
}

.center-title .title-line {
  margin-left: auto;
  margin-right: auto;
}

/* --- Important Dates & Calendar Section --- */
.dates-section {
  background: #ffffff;
  position: relative;
}

.calendar-card {
  background: linear-gradient(145deg, #0b1f3a 0%, #153e75 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.calendar-card::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, transparent 70%);
  top: -50px;
  right: -50px;
  border-radius: 50%;
  pointer-events: none;
}

.calendar-table {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  border-collapse: separate;
  border-spacing: 6px;
}

.calendar-table th {
  color: var(--accent-turquoise);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px;
}

.calendar-table td {
  padding: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.calendar-table td.active-date {
  background: linear-gradient(135deg, #00e5ff 0%, #0091ea 100%);
  color: #0b1f3a;
  font-weight: 800;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
  transform: scale(1.05);
}

.calendar-table td.empty-day {
  background: transparent;
  color: rgba(255, 255, 255, 0.2);
}

.date-milestone-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.milestone-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 8px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: var(--transition);
}

.milestone-item:hover {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.milestone-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(13, 71, 161, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.milestone-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 3px;
}

.milestone-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.milestone-badge {
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge-highlight {
  background: #e0f7fa;
  color: #006064;
  border: 1px solid #b2ebf2;
}

.badge-upcoming {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffe0b2;
}

/* --- Welcome / President's Message Section --- */
.welcome-section {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
}

.welcome-paper-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  position: relative;
}

.quote-mark {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 4.5rem;
  color: rgba(13, 71, 161, 0.07);
  font-family: serif;
  line-height: 1;
}

.welcome-text p {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.welcome-text .lead-p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 22px;
}

.signatures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e2e8f0;
}

.signature-card {
  background: #f8fafc;
  padding: 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-blue);
}

.sign-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 3px;
}

.sign-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Stats Counter Row */
.stats-banner {
  background: linear-gradient(135deg, #0b1f3a 0%, #153e75 100%);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  margin-top: 45px;
}

.stat-item {
  text-align: center;
  padding: 15px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--accent-turquoise);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* --- Scientific Topics Grid --- */
.topics-section {
  background: #ffffff;
}

.topic-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
}

.topic-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.1) 0%, rgba(0, 188, 212, 0.1) 100%);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.topic-card:hover .topic-icon {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
  color: #ffffff;
  transform: scale(1.1);
}

.topic-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.topic-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- Annals & Archive Section with Animated Waves & Shifting Colors --- */
.annals-section {
  background: linear-gradient(-45deg, #071527, #0a3060, #0c4a7c, #0c66cb, #122b49);
  background-size: 400% 400%;
  animation: gradientShift 14s ease infinite;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.annals-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Glowing Floating Color Orbs */
.annals-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  animation: orbFloat 16s ease-in-out infinite alternate;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #00e5ff 0%, #0d47a1 70%, transparent 100%);
  top: -100px;
  left: -100px;
  animation-duration: 14s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7928ca 0%, #0c66cb 70%, transparent 100%);
  bottom: -150px;
  right: -100px;
  animation-duration: 18s;
  animation-delay: -5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #00b4d8 0%, #03045e 70%, transparent 100%);
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 15s;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.15);
  }
  100% {
    transform: translate(-30px, 40px) scale(0.9);
  }
}

/* SVG Parallax Waves */
.annals-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  min-height: 90px;
  max-height: 150px;
  z-index: 1;
}

.parallax-waves > use {
  animation: moveForever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax-waves > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax-waves > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax-waves > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax-waves > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes moveForever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

.book-mockup-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.book-3d-item {
  perspective: 1200px;
}

.book-3d {
  width: 220px;
  height: 315px;
  border-radius: 12px;
  box-shadow: -15px 20px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(0, 229, 255, 0.25);
  transform: rotateY(-12deg) rotateX(4deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #000000;
}

.book-3d-alt {
  transform: rotateY(12deg) rotateX(4deg);
  box-shadow: 15px 20px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(121, 40, 202, 0.3);
}

.book-3d:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.06);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 45px rgba(0, 229, 255, 0.55);
  z-index: 5;
}

.book-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Vertically Stacked Annals Action Buttons */
.annals-btn-stack {
  width: 100%;
  max-width: 440px;
}

.annals-stack-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.annals-stack-btn:hover {
  background: linear-gradient(135deg, rgba(12, 102, 203, 0.45) 0%, rgba(0, 229, 255, 0.35) 100%);
  border-color: rgba(0, 229, 255, 0.6);
  transform: translateX(8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.3);
  color: #ffffff !important;
}

.annals-btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.annals-stack-btn:hover .annals-btn-icon {
  transform: scale(1.15) rotate(6deg);
}

.annals-btn-text {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* --- Venue & Hotel Showcase Section --- */
.hotel-section {
  background: #f8fafc;
}

.hotel-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  margin-right: 8px;
  margin-bottom: 12px;
}

.hotel-feature-badge i {
  color: var(--accent-teal);
}

.btn-hotel-map {
  background: linear-gradient(135deg, #0a3060 0%, #0c66cb 100%);
  color: #ffffff !important;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 12px 28px;
  box-shadow: 0 6px 20px rgba(10, 48, 96, 0.25);
  transition: var(--transition);
}

.btn-hotel-map:hover {
  background: linear-gradient(135deg, #0c66cb 0%, #00bcd4 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 188, 212, 0.35);
  color: #ffffff !important;
}

.hotel-banner-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

/* --- Committees & Boards Section --- */
.committee-section {
  background: #ffffff;
}

.committee-nav-tabs {
  border: none;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.committee-nav-tabs .nav-link {
  background: #f1f5f9;
  color: var(--primary-navy);
  font-weight: 700;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.committee-nav-tabs .nav-link.active {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}

.member-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.member-card:hover {
  background: #ffffff;
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.member-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 12px;
  box-shadow: 0 4px 10px rgba(13, 71, 161, 0.2);
}

.member-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.member-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Call to Action Bar --- */
.cta-banner-section {
  background: linear-gradient(135deg, #0d47a1 0%, #00838f 100%);
  color: #ffffff;
  padding: 55px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(0, 229, 255, 0.25) 0%, transparent 60%);
}

.cta-title {
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-text {
  color: #e0f7fa;
  font-size: 1rem;
  margin-bottom: 0;
}

/* --- Footer --- */
.main-footer {
  background: #071527;
  color: #94a3b8;
  padding: 65px 0 25px;
  border-top: 3px solid var(--accent-cyan);
}

.footer-title {
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent-turquoise);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact-item i {
  color: var(--accent-turquoise);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 25px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}

/* --- Floating Back To Top Button --- */
.back-to-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.6);
  color: #ffffff;
}

/* --- Modals Custom Styling --- */
.modal-content {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, #0b1f3a 0%, #0d47a1 100%);
  color: #ffffff;
  border-bottom: none;
  padding: 18px 25px;
}

.modal-header .modal-title {
  color: #ffffff;
  font-weight: 700;
}

.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body {
  padding: 26px;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 991px) {
  .hero-slider, .hero-carousel-item {
    min-height: 600px;
    height: auto;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-overlay {
    padding: 50px 0;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .stat-item {
    margin-bottom: 20px;
  }
  .navbar-collapse {
    background: #071930;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin: 10px 0 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 229, 255, 0.2);
  }
  .navbar-nav .nav-link {
    padding: 10px 14px !important;
  }
}

@media (max-width: 767px) {
  .top-branding-bar {
    padding: 10px 0;
  }
  .topbar-logo {
    height: 46px;
  }
  .topbar-title {
    font-size: 1.18rem;
  }
  .topbar-subtitle {
    font-size: 0.85rem;
  }
  .topbar-socials {
    margin-top: 5px;
  }
  .social-icon-circle {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-meta-list {
    flex-direction: column;
    gap: 10px;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .welcome-paper-card {
    padding: 25px 18px;
  }
  .topbar-logo {
    height: 40px;
  }
  .topbar-divider {
    height: 32px;
  }
  .topbar-title {
    font-size: 1.05rem;
  }
  .topbar-subtitle {
    font-size: 0.78rem;
  }
}

/* CONTENT */
  .dk-content {
    --dk-blue: #004b94;
    --dk-cyan: #00b8d9;
    color: #26384a;
    line-height: 1.75;
    font-family: inherit
  }

  .dk-content .dk-heading {
    color: var(--dk-blue);
    font-weight: 750
  }

  .dk-content .dk-hero {
    background: linear-gradient(115deg, #f0faff, #e8f1fc);
    border-left: 5px solid var(--dk-cyan);
    border-radius: 16px
  }

  .dk-content .dk-kicker {
    color: var(--dk-blue);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em
  }

  .dk-content .dk-card {
    border: 1px solid #dce8f1;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(0, 65, 115, .05);
    background: #fff
  }

  .dk-content .dk-section-title {
    color: var(--dk-blue);
    font-weight: 700;
    border-bottom: 2px solid #dceef7;
    padding-bottom: .75rem;
    margin-bottom: 1.25rem
  }

  .dk-content .table {
    --bs-table-color: #26384a;
    --bs-table-bg: transparent;
    vertical-align: middle;
    margin-bottom: 0
  }

  .dk-content .table thead th {
    background: #004b94;
    color: white;
    font-weight: 600
  }

  .dk-content .table td,
  .dk-content .table th {
    padding: .85rem
  }

  .dk-content .dk-note {
    background: #eef8fc;
    border-left: 4px solid #00b8d9;
    border-radius: 8px;
    padding: 1rem
  }

  .dk-content .dk-name {
    color: #004b94;
    font-weight: 700
  }

  .dk-content li {
    margin-bottom: .45rem
  }

  .dk-content .dk-price {
    white-space: nowrap;
    font-weight: 700;
    color: #004b94
  }

  .dk-content .dk-nav a {
    color: #004b94;
    text-decoration: none
  }

  .dk-content .dk-nav a:hover {
    text-decoration: underline
  }

  .dk-content [id] {
    scroll-margin-top: 100px
  }
