/* ===== Optimized Loan Report CSS ===== */
:root {
  --hue-color: 240;

  --bg: hsl(var(--hue-color), 28%, 12%);
  --cyan: #ac0061eb;
  --cyan-glow: 0 0 15px #7a0a40ca, 0 0 30px #4b0e34aa;
  --accent-red: #ff4040;

  --radius: 1.25rem;
  --font-family: "Poppins", sans-serif;
  --header-height: 4rem;
}

/* Global Resets */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.main__title {
  font-family: var(--font-family);
  place-self: center;
  padding: 1rem 1rem 1rem;
}

body {
  overflow-y: auto;
  scroll-behavior: smooth;
  margin: 0;
  background: var(--body-color);
  color: var(--text-color);
  font-family: var(--font-family);
  padding: calc(var(--header-height) + 2rem) 0 0 0;
}


.what-is {
  max-width: 600px;
  margin-bottom: 100px;
}

/* Container & layout */

/* Typography & alignment */
.main__title,
.tagline,
.research-section,
.hero,
.carousel-wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

.main__title {
  font-size: 2.4rem;
}

.research-abstract,
.main__description,
.gap_description,
.slide p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Hero Section */
.hero__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

/* Button Styles */
.button,
.peek-btn {
  display: block;
  padding: 0.7rem 1.2rem;
  background-color: transparent;
  color: var(--cyan);
  border-radius: var(--radius);
  border: 1px solid var(--cyan);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: inherit;
  margin: 2rem auto 1rem;
}

.button:hover,
.peek-btn:hover {
  background-color: var(--accent-red);
}

/* Quote Blocks */
.quote-block {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: rgba(0, 231, 255, 0.05);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  text-align: center;
}

.quote-block blockquote {
  font-style: italic;
}

.quote-block cite {
  margin-top: 1rem;
  color: var(--accent-red);
}

/* Hero Section */
.hero,
.carousel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.logo {
  max-width: 400px;
  width: 100%;
  filter: drop-shadow(0 0 30px #64053adc);
  border-radius: var(--radius);
  animation: pulse 6s infinite;
  margin-top: 7rem;
}

/* Carousel */
.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel {
  display: flex;
  overflow: visible;
  border-radius: var(--radius);
  border: 2px solid var(--cyan);
  box-shadow: var(--cyan-glow);
  animation: pulse 6s infinite;
}

.slide {
  min-width: 100%;
  padding: 3rem 2rem 4rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  display: flex;

}

.slide p {
  font-size: 1rem;
  color: var(--text);
  max-width: 750px;
}

/* .slide h2 {
  font-size: 1.4rem;
  color: var(--cyan);
} */

.nav-btn {
  background: transparent;
  border: none;
  color: var(--cyan);
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-btn:hover {
  transform: scale(1.2);
}

/* Tech Peek Panel */
.peek-panel {
  display: none;
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #112531;
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  line-height: 1.5;
}

/* Pulse Animation */
@keyframes pulse {

  0%,
  100% {
    box-shadow: var(--cyan-glow);
  }

  50% {
    box-shadow: 0 0 15px #c410c777, 0 0 30px #e18af4aa;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {

  .hero,
  .carousel-container {
    flex-direction: column;
  }

  .hero__wrap {
    flex-direction: column;
  }


  .slide p {
    padding: 0 1rem;
  }
}