/* ==================== */
/* A. Font Faces        */
/* ==================== */
@font-face {
    font-family: 'Prata';
    src: url('Fonts/Prata-Regular.ttf') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    src: url('Fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Estrangelo Nisibin';
    src: url('Fonts/Estrangelo-Nisibin.otf') format('opentype');
    font-style: normal;
}


/* ==================== */
/* B. Root variables    */
/* ==================== */
:root {
    /* Font Variables */
    --font-family-base: 'Prata';
    --font-family-navbar: 'Montserrat', sans-serif;
    --font-family-Estrang: 'Estrangelo Nisibin', medium;

    /* Typography */
    --font-size-h1: 40px;
    --font-size-h2: 28px;
    --font-size-h3: 22px;
    --font-size-body: 18px;

    /* Colors */
    --color-text-white: #ffffff;
    --color-text-black: #000000;
    --color-text-purple: #672A93;
    --color-dark-purple: #502171;
    --color-text-navbar: #2F2F2F;
    --color-text-darkgrey: #333333;
}

body {
    margin: 0px;
    font-family: var(--font-family-base);
}


/* ────────────────────────────────────────────────── */
/* 1. Home Page                                       */
/* ────────────────────────────────────────────────── */
/* Front Cover Section */
.main-frontcover {
    position: relative;
    width: 100%;
}

.main-frontcover img {
    width: 100%;
    display: block;
}

.frontcover-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-text-white);
}

.text-line1 {
    font-size: 2.5rem;
    font-family: var(--font-family-Estrang);
}

.text-line2 {
    font-size: 4rem;
    font-family: var(--font-family-Estrang);
    margin-bottom: 0.5em;
}

.text-line3 {
    font-size: 30px;
}

.text-line4 {
    font-size: 40px;
}

/* Quote Section */
.main-introduction {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #502171 0%, #7440a8 50%, #8d5cc7 100%);
    color: white;
}

.quote-block {
    width: 100%;
    margin: 0 auto;
}

.intro-quote {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.6rem;
}

.quote-block .intro-quote hr {
    width: 70%;
    height: 1px;
    background-color: #ffffffb0;
    border: 0;
    margin: 2rem auto;
}

.author-quote {
    font-size: 1.1rem;
}

.main-introduction hr {
    width: 60%;
    margin: 2rem auto;
    height: 0.5px;
    background-color: #ffffffb0;
    border: 0;
}


/* The Cards Section */
.main-introduction-blocks {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 4rem 2rem;
    color: white;
}

.intro-title {
    text-align: center;
    margin-bottom: 3rem;
}

.intro-title h2 {
    font-size: 2.2rem;
    margin: 0 0 0.5rem 0;
    color: #333;
}

.intro-title hr {
    width: 20%;
    border: 0;
    height: 0.5px;
    background-color: #CCCCCC;
    margin: 0 auto;
}

.intro-blocks {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
}

.intro-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-evenly;
    max-width: 300px;
    min-width: 250px;
    background: #ffffff;
    padding: 2rem;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    align-items: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}

.intro-item:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.12);
    transition: 0.3s ease;
}

