@import url('style.css');

/*-----------------------------------*\
 * #HERO
\*-----------------------------------*/

.educationhub-hero {
    position: relative;
    padding: 10vh 0;
    color: var(--background-white);
    height: auto;
    overflow: hidden;
}

.educationhub-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.educationhub-hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.educationhub-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 46, 83, 0.8);
    z-index: -1;
}

.educationhub-hero__content {
    text-align: left;
    position: relative;
}

.educationhub-hero__page-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.educationhub-hero__title {
    color: var(--background-white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.educationhub-hero__description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.education-content {
    padding: 3rem 0 0;
    text-align: left;
}

.education-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.education-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.education-section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.view-all-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: var(--primary-color);
}

.section-intro {
    padding-bottom: 1.5rem;
}

/* Whitepapers List Section */
.whitepapers-list {
    padding: 30px 0 60px 0;
    background-color: var(--background-white);
}

.whitepapers-list__intro {
    text-align: center;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    line-height: 1.6;
}

.whitepapers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.whitepaper-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.whitepaper-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.whitepaper-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.whitepaper-card__color-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--accent-color) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.whitepaper-card:hover .whitepaper-card__color-overlay {
    transform: translateY(0);
}

.whitepaper-card__overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--background-white);
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 1rem;
    transition: all 0.3s ease;
    z-index: 2;
    height: 95px;
}

.whitepaper-card__text-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.whitepaper-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
}

.whitepaper-card__arrow-link {
    background-color: var(--primary-color);
    color: var(--background-white);
    border-radius: 8px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.whitepaper-card:hover .whitepaper-card__arrow-link {
    background-color: var(--accent-color);
}

.whitepaper-card__arrow-link svg {
    width: 24px;
    height: 24px;
}

/* Broker Training Section */
.broker-training {
    position: relative;
    padding: 40px 0;
    color: var(--background-white);
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.broker-training__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.broker-training__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.broker-training__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 46, 83, 0.8);
    z-index: -1;
}

.broker-training__content {
    text-align: left;
    max-width: 800px;
    margin: 0;
    position: relative;
    padding: 1rem 0;
}

.broker-training__title {
    font-size: 2rem;
    color: var(--background-white);
    margin-bottom: 1rem;
}

.broker-training__text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Webinars List Section */
.webinars-list {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.webinars-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2.5rem;
}

.webinars-grid-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.webinar-card-testimonial {
    background-color: var(--background-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

.webinar-card-testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.webinar-card-testimonial__top-date {
    position: absolute;
    top: 0;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--background-white);
    padding: 0.5rem 1rem;
    border-radius: 0 0 15px 15px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.webinar-card-testimonial__top-date .day {
    font-size: 1.5rem;
}

.webinar-card-testimonial__top-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.webinar-card-testimonial__body {
    padding-top: 0;
    padding-left: 2rem;
    padding-top: 2rem;
}

.webinar-card-testimonial__details {
    margin-top: 1rem;
    text-align: left;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.webinar-card-testimonial__description {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.webinar-card-testimonial__speakers {
    padding-bottom: 1rem;
}

.webinar-card-testimonial__speakers-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.webinar-card-testimonial__speaker-name {
    font-size: 0.9rem;
    color: var(--text-light);
}

.webinar-card-testimonial__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
    line-height: 1.4;
    text-align: start;
}

.webinar-card-testimonial__date-full {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.webinar-card-testimonial__date-icon {
    width: 16px;
    height: 16px;
    filter: invert(55%) sepia(86%) saturate(373%) hue-rotate(176deg) brightness(95%) contrast(92%);
}

.webinar-card-testimonial__decoration {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
}

.circle-1 {
    background-color: var(--accent-color);
    width: 80px;
    height: 80px;
    bottom: 0;
    right: 40px;
    opacity: 0.8;
}

.circle-2 {
    background-color: var(--primary-color);
    width: 90px;
    height: 90px;
    bottom: 30px;
    right: 0;
    opacity: 0.7;
}


.whitepapers-hero {
    position: relative;
    padding: 10vh 0;
    background-image: linear-gradient(rgba(42, 46, 83, 0.8), rgba(42, 46, 83, 0.8)), url('../images/hero-background.jpeg');
    background-size: cover;
    background-position: center;
    color: var(--background-white);
    height: auto;
}

.whitepapers-hero__content {
    text-align: left;
    position: relative;
    z-index: 1;
}


.whitepapers-hero__page-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.whitepapers-hero__title {
    color: var(--background-white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.whitepapers-hero__description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* Whitepapers List Section */
.whitepapers-list {
    padding: 60px 0;
    background-color: var(--background-white);
}

.whitepapers-header {
    text-align: center;
    margin-bottom: 4rem;
}

.whitepapers-header__title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.whitepapers-header__subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.whitepapers-list__intro {
    text-align: center;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    line-height: 1.6;
}

.whitepapers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.whitepaper-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whitepaper-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.whitepaper-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.whitepaper-card__color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--accent-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.whitepaper-card:hover .whitepaper-card__color-overlay {
    opacity: 0.8;
}

.whitepaper-card__overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--background-white);
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 1rem;
    transition: all 0.3s ease;
    z-index: 2;
    height: 95px;
}

.whitepaper-card__text-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.whitepaper-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
}

.whitepaper-card__arrow-link {
    background-color: var(--primary-color);
    color: var(--background-white);
    border-radius: 8px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.whitepaper-card:hover .whitepaper-card__arrow-link {
    background-color: var(--accent-color);
}

.whitepaper-card__arrow-link svg {
    width: 24px;
    height: 24px;
}