/*
  Education.css
  Custom styles for the Workshop Page only.
  Leverages the general styling in main.css.
*/

/* Hero tweaks */
.hero-content {
    padding: 4rem 2rem;
    gap: 2rem;
}



/* Scroll Light Effect */
.scroll-light {
    position: absolute;
    top: 0;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(119, 168, 240, 0.801) 0%, rgba(20, 48, 209, 0.911) 80%);
    transform: translateX(-50%);
    transition: top 0.3s ease-out;
    pointer-events: none;
}


/* Section styling similar to the inspiration "About" section */
.section_home-topics {
    background-color: #000;
    color: #fff;
    padding: 60px 20px;
    font-family: 'Open Sans', sans-serif;
}

.padding-global {
    padding: 0 20px;
}

.container-medium {
    max-width: 960px;
    margin: 0 auto;
}

/* Component container */
.home-about_component {
    position: relative;
}



/* Info wrapper with line and light effect */
.home-about_info-wrapper {
    position: relative;
}

.home-about_line-wrapper {
    position: absolute;
    left: 15%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #333;
    z-index: 1;
}

.home-about_line-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #007bff00;
    transition: height 1s ease;
}

.home-about_light {
    position: absolute;
    left: 0;
    width: 100%;
    height: 200px;
    /* taller to give room for both fades */
    background: var(--brand-color);
    /* box-shadow: 0 0 25px rgba(13, 85, 219, 0.753); */
    transition: top 0.3s ease-out;
    pointer-events: none;
    z-index: 3;
    filter: blur(5px);

}


/* Info block items */
.home-about_info-block {
    display: flex;
    flex-direction: column;
    gap: 00px;
    padding-left: 20%;
}

.home-about_info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

/* When visible (added by JS) */
.home-about_info-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Number badge – square with 1px border radius */
.home-about_number {
    flex-shrink: 0;
}

