/* Add smooth scrolling to the whole page */
html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .text-l, .text-lg, .text-xl, .text-2xl, .text-3xl, .text-4xl, .text-5xl, .text-6xl, .text-7xl, .text-8xl, .text-9xl, .text-10xl {
    font-family: 'Poppins', sans-serif;
}

p, a, span, label, input, button, select, option, textarea, .text-center, .text-left, .text-sm, .font-semibold, .text-base, .text-xs, .font-medium, .font-normal {
    font-family: 'Inter', sans-serif;
}

ul {
    list-style: disc;
    margin: 0;
    padding: 2px 0 2px 20px;
}

body {
    background-color: white;
    color: #fff;
}


.section-light {
    color: #fff;
}

h4 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 2rem 0 1.5rem 0;
}

h3 {
    font-size: 1.7rem;
    line-height: 2.25rem;
    margin: 2rem 0 1.5rem 0;
}

h2 {
    font-size: 1.8rem;
    line-height: 2.5rem;
    margin: 20px 0 0 0;
}

h1 {
    font-size: 3rem;
    line-height: 1;
    margin: 3rem 0rem 2rem 0rem;
}

hr {
    margin: 1.5rem 0;
}

.article-body {
    padding: 0.5rem;
}
.article-body p {
    margin: 15px 0px;
}

.youtube-container {
    display: flex;
    justify-content: center;
}

.youtube-container iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
}

@media only screen and (max-width: 768px) {
    .event-container iframe {
        aspect-ratio: 9 / 16;
        width: 100% !important;
    }
}
#summary-modal {
    font-size: 14px;
}
#summary-modal p {
    margin: 5px 0 0 0;
}

.transcript-container p {
    margin: 15px 0 0 0;
}

#summary-modal h2 {
    font-size: 1.5rem;
    line-height: 2.0rem;
    margin: 20px 0 10px;
}

.article-container h1 {

    margin: 0;

}

.article-cover-image {
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(255,255,255,1) 95%);
}

.md\:mt-5 {
    margin-top: 5px;
}

.md\:mt-20 {
    margin-top: 20px;
}

#summary-modal .modal-description {
    max-height: 600px;
}

#summary-modal .modal-transcript {
    max-height: 600px;
}

#summary-modal .dark\:border-gray-800 {
    background-color: #0f0532;
}

.text-gradient {
  background: linear-gradient(90deg, #4B3F8A 0%, #2A6CB4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: inline-block; /* Or inline, depending on usage */
}

/* Initial state class applied in HTML */
.initial-hidden {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  visibility: hidden !important;
  transition: none !important; /* Prevent transition on page load */
}

/* Scroll Reveal Animation Styles (JS needed to add/remove .revealed) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px); /* Increased distance */
  transition: opacity 1s ease, transform 1s ease; /* Slower transition */
  will-change: opacity, transform;
  visibility: hidden; /* Add this to ensure hidden state */
  pointer-events: none; /* Prevent interaction with hidden elements */
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  visibility: visible; /* Make visible when revealed */
  pointer-events: auto; /* Re-enable interaction */
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px); /* Optional subtle upward movement */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards; /* Adjust duration and timing as needed */
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px); /* Adjust vertical distance as needed */
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite; /* Adjust duration and timing as needed */
}

/* Light Pulsing Animation */
@keyframes pulse-light {
  0%, 100% {
    opacity: 0.2; /* Starting/ending opacity */
  }
  50% {
    opacity: 0.8; /* Mid-point opacity - adjust as needed */
  }
}

.animate-pulse-light {
  animation: pulse-light 3s cubic-bezier(0.4, 0, 0.6, 1) infinite; /* Adjust duration and timing */
}

[x-cloak] { display: none !important; }

