:root {
  --emr-primary: #1e87f0;
  --emr-accent: #a8d8ee;
  --emr-dark: #1a1a1a;
  --emr-muted: #6c757d;
  --hero-height-desktop: 60vh;
  --hero-height-mobile: 40vh;
  --blue-1: #0024B3;
  --blue-2: #0033CC;
  --blue-3: #0040E6;
  --blue-4: #004DFF;
  --blue-5: #0D40FF;
  --blue-6: #1A4DFF;
  --blue-7: #3366FF;
  --blue-8: #4D80FF;
  --blue-9: #6699FF;
  --blue-10: #80B3FF;
  --blue-11: #CCE5FF;
  --blue-12: #E6F2FF;
  --logo-blue: #233b77;
  --orange: #EF7F1A;
  --bg-hover-global: var(--orange);
  --color-carousel-active: var(--bg-hover-global);
  --color-carousel-inactive: var(--blue-11);
  --color-navbar-active: var(--logo-blue);
}

/* Font sizes */
.tiny {
  font-size: 0.75rem;
}

.scriptsize {
  font-size: 0.8rem;
}

.small {
  font-size: 0.875rem;
}

.medium {
  font-size: 1rem;
}

/* icon colors */
.icon-blue {
  color: var(--blue-7);
}

.icon-orange {
  color: var(--orange);
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--emr-dark);
  background-color: #fff;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navbar */
header.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #fff;
}

header.sticky-top .navbar {
  background-color: inherit;
}

/* Topbar */
.topbar {
  background: var(--logo-blue);
  color: #fff;
  font-size: 0.9rem;
}

.topbar a {
  color: rgba(255, 255, 255, 0.7);
}

.topbar a:hover,
.topbar a:focus {
  color: #fff;
  text-decoration: none;
}

.topbar .form-control {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.topbar .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.topbar .btn {
  border-color: rgba(255, 255, 255, 0.35);
}

.hover-global:hover,
.hover-global:focus {
  background-color: var(--bg-hover-global);
  border-color: var(--bg-hover-global);
  color: #fff;
}

.topbar .social a {
  margin-left: 0.5rem;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  width: 44px;
  height: 44px;
  border: none;
  /* Yarı yuvarlak köşeler. Circle için değeri arttırmak gerekir (örn. 999px). */
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--logo-blue);
  color: #fff;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease, background-color 200ms ease;
}

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

.back-to-top:hover,
.back-to-top:focus {
  background: var(--orange);
  text-decoration: none;
}

.back-to-top:focus {
  outline: 2px solid rgba(239, 127, 26, 0.5);
  outline-offset: 3px;
}

.back-to-top i {
  font-size: 1rem;
  line-height: 1;
}

.navbar .nav-link {
  font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--emr-primary);
  text-decoration: none;
  background-color: rgba(30, 135, 240, 0.12);
  border-radius: 0.4rem;
}

.navbar .nav-link.active,
.navbar .nav-link.active:hover {
  color: var(--emr-primary) !important;
  text-decoration: none;
  background-color: rgba(30, 135, 240, 0.12);
  border-radius: 0.4rem;
}

.navbar .dropdown-menu {
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  color: var(--emr-primary);
  text-decoration: none;
  background-color: rgba(30, 135, 240, 0.12);
  border-radius: 0.4rem;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
  }

  .navbar .dropdown:hover>.dropdown-toggle {
    color: var(--emr-primary);
  }
}

/* Hero + sections */
.hero-banner {
  min-height: var(--hero-height-mobile);
}

.hero-banner .hero-overlay {
  min-height: inherit;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-banner {
    min-height: var(--hero-height-desktop);
  }

  .hero-banner .hero-overlay {
    min-height: var(--hero-height-desktop);
  }
}

.section-light {
  background: #f8f9fa;
}

.section-title {
  font-weight: 700;
  font-size: 1.5rem;
}

.card.shadow-sm {
  border: 1px solid #e9ecef;
}