.home-about_number div {
    width: 40px;
    height: 40px;
    background: #333;
    border: 1px solid var(--brand-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.home-about_number:hover {
    box-shadow: 0 0 40px rgba(16, 81, 185, 0.726);
}

/* Info text */
.info-text {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: left;
}

.info-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.info-description {
    font-size: 1rem;
    line-height: 1.6;
    color: grey;
}


/* Audience section */
.audience-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    padding-left: 1rem;
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.1rem;
    color: #ccc;
    list-style: disc inside;
}

@media (max-width: 600px) {
    .audience-list {
        grid-template-columns: 1fr;
    }
}

/* Awards */
.awards-gallery {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.awards-gallery img {
    /* width: 240px; */
    height: 300px;
    border-radius: 8px;
}

/* Vertical modal for desktops */
.vertical-modal {
    position: fixed;
    right: 1rem;
    top: 30%;
    width: 220px;
    background: rgba(16, 81, 185, 0.9);
    padding: 1rem;
    border-radius: 0.5rem;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateY(-50px);
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
}

.vertical-modal-content {
    color: #fff;
    text-align: center;
}

.vertical-modal button {
    margin-top: 1rem;
}

/* Shown only on large screens */
@media (min-width: 992px) {
    .vertical-modal.is-visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* Hide modal on mobile */
@media (max-width: 991px) {
    .vertical-modal {
        display: none;
    }
}

/* CTA for mobile */
.mobile-cta {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(16, 81, 185, 0.95);
    padding: 1rem;
    text-align: center;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

/* Show CTA only on small screens */
@media (max-width: 991px) {
    .mobile-cta.is-visible {
        transform: translateY(0%);
    }
}

@media (min-width: 992px) {
    .mobile-cta {
        display: none;
    }
}

/* Request form */
.request-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 400px;
    margin: 2rem auto;
}

.request-form label {
    margin-top: 1rem;
}

.request-form input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
}

/* Future events list */
/* Future events grid */
.events-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

@media (max-width: 768px) {
    .events-list {
      grid-template-columns: 1fr;
    }
  }

/* Styling for each event card */
.event-card {
    background: #222;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: left;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}


.badge-angled {
    position: absolute;
    bottom: 53px;
    left: 0;
    width: 120px;
    height: 32px;
    background-color: #ff3c00;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    line-height: 32px;
  
    transform: rotate(45deg);
    transform-origin: top left;
    clip-path: polygon(0% 0%, 100% 0%, 75% 100%, 15% 100%);
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }
.event-card:hover {
    background: #333;
}

/* Event image */
.event-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Event content */
.event-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1rem;
}

/* Make button stay at bottom */
.event-button-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.events-list article {
    background: #222;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: left;
}

.events-list article h3 {
    margin-bottom: 0.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem;
  }
  
  /* Versão mobile: 1 item por linha */
  @media (max-width: 768px) {
    .benefits-grid {
      grid-template-columns: 1fr;
    }
  }

/* Benefits wrapper */
.benefits-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 2rem auto;
    justify-content: center;
}

.benefit-card {
    flex: 1 1 300px;
    background: #222;
    padding: 1.5rem;
    border-radius: 8px;
    min-width: 280px;
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

.benefit-card ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

/* Workshop Swiper custom styling */
.awards-swiper {
    width: 100%;
    max-width: 800px;
    padding: 2rem 0;
    margin: 0 auto;
}

.awards-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.awards-swiper img {
    max-height: 300px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
}






.text-rotation-container {
    width: 100%;
    height: 42.5vh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 2rem;
    display: flex;
    position: relative;
    overflow: hidden
}

.text-rotation-wrap {
    display: flex
}

.text-rotation-title {
    letter-spacing: -.1rem;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1
}

.vertical-scroll-wrapper {
    width: 25rem;
    flex-direction: column;
    align-items: flex-start;
    position: relative
}

.track-vertical {
    flex-direction: column;
    display: flex;
    position: absolute
}


.looping-text {
    color: rgba(194, 197, 199, 0.322);
    ;
    letter-spacing: -.1rem;
    margin-top: 0;
    margin-bottom: .25rem;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.5s ease;
}

.looping-text.rotate-text {
    white-space: nowrap
}

.looping-text.active {
    color: var(--brand-color);
    /* or any other highlight color */
    transform: scale(1.03);
}

.track-overlay {
    z-index: 1;
    background-image: linear-gradient(#f9f5ff, transparent 50%, #f9f5ff);
    position: absolute;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%
}

.track-overlay.unclickable {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(#fff, transparent 50%, #fff);
    display: none;
    position: absolute
}





/* PRECIFICACAO */

.pricing-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.pricing-subtitle {
    font-size: 1rem;
    color: #ccc;
}

.pricing-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding-top: 2rem;
}

.pricing-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: #222;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 30px;
    text-align: left;
    position: relative;
}

.pricing-card-vip {
    background: #2c2c38;
    border: 2px solid var(--green-color);

}

.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ffc400;
    color: #000000;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.badge-pre-sale {
    position: absolute;
    bottom: +10px;
    left: 0px;
    width: 100%;
    text-align: center;
    background-color: #d31515;
    color: #000000;
    padding: 6px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.pricing-card-header {
    margin-bottom: 20px;
}

.plan-title {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.plan-price {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.plan-discount {
    display: relative;
    font-size: 1rem;
    color: var(--green-color);
    /* cor de destaque */
}


/* Círculo amarelo com “?” */
.question-tooltip {
    background: var(--green-color);
    color: #000;
    /* cor do “?” */
    display: inline-block;
    text-align: center;
    width: 18px;
    height: 18px;
    line-height: 18px;
    /* para centralizar verticalmente o ? */
    border-radius: 50%;
    margin-left: 8px;
    /* espaço entre desconto e o “?” */
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    /* necessário para posicionar o tooltip */
}

/* Tooltip escondido por padrão */
.question-tooltip .tooltip-text {
    display: none;
    /* fica invisível até o hover */
    position: absolute;
    top: -42px;
    /* ajusta para ficar acima do “?” */
    left: 25px;
    /* deslocamento horizontal */
    min-width: 160px;
    /* largura mínima */
    background: #222;
    /* fundo do tooltip */
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 999;
    /* sobresair sobre outros elementos */
}

/* Exibir tooltip no hover */
.question-tooltip:hover .tooltip-text {
    display: block;
}


.plan-features {
    list-style: none;
    padding-left: 0;
    padding-top: 1.5rem;
    margin: 0 0 20px 0;
    color: #ccc;
}

.plan-features li {
    margin-bottom: 8px;
}

.btn-subscribe {
    display: inline-block;
    width: 100%;
    background-color: var(--brand-color);
    border: none;
    color: #000;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
    background-color: var(--green-color);
}


.feature-icon {
    margin-right: 8px;
    /* espaço entre o ícone e o texto */
    color: var(--green-color);
    /* cor para combinar com seu layout */
    font-size: 1.1em;
    /* ajuste de tamanho, se quiser */
    vertical-align: middle;
}


.collapsible-container {
    margin-top: 2rem;
}

.collapsible-toggle {
    background-color: var(--brand-color);
    color: #000;
    font-weight: bold;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.collapsible-toggle:hover {
    background-color: var(--brand-color-hover);
}

.collapsible-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.collapsible-content.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}