/* ============================================================================
   KS? T?p Nadir Hastal?klar Sempozyumu - Professional CSS Stylesheet
   Medical Conference Website - Modern, Responsive, Professional Design
   ============================================================================ */

/* ============================================================================
   1. ROOT & GLOBAL VARIABLES
   ============================================================================ */

:root {
  /* Color Palette */
  --primary-color: #1a5276;
  --primary-light: #2e86c1;
  --accent-color: #27ae60;
  --background-color: #f8f9fa;
  --text-color: #2c3e50;
  --text-light: #5d6d7b;
  --border-color: #e0e6ed;
  --error-color: #e74c3c;
  --warning-color: #f39c12;
  --success-color: #27ae60;
  --info-color: #3498db;

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* ============================================================================
   2. TYPOGRAPHY & FONTS
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--primary-color);
}

/* ============================================================================
   3. LAYOUT & SECTIONS
   ============================================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-lg);
}

section {
  padding: var(--spacing-2xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  position: relative;
  padding-bottom: var(--spacing-xl);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: var(--spacing-md);
}

/* ============================================================================
   4. NAVIGATION BAR
   ============================================================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0f3d54 100%);
  padding: var(--spacing-md) 0;
  box-shadow: var(--shadow-md);
  transition: padding var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  padding: var(--spacing-sm) 0;
  box-shadow: var(--shadow-lg);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

.navbar-nav {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.navbar-nav a {
  color: white;
  font-weight: 500;
  transition: color var(--transition-base), border-bottom var(--transition-base);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================================================
   5. HERO SECTION
   ============================================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, #165783 100%);
  position: relative;
  overflow: hidden;
  padding: var(--spacing-2xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="dots" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 900px;
}

.hero h1 {
  color: white;
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.95);
  animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-date-location {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
  animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.15);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
}

.hero-info-item svg {
  width: 24px;
  height: 24px;
}

.hero-countdown {
  margin: var(--spacing-xl) 0;
  animation: slideUp 0.8s ease-out 0.6s both;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.15);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  min-width: 100px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.countdown-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-xl);
  animation: slideUp 0.8s ease-out 0.8s both;
}

/* ============================================================================
   6. BUTTONS & FORMS
   ============================================================================ */

.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #0f3d54, var(--primary-color));
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--accent-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #229954;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success-color);
  color: white;
}

.btn-success:hover {
  background: #229954;
}

.btn-danger {
  background: var(--error-color);
  color: white;
}

.btn-danger:hover {
  background: #c0392b;
}

.btn-warning {
  background: var(--warning-color);
  color: white;
}

.btn-warning:hover {
  background: #d68910;
}

.btn-info {
  background: var(--info-color);
  color: white;
}

.btn-info:hover {
  background: #2980b9;
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.1rem;
}

.btn-sm {
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.9rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================================================
   7. FORMS
   ============================================================================ */

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--primary-color);
}

.form-label.required::after {
  content: ' *';
  color: var(--error-color);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-color);
  transition: all var(--transition-base);
  background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.1);
}

.form-input:disabled,
.form-textarea:disabled,
.form-select:disabled {
  background: #f0f0f0;
  cursor: not-allowed;
  opacity: 0.6;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-primary);
}

.form-select {
  cursor: pointer;
}

.form-hint {
  display: block;
  margin-top: var(--spacing-xs);
  font-size: 0.9rem;
  color: var(--text-light);
}

.form-error {
  color: var(--error-color);
  margin-top: var(--spacing-xs);
  font-size: 0.9rem;
}

.form-input.error,
.form-textarea.error {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.form-checkbox,
.form-radio {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.form-checkbox input,
.form-radio input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-light);
}

.form-checkbox label,
.form-radio label {
  cursor: pointer;
  margin: 0;
}

.file-upload {
  position: relative;
  display: inline-block;
}

.file-upload input[type="file"] {
  display: none;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  font-weight: 600;
}

.file-upload-label:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.file-upload-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
  background: rgba(46, 134, 193, 0.02);
}

.file-upload-area:hover {
  border-color: var(--primary-light);
  background: rgba(46, 134, 193, 0.05);
}

