/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px
}

h1,
h2,
h3,
h3,
h5,
h6 {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  text-align: left;
}

heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700
}

name {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.CodeMirror {
  font-size: .8em;
  height: auto;
}

.CodeMirror-scroll {
  overflow-y: hidden;
  overflow-x: auto;
}

#header_img {
  margin-top: 2em;
  margin-bottom: 1em;
}

.list-inline {
  list-style: none;
  margin-left: -0.5em;
  margin-right: -0.5em;
  padding-left: 0;
}

.list-inline>li {
  display: inline-block;
  margin-left: 0.5em;
  margin-right: 0.5em;
}


.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 28px;

}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4a80f5;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 28px;

}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #b2b2b2;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(32px);
}

/*------ ADDED CSS ---------*/

@import url('https://fonts.googleapis.com/css?family=Kanit:900');


.title3d .active3d {
  transition: all 0.4s;
  transition-timing-function: cubic-bezier(0.23, 1, 0.320, 1);
}

.title3d:hover .active3d {
  text-shadow: 0 1px 0 #222525,
    -1px 2px 0 #272e2e,
    -1px 3px 0 #2e3b3d,
    -1px 4px 0 #415e67,
    -1px 5px 0 #568395,
    -2px 6px 0 #6197ad,
    -2px 7px 0 #84a9b8,
    -2px 8px 0 #a2b8c1,
    -3px 9px 0 #b9c4c9,
    -3px 10px 0 #d0d0d0;
}

.title3d:hover>h1 .active3d {
  display: inline-block;
  transform: translate(3px, -10px);
}
.slider:after {
  content: '';
  color: black;
  display: block;
  position: absolute;
  transform: translate(-20%, -50%);
  top: 50%;
  left: 50%;
  font-size: 16px;
  font-family: Verdana, sans-serif;
}

input:checked+.slider:after {
  content: '';
  transform: translate(80%, -50%);
}

.splat-carousel {
  width: calc(100% - 100px);
  margin-left: auto;
  margin-right: auto;
}

.splat-carousel-items {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
  max-width: 100%;
  padding: 5px;
  perspective: 700px;
}

.splat-carousel-item {
  flex: 0 1 auto;
  transition: transform 0.1s ease;
  will-change: transform;
  /* Minimum width of each item */
  overflow: hidden;
  cursor: pointer;
  border-radius: 15px;
  margin: 5px;
  min-width: 100px;
  box-sizing: content-box;
  border: 4px solid grey;
  transform-style: preserve-3d;
}

.splat-carousel-item.active {
  border: 4px solid #1772d0;
  transform: translateZ(20px);
}

.splat-carousel-item.loading {
  border: 4px solid #92c2f1;
}

.splat-carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-15px);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 0 0px;
  border-radius: 15px;
  width: 45px;
  height: 45px;
  font-size: 30px;
  line-height: 5px;
}

.splat-carousel-button:hover {
  scale: 1.1;
  transition: scale 0.1s ease-in-out;
}

.left {
  left: -40px;
}

.right {
  right: -40px;
}

/*--------- END --------*/

.switch-container-wrapper {
  display: flex;
  justify-content: center;
  /* Center horizontally */
}

.switch-container {
  display: flex;
  align-items: center;
  /* Align items vertically */

}

.switch-label {
  color: black;
  font-size: 16px;
  margin-right: 5px;
  /* Adjust the margin as needed */
  margin-left: 5px;
  /* Adjust the margin as needed */
}

.overlay {
  position: absolute;
  top: 50%;
  /* Adjust the top position as needed */
  left: 50%;
  /* Adjust the left position as needed */
  background-color: rgba(255, 255, 255, 0.8);
  /* Semi-transparent background */
  color: black;
  font-size: 16px;
}

.pill {
  cursor: pointer;
  padding: 2px;
  margin: 2px;
  border: 1px solid #ddd;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s;
}

.active-pill {
  /* background-color: #b4b4b4; */
  /* Adjust the color as needed */
  font-weight: bold;
}

.nav-pills {
  cursor: pointer;
}

.center-pills {
  display: flex;
  justify-content: center;
}

.scene-pill {
  transition: transform 0.3s;
  width: 80px;
  border-radius: 5px;
}

.scene-pill:hover {
  transition: transform 0.3s;
  width: 80px;
  border-radius: 5px;
  scale: 1.1;
  transition: scale 0.1s;
}

.scene-pill.active {
  background: #1772d0;
}

.button {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-size-adjust: 100%;
  font-family: 'Noto Sans', sans-serif;
  font-style: inherit;
  font-weight: inherit;
  box-sizing: inherit;
  text-decoration: none;
  user-select: none;
  -webkit-appearance: none;
  align-items: center;
  border: 1px solid transparent;
  box-shadow: none;
  display: inline-flex;
  height: 2.5em;
  line-height: 1.5;
  position: relative;
  vertical-align: top;
  border-width: 1px;
  cursor: pointer;
  justify-content: center;
  padding-bottom: calc(.5em - 1px);
  padding-top: calc(.5em - 1px);
  text-align: center;
  white-space: nowrap;
  margin-top: 5px;
  margin-bottom: 5px;
  background-color: #363636;
  border-color: transparent;
  color: #fff;
  font-size: 1.4rem;
  border-radius: 290486px;
  padding-left: calc(1em + .25em);
  padding-right: calc(1em + .25em);
}