.intro-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.image-wrapper {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.intro-item h3 {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
    color: #000000;
    min-height: 3rem;
}

.intro-item p {
    font-size: 18px;
    color: #000000;
    min-height: 5rem;
    line-height: 1.5;
}


/* Separator bars */
.separator-bar {
    width: 100%;
    height: 3rem;
    background: linear-gradient(35deg, #4A176E 0%, #A46ACE 81%);
}


/* Recent activities section */
.recent-activities-section {
    padding: 1rem 0rem 5rem 0;
    text-align: center;
}

.recent-activities-header h2 {
    font-size: 2.5rem;
    color: var(--font-family-navbar);
    margin-bottom: 0.5rem;
}

.recent-activities-header p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.recent-activities-section .recent-activities-header hr {
    width: 60px;
    height: 3px;
    border: none;
    margin: 1rem auto 3rem auto;
    border-radius: 2px;
}

.recent-activities-section hr {
    width: 50%;
    border: none;
    border-top: 0.5px solid #ccc;
    margin: 0rem auto 0rem;
}


/* Image Gallery Section  */
.image-slider-body {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    margin: 0rem 0;
}

.gallery {
    position: relative;
    width: 100%;
    max-width: 1000px;
}

.gallery {
    width: 100%;
}

.gallery-container {
    align-items: center;
    display: flex;
    height: 400px;
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
}

.gallery-item {
    height: 200px;
    opacity: 0;
    position: absolute;
    transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    max-width: 100%;  
    z-index: 0;
    background-size: contain;
    cursor: pointer;
}

.gallery-item-1:hover,
.gallery-item-2:hover {
    transform: translateX(-50%) translateX(-10px);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item-4:hover,
.gallery-item-5:hover {
    transform: translateX(-50%) translateX(10px);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item-1,
.gallery-item-5 {
    filter: blur(1px) brightness(0.7);
}

.gallery-item-2,
.gallery-item-4 {
    filter: blur(1px) brightness(0.85);
}

.gallery-item-3 {
    filter: none;
}

.gallery-item-1 {
    left: 12%;
    opacity: 1;
    transform: translate(-50%);
}

.gallery-item-2,
.gallery-item-4 {
    height: 280px;
    opacity: 1;
    z-index: 1;
}

.gallery-item-2 {
    left: 28%;
    transform: translateX(-50%);
}

.gallery-item-3 {
    box-shadow: -2px 5px 33px 6px rgba(0, 0, 0, 0.35);
    height: 400px;
    opacity: 1;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: default;
}

.gallery-item-4 {
    left: 72%;
    transform: translateX(-50%);
}

.gallery-item-5 {
    left: 88%;
    opacity: 1;
    transform: translateX(-50%);
}

/* Left & Right buttons */
.gallery-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #cecece;
    border: none;
    width: 30px;
    height: 60px;
    border-radius: 15px;
    cursor: pointer;
    outline: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.gallery-controls-previous {
    left: -200px;
}

.gallery-controls-next {
    right: -200px;
}

.gallery-controls-previous::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 58%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #727272;
    border-right: 2px solid #727272;
}

.gallery-controls-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 42%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #727272;
    border-right: 2px solid #727272;
}

.gallery-controls-previous::before {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.gallery-controls-next::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.gallery-controls button:hover {
    background: rgba(215, 215, 215, 0.8);
}

.gallery-controls-previous:hover::before,
.gallery-controls-next:hover::before {
    border-top-color: var(--color-text-purple);
    border-right-color: var(--color-text-purple);
}

.gallery-nav {
    bottom: -15px;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    position: absolute;
    width: 100%;
}

.gallery-nav li {
    background: #CCCCCC;
    border-radius: 50%;
    height: 10px;
    margin: 0 16px;
    width: 10px;
}

.gallery-nav li.gallery-item-selected {
    background: #555;
}


.activities-section {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 0 0rem 0;
    min-width: 300px;
    background-color: #ffffff;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: stretch;
}

.activities-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    gap: 2rem;
    padding: 2rem;
    box-sizing: border-box;
}

.activities-header {
    text-align: center;
    margin-bottom: 2rem;
}

.activities-header p {
    font-size: 2.2rem;
    margin: 0 0 0.5rem 0;
    color: #333;
}

.activities-header hr {
    width: 200px;
    border: 0;
    height: 1px;
    background-color: #CCCCCC;
    margin: 0 auto;
}

/* The button components */
.activity-component-home {
    display: flex;
    align-items: stretch;
    margin: 0px auto;
    padding: 0.5rem 1rem;
    gap: 1rem;
    width: 550px;
    height: fit-content;
}

.activity-left-box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    font-weight: bold;
    border: solid 2px var(--color-text-purple);
    color: var(--color-text-purple);
    transition: all 0.25s ease;
    width: 220px;
    font-size: 1.4rem;
}

.activity-right-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border: 2px solid var(--color-text-purple);
    color: var(--color-text-purple);
    font-size: 1.2rem;
    transition: all 0.25s ease;
}

.activity-component-home:hover .activity-left-box,
.activity-component-home:hover .activity-right-box {
    background-color: var(--color-text-purple);
    color: white;
    border-color: white;
    transition: all 0.2s ease;
}