.main-content {
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .main-content {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
}

/* Shared components */
.hero-shell {
  background: linear-gradient(135deg, #113b7a 0%, #2a66b8 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(17, 59, 122, 0.26);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-shell-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 420'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='.46'/%3E%3Cstop offset='1' stop-color='%23d7e9ff' stop-opacity='.14'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='2'%3E%3Cpath d='M50 310h340l96-88h164l116-104h384'/%3E%3Cpath d='M0 352h286l120-118h208l94-82h492'/%3E%3Cpath d='M60 138h220l88 74h176l104 94h474'/%3E%3C/g%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='164' cy='310' r='8' fill-opacity='.55'/%3E%3Ccircle cx='360' cy='308' r='10' fill-opacity='.35'/%3E%3Ccircle cx='486' cy='220' r='11' fill-opacity='.5'/%3E%3Ccircle cx='764' cy='118' r='12' fill-opacity='.4'/%3E%3Ccircle cx='910' cy='118' r='8' fill-opacity='.6'/%3E%3Ccircle cx='1038' cy='316' r='13' fill-opacity='.28'/%3E%3Ccircle cx='1094' cy='318' r='7' fill-opacity='.55'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='.32' stroke-width='2' fill='none'%3E%3Ccircle cx='944' cy='212' r='72'/%3E%3Ccircle cx='944' cy='212' r='32'/%3E%3Ccircle cx='252' cy='120' r='52'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

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

.hero-shell-text p {
  color: rgba(255, 255, 255, 0.92);
}

.glass-badge {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(2px);
  text-align: center;
  min-width: 190px;
}

.glass-badge-small,
.glass-badge .small {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Submission guidelines */
.submission-deadline {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 0.85rem 1.2rem;
  background: #fff;
  min-width: 170px;
  text-align: center;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.06);
}

.submit-abstract-page .submission-deadline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(2px);
}

.submit-abstract-page .submission-deadline .small {
  color: rgba(255, 255, 255, 0.85) !important;
}

.submission-callout {
  border-left: 4px solid var(--emr-primary);
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
  background: #f8fbff;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
}

.guideline-card {
  border: 1px solid #e9ecef;
  border-radius: 0.9rem;
  padding: 1.5rem 1.75rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.06);
}

.guideline-list {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.guideline-list li {
  margin-bottom: 0.65rem;
}

.guideline-list li:last-child {
  margin-bottom: 0;
}

/* Logos */
.organizer-logo {
  max-height: 140px;
  width: auto;
}

.sponsor-logo {
  max-height: 110px;
  width: auto;
}

/* Content helpers */
.container-title {
  font-weight: 700;
  background-color: var(--emr-accent);
  padding: 8px 10px;
  font-size: 1.05rem;
  border-radius: 4px;
}

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

/* Registration page */
.registration-page {
  border-radius: 1.2rem;
}

.registration-page .registration-intro {
  border: 1px solid #d9e6f8;
  border-left: 4px solid #2a66b8;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  padding: 1.2rem 1.35rem;
  box-shadow: 0 8px 20px rgba(17, 59, 122, 0.08);
}

.registration-page .registration-card {
  border: 1px solid #dfe9f8;
  border-radius: 0.95rem;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  box-shadow: 0 10px 26px rgba(16, 65, 146, 0.08);
}

.registration-page .registration-contact {
  border: 1px solid #c8daf5;
  border-radius: 0.95rem;
  padding: 1.4rem 1.5rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 74, 160, 0.1);
}

.registration-page .registration-list {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.registration-page .registration-list li {
  margin-bottom: 0.5rem;
}

.registration-page .registration-list li:last-child {
  margin-bottom: 0;
}

.registration-page .registration-btn {
  text-align: left;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .registration-page {
    padding: 0.85rem;
  }
}

.card-border-muted {
  border: 1px solid #e9ecef;
}

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

.table-striped>tbody>tr:nth-of-type(odd)>* {
  --bs-table-accent-bg: #f8fbff;
}

.carousel .btn.btn-outline-secondary.btn-sm {
  border-radius: 999px;
  padding-inline: 0.9rem;
}

.carousel-item img {
  object-fit: cover;
}

.accordion-button:not(.collapsed) {
  color: var(--emr-primary);
  background-color: rgba(30, 135, 240, 0.08);
}

.badge-room-balo {
  color: #fff;
  background-color: #002db3;
}

.badge-room-namik {
  color: #fff;
  background-color: #e65c00;
}

.badge-room-acelya {
  color: #fff;
  background-color: #269900;
}

.pl-10 {
  padding-left: 10px !important;
}

.pl-20 {
  padding-left: 20px !important;
}

.pr-10 {
  padding-right: 10px !important;
}

.pr-20 {
  padding-right: 20px !important;
}

.conference-title-banner {
  font-size: 2rem;
}

.conference-subtitle-banner {
  font-size: 1.5rem;
}

/* Home: Important dates */
.important-dates-card .card-header {
  border-bottom: 1px solid rgba(35, 59, 119, 0.16);
}

.important-dates-card .card-body {
  padding: 1rem 1rem 0.75rem;
}

.important-date-item {
  position: relative;
  padding: 0 0 1rem 1.4rem;
  border-left: 2px solid #d9e7fb;
  margin-left: 0.45rem;
}

.important-date-item::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: -0.42rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--blue-7);
  box-shadow: 0 0 0 3px #eef5ff;
}