.button .icon {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-size-adjust: 100%;
  font-family: 'Noto Sans', sans-serif;
  user-select: none;
  line-height: 1.5;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  font-size: 1rem;
  box-sizing: inherit;
  font-style: inherit;
  font-weight: inherit;
  align-items: center;
  display: inline-flex;
  justify-content: center;
  height: 1.5em;
  width: 1.5em;
  margin-left: calc(-.5em - 1px);
  margin-right: .25em;
}

/* DetReIDX Specific Styles */
.detreidx-card {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 24px;
  overflow: hidden;
}

.detreidx-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.detreidx-card-header {
  background-color: #2c3e50;
  color: white;
  padding: 15px;
  font-weight: bold;
  font-size: 18px;
}

.detreidx-card-body {
  padding: 20px;
  background-color: #fff;
}

.section-divider {
  height: 3px;
  background: linear-gradient(90deg, #2c3e50, #3498db);
  margin: 40px 0;
  border-radius: 2px;
}

.feature-icon {
  font-size: 40px;
  color: #3498db;
  margin-bottom: 15px;
}

.highlight-text {
  background-color: #f8f9fa;
  border-left: 4px solid #3498db;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 0 4px 4px 0;
}

.highlight-text h5 {
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.highlight-text p {
  font-size: 24px;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 5px;
}

.highlight-text small {
  font-size: 14px;
  color: #7f8c8d;
}

/* Dataset Statistics */
.dataset-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.stat-item {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 180px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: #2c3e50;
  font-weight: 500;
}

/* New styles for challenge cards */
.challenge-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.challenge-icon {
  font-size: 36px;
  color: #3498db;
  margin-bottom: 15px;
  text-align: center;
}

.challenge-card h4 {
  color: #2c3e50;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.challenge-card p {
  color: #34495e;
  font-size: 14px;
  line-height: 1.5;
}

.image-gallery {
  margin-top: 30px;
}

.image-gallery img {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.02);
}

/* Capture protocol section styles */
.protocol-diagram {
  position: relative;
  margin: 40px 0;
}

.protocol-step {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 15px;
  margin-bottom: 20px;
  border-left: 4px solid #3498db;
}

.protocol-step h5 {
  color: #2c3e50;
  font-weight: bold;
  margin-bottom: 10px;
}

.protocol-step p {
  color: #7f8c8d;
  font-size: 15px;
  margin-bottom: 0;
}

.altitude-marker {
  display: inline-block;
  background-color: #e74c3c;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 13px;
  margin-right: 5px;
}

/* Badge styles that were removed */
.drone-badge {
  background-color: #3498db;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 6px;
  display: inline-block;
}

.ground-badge {
  background-color: #2ecc71;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 6px;
  display: inline-block;
}

.indoor-badge {
  background-color: #e74c3c;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 6px;
  display: inline-block;
}

/* Video container styles */
.custom-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.custom-video-container iframe,
.custom-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video container for the dataset sections */
.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 15px;
}

.video-container video {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  background-color: #000;
}

/* Tab content styling */
.tab-content {
  padding: 15px 0;
}

.tab-pane {
  transition: all 0.3s ease;
}

.nav-tabs .nav-link {
  color: #2c3e50;
  font-weight: 500;
}

.nav-tabs .nav-link.active {
  color: #3498db;
  font-weight: 600;
}

/* Alert styling */
.alert-info {
  background-color: #e8f4fc;
  border-color: #bce8f1;
  color: #31708f;
}

/* Responsive table styles */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e6e6e6;
}

.responsive-table th {
  background-color: #f8f9fa;
  font-weight: bold;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
}

.responsive-table tr:hover {
  background-color: #f5f5f5;
}

@media (max-width: 767px) {
  .responsive-table {
    display: block;
    overflow-x: auto;
  }
}

/* Add styles for experiment section */
.highlight-text {
  background-color: #f8f9fa;
  border-left: 4px solid #3498db;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 0 4px 4px 0;
}

.highlight-text h5 {
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.text-success {
  color: #2ecc71 !important;
}

.text-danger {
  color: #e74c3c !important;
}

.text-warning {
  color: #f39c12 !important;
}

.nav-pills .nav-link {
  color: #2c3e50;
  background-color: #f8f9fa;
  margin: 0 5px;
  border-radius: 4px;
}

.nav-pills .nav-link.active {
  background-color: #3498db;
  color: white;
}

footer.bg-light {
  border-top: 1px solid #dee2e6;
}

ol.references li {
  margin-bottom: 5px;
}

/* Challenge cards for research directions */
.challenge-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.challenge-icon {
  font-size: 36px;
  color: #3498db;
  margin-bottom: 15px;
  text-align: center;
}

.challenge-card h4 {
  color: #2c3e50;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.challenge-card p {
  color: #34495e;
  font-size: 14px;
  line-height: 1.5;
}

/* Hero section styles */
.hero-section {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
  padding: 60px 0 30px 0;
}

.hero-section h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-section .lead {
  font-weight: 300;
  margin-bottom: 30px;
}

/* Navigation highlight button */
.highlight-btn {
  background-color: #e74c3c;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.nav-link:hover .highlight-btn {
  background-color: #c0392b;
}

/* Additional improvements */
body {
  font-family: 'Roboto', sans-serif;
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.detreidx-card-header i {
  margin-right: 0.5rem;
}
