.read-more-btn{
  display:inline-block;
  margin-top:1rem;
  padding:0.6rem 1.4rem;
  background:linear-gradient(90deg,#6F9EFF,#357ABD);
  color:#fff;
  border:none;
  border-radius:8px;
  font-size:0.95rem;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 4px 10px rgba(0,0,0,.1);
  transition:transform .3s,box-shadow .3s,background .3s;
}
.read-more-btn:hover{
  background:linear-gradient(90deg,#357ABD,#2C5AA0);
  box-shadow:0 6px 14px rgba(0,0,0,.15);
  transform:translateY(-2px);
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.news-image {
  width: 100%;              /* Full width of card */
  height: auto;             /* Maintain aspect ratio */
  max-height: 275px;        /* Optional: cap height for uniform layout */
  object-fit: cover;        /* Crop excess without distortion */
  margin-top: 1rem;
  border-radius: 8px;       /* Rounded corners */
  display: block;           /* Avoid extra whitespace */
}

.banner {
  padding: 3rem 2rem;
  background-color: #f2f6ff;
  border-radius: 12px;
  color: #000; /* Makes all text inside banner black */
}

.comparison-container {
  display: flex;
  flex-direction: row; /* ensures horizontal layout */
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.list-column {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex: 1 1 300px;
  max-width: 400px;
  color: #000;
}


.logo-carousel {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}

.logo-track {
  display: inline-flex;
  animation: scroll 20s linear infinite;
}

.logo-track img {
  height: 150px;            /* Uniform height */
  width: auto;             /* Maintain aspect ratio */
  margin: 0 2rem;          /* Spacing between logos */
  object-fit: contain;
  filter: grayscale(20%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-track img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.workflow-container {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: auto;
}

.workflow-header,
.workflow-block {
    display: flex;
    justify-content: space-between;
}

.workflow-container {
    display: flex;
    flex-direction: column;
    max-width: 850px;
    margin: 3rem auto;
    gap: 1.5rem;
}

.workflow-block {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.workflow-block .list-column {
    flex: 1;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: #000;
    font-size: 1rem;
    font-weight: 500;
}

.header-block {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.header-block .list-column {
    background: #fff;
    box-shadow: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1.5rem;
}

.tooltip {
  position: relative;
  display: inline-block;
  margin: 6px;
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #1a3b7d;
  background-color: #e0ecff;
  transition: transform 0.2s ease;
  cursor: default;
}


.tooltip-text {
  visibility: hidden;
  width: 300px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 8px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  font-size: 0.85rem;
  transition: opacity 0.2s;
  pointer-events: none;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}


input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  outline: none;
  transition: background 0.3s ease;
  margin-top: 1rem;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: linear-gradient(to right, #93c5fd 0%, #93c5fd var(--progress), #e5e7eb var(--progress), #e5e7eb 100%);
  border-radius: 4px;
}

input[type="range"]::-moz-range-track {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  width: 16px;
  background: white;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin-top: -4px;
  transition: transform 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  height: 16px;
  width: 16px;
  background: white;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.15);
}


html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

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

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: calc(8rem + 80px);
  margin-top: 80px;
  margin-bottom: 350px;
}

#bg-video {
  position: absolute;
  top: 10vh;
  left: 0;
  width: 100vw;
  height: 104vh;
  object-fit: cover;
  z-index: -2;
}

.hero-content {
  width: 100%;
  padding: 2rem;
  z-index: 1;
  color: #0C0E2C;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
  color: #7A7F9A;
}

.video-overlay {
  background: linear-gradient(to bottom, rgba(12, 14, 44, 0.3) 0%, rgba(12, 14, 44, 0.1) 100%);
}

#swap-elem {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-right: 0.5rem;
}

#swap-input {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 100px;
}

.loading-message {
  display: none;
}