/* The readings card */
.home-event-box {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    width: 550px;
}

.home-event-card {
    width: 100%;
    border: 2px solid var(--color-text-purple);
    text-align: center;
    padding: 1.5rem;
    box-sizing: border-box;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.home-event-card hr {
    width: 60%;
    height: 1px !important;
    border: none !important;
    background: linear-gradient(to right, transparent, #a382d3, transparent);
    margin: 0.6rem auto 1rem auto;
    padding: 0;
}

#home-event-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.7rem;
    color: var(--color-text-purple);
}

.event-steps-box-v2 {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 4rem;
    row-gap: 0.7rem;
    justify-content: center;
}

.step-title {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.step-content {
    color: #2c2c2c;
    font-size: 1rem;
}



/* ────────────────────────────────────────────────── */
/* 2.1 About us - History Page                        */
/* ────────────────────────────────────────────────── */
.history-section {
    padding: 2rem 17rem;
}


/* ────────────────────────────────────────────────── */
/* 2.5 About us - Liturgy Page                        */
/* ────────────────────────────────────────────────── */
/* Media section */
.liturgy-media {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
}

.pdf-and-button {
    width: 50%;
    max-width: 400px;
    margin: 2rem auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.button-component2 {
    width: 100%;
}

.button-component2 .download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 0rem;
    font-size: 1.2rem;
    text-decoration: none;
    cursor: pointer;
    color: var(--color-text-purple);
    background-color: var(--color-text-white);
    border: 2px solid var(--color-text-purple);
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

.button-component2 .download-button:hover {
    background-color: var(--color-text-purple);
    color: var(--color-text-white);
}

.download-icon {
    width: 30px;
    height: 30px;
    transition: filter 0.3s ease;
}

.download-button:hover {
    background-color: var(--color-text-purple);
    color: var(--color-text-white);
}

.download-button:hover .download-icon {
    filter: brightness(0) invert(1);
}

.pdf-cover-container a {
    display: block;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.pdf-cover {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #ccc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-cover-container a:hover .pdf-cover {
    transform: scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.video-container {
    flex: 1 1 400px;
    max-width: 550px;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}



/* ───────────────────────── */
/* 3.1 Agenda - Calendar     */
/* ───────────────────────── */
/* Container and Calendar */
#calendar-container {
    width: 1000px;
    margin: 50px auto;
}

#calendar {
    font-family: var(--font-family-navbar);
    font-size: 0.95rem;
}

/* The Month view */
#calendar .fc-daygrid-event {
    display: block !important;
    max-width: 100%;
    padding: 2px 10px;
    border-radius: 3px;
    box-sizing: border-box;
}

#calendar .fc-daygrid-event-harness {
    margin: 1px 0px;
}

#calendar .fc-daygrid {
    border: 2px solid #d6d6d6;
    box-sizing: border-box;
}

#calendar .fc-daygrid-day:hover {
    background-color: #f0f0f0;
    transition: background-color 0.2s ease;
}

#calendar .fc-daygrid-day.fc-day-other {
    background-color: #f4f4f4;
}

.fc-col-header {
    background-color: #c1c1c1;
    color: #5a5a5a;
    font-weight: 600;
}

.fc-col-header-cell .fc-col-header-cell-cushion {
    padding: 7px 0px;
}


/* Events CSS */
#calendar .fc-event-title {
    font-weight: 550;
    padding: 0;
    margin: 2px auto;
    white-space: normal;          /* allow wrapping */
    overflow-wrap: break-word;    /* break long words if needed */
    word-break: break-word;       /* for older browsers */
    hyphens: auto;                /* allow hyphenation where possible */
}


/* Todays Box */
#calendar .fc-day-today {
    background-color: #eaeaea00;
}

#calendar .fc-day-today .fc-daygrid-day-number {
    color: white !important;
}

#calendar .fc-daygrid-day-top {
    margin-left: 82%;
    justify-content: center;

}

#calendar .fc-day-today .fc-daygrid-day-top::after {
    content: '';
    position: absolute;
    top: 0px;
    right: 0px;
    width: 27px;
    height: 27px;
    background-color: var(--color-dark-purple);
    border-radius: 50%;
    display: block;
}