/* Cookie consent styles */
:root {
    --cc-card-bg-color: #FFFFFF;
    --cc-card-text-color: #000000;
    --cc-button-bg-color: #0f0532;
    --cc-button-bg-color-rgb: 15, 5, 50;
    --cc-button-bg-opacity: .8;
    --cc-button-text-color: #FFFFFF;
    --cc-modal-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[theme="dark"] {
    --cc-card-bg-color:#0f0532;
    --cc-card-text-color: #f0f0f0;
    --cc-button-bg-color-rgb: 194, 208, 224;
    --cc-button-text-color: #161a1c;
}

.cookie-disable-interaction body {
    height: auto !important;
    overflow: hidden !important;
}

.cookie-disable-interaction body::before {
    background: rgba(0, 0, 0, .65);
    content: "";
    inset: 0;
    opacity: 1;
    position: fixed;
    z-index: 900;
}

.cookie-consent-root {
    --cookie-consent-width: 100%;
    --cookie-consent-bottom: 20px;
    position: fixed;
    background: var(--cc-card-bg-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1000;
    bottom: var(--cookie-consent-bottom);
    inset-inline-start: 20px;
    inset-inline-end: 20px;
    max-width: var(--cookie-consent-width);
    overflow: hidden;
    transition: 1s ease-in-out all;
}

.consent-layout-box,
.consent-layout-box-inline {
    --cookie-consent-width: 24rem;
}

.consent-layout-box-wide {
    --cookie-consent-width: 36rem;
}

.consent-layout-cloud,
.consent-layout-cloud-inline {
    --cookie-consent-width: 54em;
}

.consent-layout-bar,
.consent-layout-bar-inline {
    --cookie-consent-width: 100%;
    --cookie-consent-bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    border-radius: 0;
}

.cookie-consent-hide {
    --cookie-consent-bottom: -150%;
}

@media screen and (max-width: 640px) {
    .consent-layout-cloud,
    .consent-layout-cloud-inline {
        --cookie-consent-width: none !important;
        width: calc(100% - 40px) !important;
    }
}

.cookie-consent-content-container {
    --cc-content-container-width: 1200px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 20px;
    max-width: var(--cc-content-container-width);
    margin: auto;
}

.consent-layout-box .cookie-consent-content-container,
.consent-layout-box-inline .cookie-consent-content-container,
.consent-layout-box-wide .cookie-consent-content-container,
.consent-layout-bar .cookie-consent-content-container {
    flex-direction: column;
}

.cookie-consent-content {
    width: 100%;
}

.cookie-consent-content-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--cc-card-text-color);
    margin: 0;
    padding: 0 0 .35rem 0;
}

.cookie-consent-content-description {
    font-size: 14px;
    color: var(--cc-card-text-color);
    margin: 0;
    padding: 0;
    opacity: .8;
}

.cookie-consent-button-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.consent-layout-box .cookie-consent-button-container,
.consent-layout-box .cookie-consent-button-action,
.consent-layout-box-inline .cookie-consent-button-container,
.consent-layout-box-inline .cookie-consent-button-action,
.consent-layout-box-wide .cookie-consent-button-container,
.consent-layout-bar .cookie-consent-button-container {
    width: 100%;
}

