@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600;700;800&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --primary-color: #004351;
  --secondary-color: #F8B02B;
  --text-color: #363636;
  --light-bg: rgba(255, 255, 255, 0.2);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.faq-item-active {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  border-radius: 10px;
  min-height: 245px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.pricing-card {
  background: var(--primary-color);
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

.pricing-card-highlight {
  position: relative;
}

.pricing-card-highlight::before {
  content: "Más comprado";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 31px;
  background: var(--secondary-color);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1B062A;
  font-size: 8px;
  font-weight: 600;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.partners-slider {
  display: inline-flex;
  animation: slide 20s linear infinite;
}

.partners-slider img {
  margin-right: 56px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.25s ease-out;
}

/* SCROLL EFFECT */
.scroll-wrapper {
  width: 100%;
  overflow: hidden;
}

.scroll-content {
  display: flex;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.scroll-text {
  font-size: 24px;
  font-weight: 300;
  color: #363636;
  white-space: nowrap;
  padding-right: 2rem;
}

@media (min-width: 768px) {
  .scroll-text {
    font-size: 41px;
  }
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* CURSO BANNER */



.dot {
  background: #ffffff;
  transition: all 0.3s ease;
}

.dot.active {
  background: #F8B02B;
  width: 18px;
  height: 18px;
}


/* PARNERT */

.partners-wrapper {
  width: 100%;
  overflow: hidden;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: partners-scroll 25s linear infinite;
}

.partner-logo {
  height: 64px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* FAQ */
.faq-item {
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background: #fff;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: #F8B02B;
  background: #fffdf7;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-content {
  max-height: 500px;
}

.faq-item .chevron {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.faq-item.active .chevron {
  transform: rotate(0deg);
}
/* END FAQ */