/* The Toolbar */
.fc-toolbar .fc-button {
    --fc-button-text-color: #464646;
    text-transform: uppercase;
    background: none !important;
    border: none !important;
    height: 33px;
    box-shadow: none !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.fc-toolbar .fc-toolbar-chunk:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
}

.fc-today-button.hidden {
    display: none !important;
}

/* Prev & Next buttons */
.fc-customPrev-button {
    justify-content: flex-start;
    min-width: 200px;
    padding-right: 10px;
}

.fc-customNext-button {
    justify-content: flex-end;
    min-width: 200px;
    padding-left: 10px;
}

.fc-customPrev-button::before {
    content: url('assets/icons/arrow\ left.svg');
    display: block;
    height: 33px;
}

.fc-customNext-button::after {
    content: url('assets/icons/arrow\ right.svg');
    display: block;
    height: 33px;
}

.fc-customPrev-button:hover::before {
    content: url('assets/icons/arrow\ left\ hover.svg');
}

.fc-customNext-button:hover::after {
    content: url('assets/icons/arrow\ right\ hover.svg');
}

.fc-toolbar .fc-button:hover {
    color: var(--color-dark-purple);
    text-decoration: underline;
}

/* Title styling */
.fc-toolbar-title {
    font-size: 1.7rem !important;
    font-family: var(--font-family-base);
    font-weight: 550 !important;
}


/* Calendar Download Section */
.headings-component-h2 {
    width: fit-content;
    max-width: 1000px;
    margin: 5rem auto 2rem auto;
}

.headings-component-h2-content {
    font-size: 1.5rem;
}

.headings-component-h2 hr {
    width: 90%;
    border: 0;
    height: 0.8px;
    background-color: #CCCCCC;
}

.button-component {
    width: 100%;
}

.button-component .download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    margin: 0rem auto 4rem auto;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    text-decoration: none;
    cursor: pointer;
    color: var(--color-text-purple);
    background-color: var(--color-text-white);
    border: 2px solid var(--color-text-purple);
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

.button-component .download-button:hover {
    background-color: var(--color-text-purple);
    color: var(--color-text-white);
}


/* ────────────────────────────────────────────────── */
/* 3.2 Agenda - Upcoming activities                   */
/* ────────────────────────────────────────────────── */
.activities-wrapper-agendapage {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    gap: 7rem;
    margin: 0 auto 1rem auto;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.activities-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    margin: 0px 0;
}

.activity-component {
    display: flex;
    align-items: stretch;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1rem auto;
    padding: 1rem;
    gap: 1rem;
    width: 510px;
    height: fit-content;
    transition: background 0.3s ease, color 0.3s ease;
}

.activity-component-date {
    width: 170px;
    padding: 0px 15px;
    background-color: #ffffff;
    border: 2px solid var(--color-text-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-purple);
    font-size: 1.4rem;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.activity-component:hover {
    background: linear-gradient(90deg, #DDC6EE 0%, #DDC6EE 21%, #ffffff 100%);
}

.activity-component:hover .activity-component-date {
    background-color: var(--color-text-purple);
    color: #ffffff;
}

.activity-component-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.2rem;
    flex-grow: 1;
}

.activity-component-info-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.2rem 0;
}