.cookie-consent-button-action {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.consent-layout-box-inline .cookie-consent-button-action,
.consent-layout-box-wide .cookie-consent-button-action,
.consent-layout-bar .cookie-consent-button-action,
.consent-layout-bar-inline .cookie-consent-button-action {
    flex-direction: row;
}

.consent-layout-box-wide .cookie-consent-button-container,
.consent-layout-cloud-inline .cookie-consent-button-action,
.consent-layout-bar .cookie-consent-button-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-consent-button-container button {
    padding: .5rem 1.25rem;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(var(--cc-button-bg-color-rgb), var(--cc-button-bg-opacity, 1));
    color: var(--cc-button-text-color);
    min-width: max-content;
}

.cookie-consent-button-container button.preferences-btn {
    --cc-button-bg-color-rgb: 227, 232, 235;
    --cc-button-text-color: #000;
}

.cookie-consent-button-container button:hover {
    --cc-button-bg-opacity: 1;
}

.consent-layout-box-inline .cookie-consent-button-action button {
    width: 100%;
}

.cookie-consent-links-container {
    text-align: center;
    padding: .25rem 1.25rem;
    background: #ffffff;
    background: -webkit-linear-gradient(0deg, #ffffff 0%, #efefef 100%);
    background: linear-gradient(0deg, #ffffff 0%, #efefef 100%);
}

[theme="dark"] .cookie-consent-links-container {
    background: #1e1e1e;
    background: -webkit-linear-gradient(0deg, #1e1e1e 0%, #2a2a2a 100%);
    background: linear-gradient(0deg, #1e1e1e 0%, #2a2a2a 100%);
    color: #ffffff;
}

.cookie-consent-links-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: .5rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-consent-links-container ul li {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cookie-consent-links-container a {
    text-decoration: none;
    color: rgba(var(--cc-button-bg-color-rgb), var(--cc-button-bg-opacity, 1));
    font-size: 12px;
}

.cookie-consent-links-container a:hover {
    text-decoration: underline;
}

.cookie-consent-links-container ul {
    --cc-links-ul-width: calc(1200px - 40px);
    width: var(--cc-links-ul-width);
    justify-content: start;
}

@media (max-width: 575.98px) {

    .cookie-consent-button-container button,
    .consent-layout-box-wide .cookie-consent-button-action,
    .consent-layout-bar .cookie-consent-button-action,
    .cookie-consent-button-container button.preferences-btn {
        width: 100%;
    }
}

@media (min-width: 576px) {
    .cookie-consent-content-container {
        --cc-content-container-width: 480px;
    }

    .cookie-consent-links-container ul {
        --cc-links-ul-width: calc(480px - 40px);
        width: var(--cc-links-ul-width);
    }

    .consent-layout-box-inline .cookie-consent-button-container,
    .consent-layout-box .cookie-consent-button-container {
        flex-direction: column;
        justify-content: space-between;
    }

    .cookie-consent-button-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .consent-layout-cloud .cookie-consent-button-action {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .cookie-consent-content-container {
        --cc-content-container-width: 640px;
    }

    .consent-layout-box-inline .cookie-consent-button-container,
    .consent-layout-box .cookie-consent-button-container {
        flex-direction: column;
        justify-content: space-between;
    }

    .cookie-consent-links-container ul {
        --cc-links-ul-width: calc(640px - 40px);
        width: var(--cc-links-ul-width);
    }

    .consent-layout-cloud .cookie-consent-button-action {
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .cookie-consent-content-container {
        --cc-content-container-width: 860px;
    }

    .consent-layout-box-inline .cookie-consent-button-container,
    .consent-layout-box .cookie-consent-button-container {
        flex-direction: column;
        justify-content: space-between;
    }

    .cookie-consent-links-container ul {
        --cc-links-ul-width: calc(860px - 40px);
        width: var(--cc-links-ul-width);
    }

    .consent-layout-cloud .cookie-consent-button-action {
        flex-direction: row;
    }
}

@media (min-width: 1200px) {
    .cookie-consent-content-container {
        --cc-content-container-width: 1080px;
    }

    .consent-layout-box-inline .cookie-consent-button-container,
    .consent-layout-box .cookie-consent-button-container {
        flex-direction: column;
        justify-content: space-between;
    }

    .cookie-consent-links-container ul {
        --cc-links-ul-width: calc(1080px - 40px);
        width: var(--cc-links-ul-width);
    }

    .consent-layout-cloud .cookie-consent-button-action {
        flex-direction: row;
    }
}

@media (min-width: 1400px) {
    .cookie-consent-content-container {
        --cc-content-container-width: 1200px;
    }

    .consent-layout-box-inline .cookie-consent-button-container,
    .consent-layout-box .cookie-consent-button-container {
        flex-direction: column;
        justify-content: space-between;
    }

    .cookie-consent-links-container ul {
        --cc-links-ul-width: calc(1200px - 40px);
        width: var(--cc-links-ul-width);
    }

    .consent-layout-cloud .cookie-consent-button-action {
        flex-direction: row;
    }
}

/* ====================================== */
/* Modal CSS | Start */

/* Modal Base Styles */
.cookie-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--cc-modal-transition);
    pointer-events: none;
}

.cookie-preferences-modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookie-preferences-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: var(--cc-modal-transition);
}

.cookie-preferences-modal.is-visible .cookie-preferences-modal-overlay {
    opacity: 1;
}

.cookie-preferences-modal-content {
    position: relative;
    background-color: var(--cc-card-bg-color);
    border-radius: 12px;
    width: 90%;
    max-width: 43em;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(20px);
    transition: var(--cc-modal-transition);
    display: flex;
    flex-direction: column;
}

.cookie-preferences-modal.is-visible .cookie-preferences-modal-content {
    transform: translateY(0);
}

/* Modal Header */
.cookie-preferences-modal-header {
    padding: 1em 1.4em;
    border-bottom: 1px solid #6c6c6c1c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.cookie-preferences-modal-header h2 {
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    color: var(--cc-card-text-color);
}

.cookie-preferences-modal-close {
    background: var(--cc-button-text-color);
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--cc-card-text-color);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    width: 2rem;
    height: 2rem;
}

.cookie-preferences-modal-close:hover,
.cookie-preferences-modal-close:focus {
    color: var(--cc-card-text-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.cookie-preferences-modal-close svg {
    width: 1rem;
    height: 1rem;
}

/* Modal Body */
.cookie-preferences-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--cc-button-bg-color-rgb), var(--cc-button-bg-opacity, 1)) rgba(0, 0, 0, 0.1);
}

.cookie-preferences-modal p {
    margin: 0;
    font-size: .85rem;
    color: var(--cc-card-text-color);
    line-height: 1.5;
    font-weight: 400;
    opacity: .75;
}

.cookie-preferences-modal-body::-webkit-scrollbar {
    width: 6px;
}

.cookie-preferences-modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.cookie-preferences-modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(var(--cc-button-bg-color-rgb), var(--cc-button-bg-opacity, 1));
    border-radius: 3px;
}

.cookie-preferences-intro {
    padding: 0 0 20px 0;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-category {
    padding-bottom: 20px;
    border-bottom: 1px solid #6c6c6c1c;
}

.cookie-category:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cookie-category-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--cc-card-text-color);
}

/* Modal Footer */
.cookie-preferences-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #6c6c6c1c;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-preferences-modal-button-group {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.primary-button {
    background-color: rgba(var(--cc-button-bg-color-rgb), var(--cc-button-bg-opacity, 1));
    color: var(--cc-button-text-color);
    border: none;
    padding: .5rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.primary-button:hover,
.primary-button:focus {
    background-color: rgba(var(--cc-button-bg-color-rgb), var(--cc-button-bg-opacity, 1));
}

.secondary-button {
    background-color: rgba(var(--cc-button-bg-color-rgb), var(--cc-button-bg-opacity, 1));
    color: var(--cc-button-text-color);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.secondary-button:hover,
.secondary-button:focus {
    background-color: #e7e7e7;
}

/* Improved Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--cc-modal-transition);
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: var(--cc-modal-transition);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: rgba(var(--cc-button-bg-color-rgb), var(--cc-button-bg-opacity, 1));
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.cookie-toggle input:focus + .cookie-toggle-slider {
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .cookie-preferences-modal-content {
        width: 95%;
        max-height: 85vh;
    }

    .cookie-preferences-modal-footer {
        flex-direction: column;
    }

    .primary-button {
        width: 100%;
    }
}
/* Modal CSS | End */
/* ====================================== */