.important-date-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0.25rem;
}

.important-date-label {
  font-weight: 700;
  color: var(--logo-blue);
}

.important-date-text {
  font-size: 0.9rem;
  color: var(--emr-muted);
}

.important-date-item-highlight .important-date-label {
  color: #c43b2f;
}

.important-date-item-highlight::before {
  background: var(--orange);
}

/* Sponsorship page */
.sponsorship-page {
  --platinum: #d9dde5;
  --platinum-dark: #6f7888;
  --gold: #f0c65c;
  --gold-dark: #8e6508;
  --silver: #d7dee8;
  --silver-dark: #4f5f75;
  --bronze: #c57f4a;
  --bronze-dark: #804721;
  --ink: #1a426a;
  --ink-soft: #e8f1fb;
}

.sponsorship-page .sponsor-card {
  border-radius: 16px;
  border: 1px solid #e7ebf0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s ease;
}

.sponsorship-page .sponsor-card:hover {
  transform: translateY(-10px);
}

.sponsorship-page .sponsor-card-header {
  padding: 1rem 1.25rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.sponsorship-page .sponsor-card-body {
  padding: 1.25rem;
}

.sponsorship-page .tier-platinum .sponsor-card-header {
  background: linear-gradient(135deg, #eef1f6, var(--platinum));
  color: #293241;
}

.sponsorship-page .tier-platinum .price {
  color: var(--platinum-dark);
}

.sponsorship-page .tier-gold .sponsor-card-header {
  background: linear-gradient(135deg, #fff6d8, var(--gold));
  color: #4f3900;
}

.sponsorship-page .tier-gold .price {
  color: var(--gold-dark);
}

.sponsorship-page .tier-silver .sponsor-card-header {
  background: linear-gradient(135deg, #f2f5f9, var(--silver));
  color: #2b3b4e;
}

.sponsorship-page .tier-silver .price {
  color: var(--silver-dark);
}

.sponsorship-page .tier-bronze .sponsor-card-header {
  background: linear-gradient(135deg, #f6e8dd, #e6b690);
  color: #4b2c18;
}

.sponsorship-page .tier-bronze .price {
  color: var(--bronze-dark);
}

.sponsorship-page .tier-special .sponsor-card-header {
  background: linear-gradient(135deg, #f0f6ff, #d9e9ff);
  color: var(--ink);
}

.sponsorship-page .tier-special .price {
  color: var(--ink);
}

.sponsorship-page .sponsor-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.sponsorship-page .sponsor-card li+li {
  margin-top: 0.45rem;
}

/* Conference about page */
.conference-about-page {
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 58%);
}

.conference-about-page .about-hero {
  background: linear-gradient(rgba(10, 46, 109, 0.74), rgba(26, 79, 166, 0.74)), url("../img/conference/conference_sauttat_banner.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  box-shadow: 0 16px 36px rgba(35, 88, 184, 0.28);
}

.conference-about-page .about-kicker {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 0.75rem;
}

.conference-about-page .about-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
}

.conference-about-page .about-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.conference-about-page .about-theme-card {
  border-radius: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(2px);
}

.conference-about-page .theme-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.conference-about-page .theme-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.conference-about-page .theme-text {
  color: rgba(255, 255, 255, 0.9);
}

.conference-about-page .about-card,
.conference-about-page .about-focus-card {
  background: #fff;
  border: 1px solid #e6eef8;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(15, 60, 138, 0.08);
}

.conference-about-page .about-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #123875;
}

.conference-about-page .about-card-subtitle {
  font-size: 1rem;
  color: #2d66b2;
  font-weight: 600;
}

.conference-about-page .about-card p,
.conference-about-page .about-focus-card p {
  color: #2c3952;
  line-height: 1.72;
}

.conference-about-page .about-focus-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

@media (max-width: 991.98px) {

  .conference-about-page .about-card,
  .conference-about-page .about-focus-card {
    padding: 1.25rem;
  }
}

@media (min-width: 992px) {
  .conference-about-page .about-focus-columns {
    column-count: 2;
    column-gap: 2rem;
  }
}

/* Atolyeler page */
.atolyeler-page .atolyeler-search-wrap {
  width: 100%;
  max-width: 320px;
}

.atolyeler-page .atolye-card {
  border: 1px solid #e6eef8;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 56, 117, 0.08);
  transition: transform 0.25s ease;
}

.atolyeler-page .atolye-card:hover {
  transform: translateY(-10px);
}

.atolyeler-page .atolye-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.atolyeler-page .atolye-card-body {
  padding: 1rem;
}

.atolyeler-page .badge-category-social {
  background-color: #e7f7ee;
  color: #1f7a45;
  border: 1px solid #b9e6cb;
}

.atolyeler-page .badge-category-scientific {
  background-color: #e9f2ff;
  color: #1e4f9e;
  border: 1px solid #c4d9fb;
}

.atolyeler-page .badge-category-default {
  background-color: #f2f4f7;
  color: #425466;
  border: 1px solid #d9e0e8;
}

.atolyeler-page .atolye-detail-card {
  border: 1px solid #e6eef8;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 60, 138, 0.08);
}

.atolyeler-page .atolye-detail-media,
.atolyeler-page .atolye-detail-content {
  padding-left: 0;
  padding-right: 0;
}

.atolyeler-page .atolye-detail-content {
  padding: 1.25rem;
}

.atolyeler-page .atolye-detail-image {
  width: 100%;
  display: block;
  border-radius: 0;
  object-fit: cover;
  max-height: 420px;
}

@media (max-width: 991.98px) {
  .atolyeler-page .atolyeler-search-wrap {
    max-width: 100%;
  }

  .atolyeler-page .atolye-card-image {
    height: 200px;
  }
}

/* Committee page */
.committee-page {
  background:
    radial-gradient(1200px 400px at 90% 0%, rgba(35, 59, 119, 0.08), transparent 70%),
    radial-gradient(900px 500px at 0% 20%, rgba(239, 127, 26, 0.08), transparent 68%),
    #f8fafd;
}

.committee-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
}

.committee-subtitle {
  max-width: 54ch;
}

.committee-lead-card {
  border-radius: 1rem;
  border: 1px solid rgba(35, 59, 119, 0.14);
  background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
  box-shadow: 0 10px 24px rgba(25, 45, 92, 0.08);
  padding: 1.35rem 1.3rem;
}

.lead-badge {
  display: inline-block;
  padding: 0.3rem 0.68rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1f4fa7;
  background: #e9f1ff;
}

.lead-role {
  margin-top: 0.85rem;
  margin-bottom: 0.45rem;
  font-size: 1.07rem;
  font-weight: 700;
  color: #15356e;
}

.lead-name {
  margin: 0;
  font-weight: 700;
  color: #122a56;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.committee-block {
  grid-column: span 6;
  border: 1px solid #e2e8f4;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(27, 47, 90, 0.06);
  padding: 1.25rem 1.2rem;
}

.committee-block-wide {
  grid-column: span 12;
}

.committee-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.committee-block-head h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #18376f;
}

.committee-block-head span {
  font-size: 0.76rem;
  font-weight: 700;
  color: #2458b2;
  background: #edf3ff;
  border: 1px solid #dbe8ff;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.committee-block-note {
  margin-bottom: 0.75rem;
  color: #5d6a7f;
  font-size: 0.92rem;
}

.committee-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.committee-block li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  color: #1d2940;
}

.committee-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #2c64be;
}

.committee-block li:last-child {
  margin-bottom: 0;
}

.committee-block li span {
  color: #4b607f;
  font-weight: 600;
}

.two-col-list {
  columns: 2;
  column-gap: 1.2rem;
}

.two-col-list li {
  break-inside: avoid;
}

@media (max-width: 991.98px) {
  .committee-block,
  .committee-block-wide {
    grid-column: span 12;
  }
}

@media (max-width: 991.98px) {
  .glass-badge {
    min-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .committee-lead-card,
  .committee-block {
    padding: 1rem;
  }

  .two-col-list {
    columns: 1;
  }
}