.activity-component-info-line .icon-part {
    width: 30px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-component-info-line .icon-part img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.activity-component-info-line .text-part {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.2;
}

/* Separator bar */
.separator-bar-v2 {
    width: 100%;
    margin: 3rem 0;
    height: 1rem;
    background-color: rgba(81, 31, 117, 0.26);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* Newsletter section */
.newsletter-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 80px;
}

.newsletter-container {
    width: 670px;
    margin: 3rem auto;
}

.email-input {
    padding: 12px 0px;
    width: 100%;
    border: 1px solid #bebebe;
    background-color: #F1F1F1;
    color: #898989;
    text-align: center;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.email-input::placeholder {
    color: #898989;
}

.subscribe-btn {
    padding: 12px 0px;
    width: 100%;
    background-color: var(--color-text-purple);
    color: white;
    font-family: var(--font-family-navbar);
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid var(--color-dark-purple);
    cursor: pointer;
    font-size: 16px;
}

.subscribe-btn:hover {
    opacity: 0.9;
}



/* ────────────────────────────────────────────────────────── */
/* 4.1:2:3 Library - Book Pages (Liturgy, Catechism & Prayer) */
/* ────────────────────────────────────────────────────────── */
/* One book component */
.book-component {
    width: 250px;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.empty-book-component {
    width: 250px;
    background-color: #ffffff00;
    border-radius: 3px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.book-cover {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
}

.book-title {
    font-size: 1.3rem;
    text-align: center;
    margin-top: 1rem;

}

.book-component hr {
    width: 100%;
    border: none;
    height: 1px;
    background-color: #ccc;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.button-component2 {
    width: 100%;
}

.button-component2 .download-button2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 0rem;
    font-size: 1.2rem;
    text-decoration: none;
    cursor: pointer;
    color: var(--color-text-purple);
    background-color: var(--color-text-white);
    border: 2px solid var(--color-text-purple);
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

.button-component2 .download-button2:hover {
    background-color: var(--color-text-purple);
    color: var(--color-text-white);
}

.download-button2:hover {
    background-color: var(--color-text-purple);
    color: var(--color-text-white);
}

.download-button2:hover .download-icon {
    filter: brightness(0) invert(1);
}

/* Book category menu */
.book-categories-switch {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem auto 1rem;
}

.book-categories-switch .nav-btn {
    margin-top: 0;
    height: auto;
    display: flex;
    align-items: center;
}

.switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 550px;
}

.book-categories-switch .buttonwrap {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-categories-switch-content {
    font-size: 2rem;
    text-align: center;
    flex-shrink: 0;
}

.book-categories-switch hr {
    width: 60%;
    border: 0;
    height: 1px;
    background-color: #CCCCCC;
    margin-top: 0.5rem;
}

.category-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0.5rem;
}

.indicator {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid var(--color-text-purple);
    background-color: white;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: var(--color-text-purple);
}

/* Set of 3 book components */
.book-set {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Hide all categories except active */
.book-sets {
    display: none;
}

.book-sets.active {
    display: block;
    margin: 4rem 0 5rem;
}


/* ────────────────────────────────────────────────── */
/* 4.4 Library - Lezingenrooster                      */
/* ────────────────────────────────────────────────── */
.next-event-box {
    border: 1px solid #ccc;
    max-width: fit-content;
    margin: 0rem auto 4rem auto;
    background-color: var(--color-text-white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.event-date-box {
    background-color: var(--color-text-purple);
    color: white;
    border: 2px solid var(--color-text-white);
    padding: .5rem;
    width: 100%;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    box-sizing: border-box;
}

.next-event-box h3 {
    margin: 0.5rem 0 1rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
}

.title-text-wrapper {
    display: inline-block;
    text-align: center;
    max-width: 600px;
    min-width: 500px;
    padding: 0rem 2rem;
}

.title-text {
    font-size: 1.4rem;
    font-weight: 600;
}

.title-text-wrapper hr {
    width: 80%;
    border: 0;
    height: 0.8px;
    background-color: #CCCCCC;
    margin: 0.5rem auto 0 auto;
    display: block;
}

.event-steps-box {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    column-gap: 11rem;
    row-gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem 1.2rem;
}

.step-title {
    font-weight: 600;
    text-align: right;
}

.step-content {
    text-align: left;
}

/* Buttons bar */
.event-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 550px;
    margin: 0 auto 2rem auto;
    gap: 1rem;
}

.buttonwrap {
    flex: 1;
    display: flex;
    align-items: center;
}

.left-wrap {
    justify-content: flex-start;
}

.right-wrap {
    justify-content: flex-end;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-family-navbar);
    --fc-button-text-color: #464646;
    height: 0px;
    margin-top: 2rem;
    box-shadow: none !important;
    border: none;
    background: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    text-transform: uppercase;
    gap: 8px;
}

.nav-icon {
    display: inline-block;
    height: 30px;
    width: auto;
}

.nav-btn:hover {
    color: var(--color-dark-purple);
    text-decoration: underline;
}

.nav-btn-l::before {
    content: url('assets/icons/arrow\ left.svg');
    display: block;
    height: 33px;
}

.nav-btn-r::after {
    content: url('assets/icons/arrow\ right.svg');
    display: block;
    height: 33px;
}

.nav-btn-l:hover::before {
    content: url('assets/icons/arrow\ left\ hover.svg');
}

.nav-btn-r:hover::after {
    content: url('assets/icons/arrow\ right\ hover.svg');
}


/* ────────────────────────────────────────────────── */
/* 4.5 Library - Links                                */
/* ────────────────────────────────────────────────── */
.links-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
    padding: 3rem;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.link-component {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.title-component {
    background-color: var(--color-dark-purple);
    color: white;
    padding: 0.75rem 1rem;
    border: solid white;
    text-align: center;
}

.title-component a {
    margin: 0;
    font-size: 1.5rem;
}

.link-component-content {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.link-component-content a {
    text-decoration: none;
    color: var(--color-text-black);
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.link-component-content a:hover {
    color: var(--color-text-purple);
}



/* ────────────────────────────────────────────────── */
/* 5. Contact Page                                    */
/* ────────────────────────────────────────────────── */
/* Header of page */
.text-component-h2 {
    width: 100%;
    max-width: 1100px;
    margin: 3rem auto 0;
    text-align: center;
}

.text-component-h2-content {
    line-height: 1.5rem;
    font-size: 1.1rem;
}

/* contact form */
.container {
    width: 100%;
    max-width: 900px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    padding: 48px;
    margin: 3rem auto 5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-size: 14px;
    color: #888;
    margin-bottom: 12px;
    font-weight: 500;
    font-family: var(--font-family-navbar);
}

.generic-form input[type="text"],
.generic-form input[type="email"],
.generic-form input[type="tel"],
.generic-form textarea {
    border: none;
    border-bottom: 1px solid #d1d5db;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    background: transparent;
    font-family: var(--font-family-navbar);
    transition: border-color 0.2s;
}

.generic-form input[type="text"]::placeholder,
.generic-form input[type="email"]::placeholder,
.generic-form input[type="tel"]::placeholder,
.generic-form textarea::placeholder {
    color: #c4c4c4;
}

.generic-form input[type="text"]:focus,
.generic-form input[type="email"]:focus,
.generic-form input[type="tel"]:focus,
.generic-form textarea:focus {
    outline: none;
    border-bottom-color: #555;
}

textarea {
    resize: none;
    line-height: 1.5;
}

.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.phone-prefix {
    position: absolute;
    margin-bottom: 3px;
    margin-right: 3px;
    color: #aaa;
    font-size: 20px;
    pointer-events: none;
}

.phone-input {
    margin-left: 20px;
    width: 100%;
}

.submit-btn {
    background-color: var(--color-text-purple);
    color: white;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-family-navbar);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 16px;
}

.submit-btn:hover {
    background-color: var(--color-dark-purple);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Contact cards section */
.contact-card-wrapper {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: nowrap;
}

.contact-card-wrapper .contact-card {
    flex: 1 1 0;
    max-width: 400px;
    width: 100%;
}

.contact-card {
    width: 100%;
    position: relative;
    max-width: 500px;
    background: #f4f0fa;
    padding: 30px 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    font-family: var(--font-family-navbar);
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 4rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card::before,
.contact-card::after {
    content: '';
    position: absolute;
    width: 20%;
    height: 20%;
    border: 2px solid var(--color-text-purple);
    transition: all 0.6s ease;
    pointer-events: none;
}

.contact-card:nth-child(1)::before {
    top: 0;
    left: 0;
    border-top-color: var(--color-text-purple);
    border-left-color: var(--color-text-purple);
    border-bottom-color: transparent;
    border-right-color: transparent;
}

.contact-card:nth-child(1)::after {
    bottom: 0;
    right: 0;
    border-bottom-color: var(--color-text-purple);
    border-right-color: var(--color-text-purple);
    border-top-color: transparent;
    border-left-color: transparent;
}

.contact-card:nth-child(2)::before {
    top: 0;
    right: 0;
    border-top-color: var(--color-text-purple);
    border-right-color: var(--color-text-purple);
    border-bottom-color: transparent;
    border-left-color: transparent;
}

.contact-card:nth-child(2)::after {
    bottom: 0;
    left: 0;
    border-bottom-color: var(--color-text-purple);
    border-left-color: var(--color-text-purple);
    border-top-color: transparent;
    border-right-color: transparent;
}

.contact-card:hover::before,
.contact-card:hover::after {
    width: 100%;
    height: 100%;
}

.contact-title-box {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #1f1f1f;
    position: relative;
}

.contact-title-box span {
    display: inline-block;
    position: relative;
}


.contact-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-card-row {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    padding: 10px 20px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.contact-card-row::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(to right, rgba(118, 77, 150, 0.05), rgba(183, 119, 222, 0.15));
    transition: width 0.5s ease;
    z-index: 0;
}

.contact-card-row:hover::after {
    width: 100%;
}

.contact-card-row>* {
    position: relative;
    z-index: 1;
}

.contact-card-content a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}

.contact-card-iconimage {
    width: 45px;
    height: 45px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #844cab, #764a98);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.contact-card-iconimage img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.contact-card-content {
    font-size: 15px;
    color: #1f1f1f;
    word-break: break-word;
}

.contact-title-box span {
    display: inline-block;
    position: relative;
}

.contact-title-box span::after {
    content: '';
    display: block;
    width: 70%;
    height: 1.2px;
    background: linear-gradient(140deg, #9661bc, var(--color-text-purple));
    margin: 10px auto 0 auto;
}

/* Mailing list section */
.contact-section2 {
    width: 100%;
    background-color: var(--color-text-purple);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-section2-text {
    font-size: var(--font-size-h1);
    color: var(--color-text-white);
}

.headings-component-h3 {
    width: fit-content;
    max-width: 1000px;
    margin: 3rem auto 2rem auto;
}

.headings-component-h3-content {
    font-size: 1.5rem;
}

.headings-component-h3 hr {
    width: 90%;
    border: 0;
    height: 1px;
    background-color: #ffffff;
}



/* ======================================== */
/* Reusable Standard Components             */
/* ======================================== */

/* ==================== */
/* 1. Header Component  */
/* ==================== */
.header-placeholder {
    height: 148px;
    width: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 80px;
    color: #2F2F2F;
    border-bottom: 3px solid #5E2886;
    background-color: var(--color-text-white);
    position: fixed;
    width: 100%;
    z-index: 999;
    transition: transform 0.2s cubic-bezier(0.77, 0, 0.175, 1),
        opacity 0.2s cubic-bezier(0.77, 0, 0.175, 1),
        box-shadow 0.2s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}

.header,
.header * {
    box-sizing: border-box;
}

.header--hidden {
    transform: translateY(-100%);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo {
    height: 100px;
    margin-right: 30px;
}

.logo-text {
    display: flex;
    align-items: center;
    font-family: var(--font-family-Estrang);
    font-size: 2rem;
    color: #5E2886;
    -items: center;
}

.logo-text-link {
    text-decoration: none;
    color: inherit;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 60px;
    min-width: 500px;
    text-decoration: none;
    color: var(--color-text-navbar);
    font-family: var(--font-family-navbar);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.navbar a:hover,
li.dropdown:hover>.dropbtn {
    color: var(--color-dark-purple);
}

.navbar a,
.dropbtn {
    display: inline-block;
    padding: 8px 0px;
    color: var(--color-text-navbar);
    text-align: center;
    text-decoration: none;
}

li.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-content {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px) translateX(-50%);
    position: absolute;
    background-color: #f9f9f9;
    min-width: 220px;
    left: 50%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%);
}


/* ==================== */
/* 2. Footer Component  */
/* ==================== */
.footer {
    width: 100%;
    padding: 3rem 0 1rem;
    color: #fff;
    background: linear-gradient(to top right,
            #3a0e5c 0%,
            #672a93 75%);
    display: flex;
    justify-content: center;
}

.footer-inner {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title row */
.title-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-bar-text {
    font-family: var(--font-family-base);
    font-size: 1.9rem;
    text-align: left;
    line-height: 1.2;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 110px;
    height: auto;
}

/* Divider */
.footer-divider {
    width: 100%;
    margin: 1.5rem 0 3rem;
    height: 0.8px;
    border: none;
    background-color: #cccccc;
}


/* Footer information row (3 columns) */
.footerinfo-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-header {
    font-family: var(--font-family-navbar);
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.7rem;
}

/* Map (column 1) */
.map iframe {
    width: 400px;
    max-width: 400px;
    height: 220px;
    border: 0;
}

/* Menu List (column 2) */
.footer-column-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-column-wrapper .footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-menu-items>a>span>span {
    display: inline-block;
    font-family: var(--font-family-navbar);
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    color: rgba(255, 255, 255, 1);
    position: relative;
    transition: color 0.25s ease;
    text-decoration: none;
}

.footer-menu-items>a>span>span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background-color: rgba(255, 255, 255, 0.85);
    transition: width 0.3s ease;
}

.footer-menu-items>a>span>span:hover {
    color: rgba(255, 255, 255, 0.65);
}

.footer-menu-items>a>span>span:hover::after {
    width: 100%;
}


/* Contact info (column 3) */
.contact-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contact-row a {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.5rem 1rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: inherit;
}

.contact-row a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.15));
    transition: width 0.4s ease;
    z-index: 0;
}

.contact-row a:hover::after {
    width: 100%;
}

.contact-row a>* {
    position: relative;
    z-index: 1;
}

.contact-icon {
    width: 30px;
    height: 30px;
}

.contact-text {
    font-family: var(--font-family-navbar);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.contact-info hr {
    width: 100%;
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.18);
}


/* Copyright row */
.footer-copyright-row {
    margin-top: 3.5rem;
    text-align: center;
}

.footer-copyright-row .top-text,
.footer-copyright-row .bottom-text {
    font-family: var(--font-family-base);
    letter-spacing: 0.5px;
    margin: 0.3rem 0;
    font-size: 0.8rem;
}


/* ====================== */
/* 3. Headings Component  */
/* ====================== */
.headings-component {
    width: fit-content;
    max-width: 1000px;
    margin: 3rem auto 1rem;
}

.headings-component-content {
    font-size: 2rem;
    text-align: center;
}

.headings-component hr {
    width: 90%;
    border: 0;
    height: 1px;
    background-color: #CCCCCC;
}

/* v2 */
.headings-component-mult {
    width: fit-content;
    max-width: 1000px;
    margin: 3rem auto 1rem;
}

.headings-component-mult-content {
    font-size: 2rem;
    text-align: center;
    display: inline-block;
}

.headings-component-mult hr {
    display: none;
}

.headings-component-mult-content .short-line {
    display: inline-block;
    position: relative;
}

.headings-component-mult-content .short-line::after {
    content: "";
    display: block;
    height: 1px;
    background-color: #CCCCCC;
    width: 90%;
    margin: 0.5rem auto 0;
}

/* ====================== */
/* 4. Text bar Component  */
/* ====================== */
.text-component {
    width: 100%;
    max-width: 1000px;
    margin: 1rem auto;
}

.text-component-content {
    line-height: 1.5rem;
}


/* ====================== */
/* 5. Title bar Component */
/* ====================== */
.title-bar {
    width: 100%;
    height: 6rem;
    background-color: var(--color-text-purple);
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-bar-text {
    font-size: var(--font-size-h1);
    color: var(--color-text-white);
}

/* ====================== */
/* 6. Accordion Component */
/* ====================== */

.accordion {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.accordion-item {
    margin: 1rem 0;
}

.accordion-item-header {
    min-height: 3.5rem;
    line-height: 1.25rem;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 1.8rem;
}

.accordion-arrow {
    display: inline-block;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.2s ease;
}

.accordion-item-header.active .accordion-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.accordion-arrow img {
    width: 20px;
    height: 20px;
}

.accordion-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
}

.accordion-item-body-content {
    line-height: 1.5rem;
}

.accordion hr {
    border: none;
    height: 1px;
    background-color: #CCCCCC;
    width: 100%;
    transform: scaleY(1);
    margin: 1rem auto;
}