.file-upload-area.dragover {
  background: rgba(46, 134, 193, 0.1);
  border-color: var(--primary-light);
}

.file-list {
  margin-top: var(--spacing-md);
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-sm);
}

.file-item-name {
  font-weight: 600;
  color: var(--text-color);
}

.file-item-size {
  color: var(--text-light);
  font-size: 0.9rem;
}

.file-item-remove {
  background: var(--error-color);
  color: white;
  border: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.file-item-remove:hover {
  background: #c0392b;
}

/* ============================================================================
   8. CARDS & CONTAINERS
   ============================================================================ */

.card {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: var(--spacing-lg);
  font-weight: 600;
}

.card-body {
  padding: var(--spacing-lg);
}

.card-footer {
  background: var(--background-color);
  padding: var(--spacing-md) var(--spacing-lg);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.card-text {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.card-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--accent-color);
  color: white;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================================
   9. PROGRAM SCHEDULE SECTION
   ============================================================================ */

.program-section {
  background: white;
}

.program-timeline {
  position: relative;
  padding: var(--spacing-2xl) 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  position: relative;
  animation: fadeInUp 0.6s ease-out both;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-time {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.timeline-content {
  background: white;
  border-left: 4px solid var(--primary-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.timeline-content:hover {
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent-color);
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.timeline-description {
  color: var(--text-light);
  line-height: 1.8;
}

.timeline-speaker {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
  font-style: italic;
  color: var(--text-light);
}

/* ============================================================================
   10. COMMITTEES SECTION
   ============================================================================ */

.committees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.committee-card {
  text-align: center;
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.committee-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  font-weight: 700;
}

.committee-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.committee-title {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.committee-institution {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================================================
   11. SUBMISSIONS & ACCEPTED PAPERS
   ============================================================================ */

.submissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.submission-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.submission-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: var(--spacing-md);
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.submission-type {
  display: inline-block;
  background: rgba(255, 255, 255, 0.3);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: var(--spacing-sm);
}

.submission-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.submission-body {
  padding: var(--spacing-lg);
  flex-grow: 1;
}

.submission-authors {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.submission-abstract {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.submission-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.keyword-tag {
  display: inline-block;
  background: var(--background-color);
  color: var(--primary-color);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  border: 1px solid var(--primary-light);
}

.submission-footer {
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--background-color);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.submission-status {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-accepted {
  background: rgba(39, 174, 96, 0.2);
  color: var(--success-color);
}

.status-pending {
  background: rgba(243, 156, 18, 0.2);
  color: var(--warning-color);
}

.status-rejected {
  background: rgba(231, 76, 60, 0.2);
  color: var(--error-color);
}

/* ============================================================================
   12. SUBMISSION FORM SECTION
   ============================================================================ */

.submission-form-section {
  background: linear-gradient(180deg, var(--background-color), white);
}

.submission-form-container {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.form-instructions {
  background: rgba(46, 134, 193, 0.05);
  border-left: 4px solid var(--primary-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-xl);
}

.form-instructions h4 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.form-instructions ul {
  margin-left: var(--spacing-lg);
  color: var(--text-light);
}

.form-instructions li {
  margin-bottom: var(--spacing-sm);
}

/* ============================================================================
   13. FOOTER
   ============================================================================ */

footer {
  background: linear-gradient(135deg, var(--primary-color), #0f3d54);
  color: white;
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--accent-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.9);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: var(--spacing-xl) 0;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================================
   14. ADMIN PANEL
   ============================================================================ */

.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  background: var(--background-color);
}

.admin-sidebar {
  background: linear-gradient(180deg, var(--primary-color), #0f3d54);
  color: white;
  padding: var(--spacing-lg);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.admin-sidebar-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-nav {
  list-style: none;
}

.admin-nav li {
  margin-bottom: var(--spacing-sm);
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
  font-weight: 500;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding-left: calc(var(--spacing-lg) + var(--spacing-sm));
}

.admin-nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-content {
  padding: var(--spacing-xl);
  overflow-y: auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 2px solid var(--border-color);
}

.admin-title {
  font-size: 2rem;
  color: var(--primary-color);
}

.admin-actions {
  display: flex;
  gap: var(--spacing-md);
}

.admin-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.stat-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  border-top: 4px solid var(--primary-light);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================================================
   15. ADMIN TABLES
   ============================================================================ */

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

th {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

td {
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

tbody tr {
  transition: background-color var(--transition-base);
}

tbody tr:hover {
  background-color: var(--background-color);
}

tbody tr:last-child td {
  border-bottom: none;
}

.table-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.table-action-btn {
  padding: var(--spacing-xs) var(--spacing-sm);
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition-base);
}

.btn-edit {
  background: var(--info-color);
  color: white;
}

.btn-edit:hover {
  background: #2980b9;
  transform: translateY(-1px);
}

.btn-delete {
  background: var(--error-color);
  color: white;
}

.btn-delete:hover {
  background: #c0392b;
  transform: translateY(-1px);
}

.btn-view {
  background: var(--primary-light);
  color: white;
}

.btn-view:hover {
  background: var(--primary-color);
  transform: translateY(-1px);
}

/* ============================================================================
   16. FLASH MESSAGES & ALERTS
   ============================================================================ */

.alert {
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  animation: slideDown 0.4s ease-out;
}

.alert-success {
  background: rgba(39, 174, 96, 0.1);
  border-left-color: var(--success-color);
  color: var(--success-color);
}

.alert-error,
.alert-danger {
  background: rgba(231, 76, 60, 0.1);
  border-left-color: var(--error-color);
  color: var(--error-color);
}

.alert-warning {
  background: rgba(243, 156, 18, 0.1);
  border-left-color: var(--warning-color);
  color: var(--warning-color);
}

.alert-info {
  background: rgba(52, 152, 219, 0.1);
  border-left-color: var(--info-color);
  color: var(--info-color);
}

.alert-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
}

.alert-content {
  flex-grow: 1;
}

.alert-title {
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.alert-message {
  margin: 0;
}

.alert-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.alert-close:hover {
  opacity: 1;
}

/* ============================================================================
   17. MODAL DIALOGS
   ============================================================================ */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-out;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  border-bottom: 2px solid var(--border-color);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.modal-title {
  font-size: 1.5rem;
  margin: 0;
  color: white;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  transition: opacity var(--transition-base);
}

.modal-close:hover {
  opacity: 0.8;
}

.modal-body {
  padding: var(--spacing-lg);
}

.modal-footer {
  padding: var(--spacing-lg);
  border-top: 2px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-md);
  background: var(--background-color);
}

/* ============================================================================
   18. PDF VIEWER AREA
   ============================================================================ */

.pdf-viewer-container {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-xl);
}

.pdf-toolbar {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.pdf-toolbar-title {
  font-weight: 700;
  margin: 0;
}

.pdf-toolbar-controls {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.pdf-toolbar-button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  font-weight: 600;
  font-size: 0.9rem;
}

.pdf-toolbar-button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.pdf-canvas {
  width: 100%;
  max-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
  padding: var(--spacing-lg);
}

.pdf-page {
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-md);
  background: white;
}

/* ============================================================================
   19. CERTIFICATE PREVIEW
   ============================================================================ */

.certificate-container {
  perspective: 1000px;
  margin: var(--spacing-xl) 0;
}

.certificate-wrapper {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-2xl);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 82, 118, 0.05) 0%, rgba(39, 174, 96, 0.05) 100%);
  border: 3px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.certificate-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cert-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="%231a5276" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23cert-pattern)"/></svg>');
  opacity: 0.3;
}

.certificate-content {
  position: relative;
  z-index: 1;
}

.certificate-badge {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
}

.certificate-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

.certificate-subtitle {
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.certificate-recipient {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: var(--spacing-lg);
  font-style: italic;
}

.certificate-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.certificate-footer {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-color);
}

.certificate-signature {
  text-align: center;
}

.certificate-signature-line {
  width: 120px;
  height: 2px;
  background: var(--text-color);
  margin-bottom: var(--spacing-sm);
}

.certificate-signature-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
}

/* ============================================================================
   20. ANIMATIONS & TRANSITIONS
   ============================================================================ */

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-light);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ============================================================================
   21. RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .navbar-nav {
    display: none;
  }

  .navbar-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .btn {
    width: 100%;
  }

  .hero-date-location {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .timeline-time {
    position: static;
  }

  .committees-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

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

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    left: -250px;
    height: 100vh;
    z-index: 999;
    transition: left var(--transition-base);
    width: 250px;
  }

  .admin-sidebar.show {
    left: 0;
  }

  .admin-sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    width: 40px;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
  }

  .admin-content {
    padding: var(--spacing-lg);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .modal {
    width: 95%;
  }

  .certificate-wrapper {
    aspect-ratio: auto;
    min-height: 400px;
  }

  .certificate-title {
    font-size: 1.75rem;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .admin-actions {
    flex-direction: column;
    width: 100%;
  }

  .admin-actions .btn {
    width: 100%;
  }

  .table-wrapper {
    font-size: 0.85rem;
  }

  th, td {
    padding: var(--spacing-sm);
  }

  .table-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .countdown {
    gap: var(--spacing-sm);
  }

  .countdown-item {
    min-width: 70px;
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  section {
    padding: var(--spacing-xl) 0;
  }

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

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .submission-form-container {
    padding: var(--spacing-lg);
  }

  .form-instructions {
    padding: var(--spacing-md);
  }
}

/* ============================================================================
   22. UTILITY CLASSES
   ============================================================================ */

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

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

.text-right {
  text-align: right;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }
.p-5 { padding: var(--spacing-2xl); }

.rounded { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }
.gap-4 { gap: var(--spacing-xl); }

.grid {
  display: grid;
}

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

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

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--primary-light);
}

.text-accent {
  color: var(--accent-color);
}

.text-muted {
  color: var(--text-light);
}

.bg-primary {
  background: var(--primary-color);
}

.bg-accent {
  background: var(--accent-color);
}

.bg-light {
  background: var(--background-color);
}

.border-top {
  border-top: 1px solid var(--border-color);
}

.border-bottom {
  border-bottom: 1px solid var(--border-color);
}

.no-wrap {
  white-space: nowrap;
}

/* ============================================================================
   23. SCROLLBAR STYLING
   ============================================================================ */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* ============================================================================
   24. PRINT STYLES
   ============================================================================ */

@media print {
  .navbar,
  footer,
  .no-print {
    display: none !important;
  }

  body {
    background: white;
  }

  .card,
  .admin-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .btn {
    display: none;
  }

  .modal-overlay {
    display: none;
  }
}

/* ============================================================================
   PAGE HEADER (for sub-pages like bildiri-formu, kayit)
   ============================================================================ */

.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  padding: var(--spacing-2xl) 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: var(--spacing-sm);
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Hero logos */
.hero-logos {
  margin-bottom: var(--spacing-md);
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.hero-logos img {
  height: 80px;
  border-radius: 50%;
  background: white;
  padding: 4px;
}

/* ============================================================================
   TALK / SESSION STYLING FIX
   ============================================================================ */

.session-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.session-chairs {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.session-talks {
  margin-top: var(--spacing-md);
}

.talk {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
}

.talk:last-child {
  border-bottom: none;
}

.talk-time {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
  white-space: nowrap;
}

.talk-content p {
  margin: 0;
}

.talk-content .speaker {
  color: var(--text-light);
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Timeline session item - no time column needed */
.timeline-item.session {
  grid-template-columns: 1fr;
}

.timeline-item.session .timeline-time:empty {
  display: none;
}

.timeline-item.session .timeline-time:not(:empty) {
  display: block;
}

/* Break styling */
.timeline-item.break .timeline-content {
  background: #f0f7ff;
  border-left-color: var(--info-color);
  text-align: center;
}

.timeline-item.break .timeline-content h3 {
  color: var(--info-color);
  font-size: 1rem;
}

/* ============================================================================
   IMPORTANT DATES SECTION
   ============================================================================ */

.important-dates {
  padding: var(--spacing-2xl) 0;
  background: #f0f4f8;
}

/* ============================================================================
   SELECT FORM STYLING
   ============================================================================ */

select.form-control {
  appearance: auto;
  padding: 0.75rem 1rem;
}

/* ============================================================================
   HEADER / NAVBAR BRAND FIX - Bigger logo + faculty name
   ============================================================================ */

.navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.navbar-logo-img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  background: white;
  padding: 3px;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.navbar-brand .logo-subtext {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3px;
  font-weight: 400;
}

/* ============================================================================
   FORM-CONTROL CLASS FIX (bildiri + kay?t forms use .form-control)
   ============================================================================ */

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-color);
  background: white;
  transition: all var(--transition-base);
  line-height: 1.5;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(46, 134, 193, 0.12);
  background: #fafcff;
}

.form-control:hover:not(:focus) {
  border-color: #b0bec5;
}

.form-control::placeholder {
  color: #aab5c0;
  font-weight: 400;
}

select.form-control {
  appearance: auto;
  cursor: pointer;
  background: white;
  padding: 14px 18px;
}

input[type="file"].form-control {
  padding: 12px 18px;
  cursor: pointer;
  background: #f8fafc;
  border-style: dashed;
}

input[type="file"].form-control:hover {
  background: #f0f5ff;
  border-color: var(--primary-light);
}

/* Form group styling */
.form .form-group {
  margin-bottom: 1.5rem;
}

.form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-color);
  letter-spacing: 0.2px;
}

.form .form-group small,
.form .form-group .form-text {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #7f8c8d;
  line-height: 1.4;
}

/* Submission form wrapper - card style */
.submission-form {
  padding: var(--spacing-2xl) 0;
}

.submission-form .container {
  max-width: 720px;
  margin: 0 auto;
}

.submission-form .form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.submission-form .form .btn-primary.btn-large {
  width: 100%;
  padding: 16px 32px;
  font-size: 1.1rem;
  margin-top: var(--spacing-md);
  border-radius: var(--border-radius-md);
  letter-spacing: 0.3px;
}

/* Rules content card */
.rules-content {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--primary-light);
  margin-bottom: 2rem !important;
}

.rules-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.rules-content h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
}

.rules-content p {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.7;
}

.rules-list {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.rules-list li {
  margin-bottom: 8px;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================================
   TEXT READABILITY FIX - Darker paragraph text
   ============================================================================ */

/* Override the default light paragraph color for better readability */
p {
  color: var(--text-color);
}

/* Keep lighter color only where explicitly needed */
.hero p,
.page-header p {
  color: rgba(255, 255, 255, 0.92);
}

.submission-authors,
.timeline-description,
.timeline-speaker,
.session-chairs,
.committee-institution,
.talk-content .speaker,
.form-hint,
.card-text {
  color: var(--text-light);
}

/* ============================================================================
   FOOTER READABILITY FIX
   ============================================================================ */

footer {
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content p,
.footer-content address,
.footer-content address p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.footer-column h4 {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-column address {
  font-style: normal;
  line-height: 1.8;
}

.footer-column address p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.3rem;
}

.footer-column address a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.footer-column address a:hover {
  color: white;
  text-decoration-color: white;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  transition: all var(--transition-base);
  display: inline-block;
  padding: 2px 0;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

/* ============================================================================
   PAGE HEADER IMPROVEMENTS
   ============================================================================ */

.page-header h1 {
  color: white;
  font-size: 2.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.page-header p strong {
  color: white;
}

/* ============================================================================
   MOBILE RESPONSIVE FIXES FOR NEW STYLES
   ============================================================================ */

@media (max-width: 768px) {
  .navbar-logo-img {
    height: 40px;
    width: 40px;
  }

  .navbar-brand .logo-text {
    font-size: 0.95rem;
  }

  .navbar-brand .logo-subtext {
    font-size: 0.6rem;
  }

  .submission-form .form {
    padding: 1.5rem;
  }

  .rules-content {
    padding: 1.25rem;
  }
}

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

  .navbar-brand .logo-text {
    font-size: 0.85rem;
  }

  .navbar-brand .logo-subtext {
    display: none;
  }

  .submission-form .form {
    padding: 1.25rem;
  }

  .form-control {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}

/* Mobile dropdown menu */
.navbar-mobile-menu {
  background: #0f3d54;
  padding: 0;
}

.navbar-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-mobile-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar-mobile-menu a {
  display: block;
  padding: 14px 24px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition-base);
}

.navbar-mobile-menu a:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  padding-left: 32px;
}