:root {
    /* Colors */
    --color-primary-full: #259dd5;
    --color-primary-light: #66bae2;
    --color-primary-gradient: linear-gradient(180deg, #259dd5 0%, #66bae2 100%);
    --color-secondary-full: #f3792a;
    --color-secondary-light: #eba97c;
    --color-secondary-gradient: linear-gradient(180deg, #f3792a 0%, #eba97c 100%);
    --color-black: #1e1e1e;
    --color-gray: #808080;
    --color-light-gray: #d9d9d9;
    --color-white: #ffffff;
    --color-white-gradient: linear-gradient(180deg, #ededed 0%, #ffffff 69.61%);

    --color-error-full: #ec1c24;
    --color-error-light: #f26065;
    --color-error-gradient: linear-gradient(180deg, #f26065 0%, #ec1c24 100%);

    --color-success-full: #3aa756;
    --color-success-light: #75c188;
    --color-success-gradient: linear-gradient(180deg, #75c188 0%, #3aa756 100%);

    --color-disabled-gradient: linear-gradient(180deg, #cccccc 0%, #979797 100%);

    --color-red-gradient: linear-gradient(180deg, #f26065 0%, #ec1c24 100%);
    --color-yellow-gradient: linear-gradient(180deg, #f1c40f 0%, #f39c12 100%);
    --color-green-gradient: linear-gradient(180deg, #2ecc71 0%, #27ae60 100%);

    /* Typography */
    --font-manrope: 'Manrope', sans-serif;
    --font-inter: 'Inter', sans-serif;

    /* Font Sizes */
    --font-size-title-xl: 36px;
    --font-size-title-large: 20px;
    --font-size-content: 16px;
    --font-size-secondary: 12px;

    /* Font Weights */
    --font-weight-bold: 700;
    --font-weight-semibold: 600;
    --font-weight-regular: 400;
    --font-weight-light: 300;

    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.4;
    --line-height-button: 1.365;

    /* Spacing */
    --spacing-wide-l: 192px;
    --spacing-wide-m: 64px;
    --spacing-wide-s: 56px;
    --spacing-standard-l: 48px;
    --spacing-standard-m: 40px;
    --spacing-standard-s: 32px;
    --spacing-narrow-l: 24px;
    --spacing-narrow-m: 16px;
    --spacing-narrow-s: 8px;
    --spacing-narrow-xs: 2px;

    /* Border Radius */
    --radius-standard: 16px;
    --radius-small: 8px;

    /* Shadows */
    --shadow-card: 0px 1px 6px 0px rgba(0,0,0,0.12), 0px 4px 20px 0px rgba(0,0,0,0.18);
    --shadow-inner: 0px 0px 6px 2px inset rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Slower scroll animation for auto-scroll */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: var(--font-inter);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: var(--line-height-normal);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-wide-l);
}

/* Header Styles */
.header {
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 96px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 96px;
    padding: 0 var(--spacing-wide-l);
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1440px;
}

.logo {
    height: 48px;
    width: 67px;
    flex-shrink: 0;
}

.logo a {
    display: block;
    height: 100%;
    width: 100%;
}

.logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.navigation-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
    min-width: 0;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-standard-m);
    width: 100%;
    padding: 0 var(--spacing-wide-l);
}

.nav-item {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-content);
    color: var(--color-primary-full);
    text-decoration: none;
    text-align: center;
    line-height: 1.365;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: var(--spacing-narrow-s) var(--spacing-narrow-l);
    border-radius: 40px;
}

.nav-item:hover {
    color: var(--color-secondary-full);
    background: none;
    font-size: var(--font-size-title-large);
    transform: none;
}
.nav-item.active {
    color: var(--color-white);
    background: var(--color-primary-gradient);
    font-size: var(--font-size-title-large);
    box-shadow: var(--shadow-card);
    padding: var(--spacing-narrow-s) var(--spacing-narrow-m);
    width: auto;
}
.user-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-narrow-s);
    flex-shrink: 0;
}

.login-button {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.login-button img {
    width: 100%;
    height: 100%;
}

/* Main Content */
.main-content {
    padding: var(--spacing-wide-m) 0;
}

.section {
    margin-bottom: var(--spacing-wide-m);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: var(--spacing-narrow-l) 0 var(--spacing-standard-s) 0;
    text-align: center;
    border-radius: var(--radius-standard);
    overflow: visible;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--color-white) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 80%, var(--color-white) 100%),
    linear-gradient(var(--color-white) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 80%, var(--color-white) 100%),
    url('../graphics/backround_abstract_illustraiton/bg.png');
    background-size: auto, auto, cover;
    background-position: center, center, center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.hero-title {
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-title-xl);
    color: var(--color-primary-full);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-narrow-l);
}

.hero-subtitle {
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-title-large);
    color: var(--color-black);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-narrow-l);
}

.portal {
    background: var(--color-white);
    border-radius: 40px;
    box-shadow: var(--shadow-card);
    padding: var(--spacing-narrow-m);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-narrow-l);
}

.portal-buttons {
    display: flex;
    gap: var(--spacing-narrow-l);
    margin-right: var(--spacing-narrow-l);
}
.portal-buttons:last-child{margin-right: 0;margin-left:var(--spacing-narrow-l); }

.portal-button {
    background: var(--color-primary-gradient);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    padding: var(--spacing-narrow-s) var(--spacing-narrow-l);
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-content);
    line-height: var(--line-height-button);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    width: auto;
    height: auto;
    box-shadow: none;
    transition: all 0.3s ease;
}

.portal-button:hover {
    background: var(--color-white);
    color: var(--color-primary-full);
    font-size: var(--font-size-title-large);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    gap: var(--spacing-narrow-l);
}

.social-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.social-icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.2));
}

.social-icon img {
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.social-icon .hover-icon {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
}

.social-icon:hover .default-icon {
    opacity: 0;
}

.social-icon:hover .hover-icon {
    opacity: 1;
}

/* Highlight Section */
.highlight-section {
    background: var(--color-white);
    border-radius: var(--radius-standard);
    padding: var(--spacing-standard-m) 0;
    margin-bottom: var(--spacing-standard-m);
}

.highlight-header {
    display: flex;
    gap: var(--spacing-narrow-l);
    margin-bottom: var(--spacing-narrow-m);
}

.highlight-tag {
    background: var(--color-secondary-light);
    border: 1px solid var(--color-secondary-full);
    border-radius: var(--radius-standard);
    padding: var(--spacing-narrow-s) var(--spacing-narrow-m);
    font-family: var(--font-inter);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-secondary);
    color: var(--color-white);
    box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.25);
    display: inline-block;
    width: auto;
    height: auto;
}

.highlight-tag.leadership {
    background: var(--color-primary-light);
    border-color: var(--color-primary-full);
}

.highlight-description {
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-title-xl);
    color: var(--color-primary-full);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-standard-m);
}

.cards-row {
    display: flex;
    gap: var(--spacing-narrow-l);
    margin-bottom: var(--spacing-narrow-l);
}

.card {
    flex: 1;
    background: var(--color-primary-gradient);
    border-radius: var(--radius-standard);
    padding: var(--spacing-narrow-l);
    box-shadow: var(--shadow-card);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-narrow-l);
}

/* Specific card layouts */
.card.featured-article {
    justify-content: center;
}

.card.featured-research {
    justify-content: space-between;
}

.card.leadership {
    justify-content: center;
}

.card.newsletter {
    justify-content: flex-start;
    align-items: center;
}

.card.newsletter .card-content-section {
    text-align: center;
}

.card.consultation {
    justify-content: space-between;
    align-items: center;
}

.card.consultation .card-content-section {
    text-align: center;
}

.card-content-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-narrow-m);
    width: 100%;
}

.card-button-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-narrow-m);
    align-items: center;
    width: 100%;
}

.card-text-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-narrow-l);
    width: 100%;
}

.video-content .card-button-section {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: var(--spacing-narrow-s);
}

.card-tag {
    background: var(--color-secondary-light);
    border: 1px solid var(--color-secondary-full);
    border-radius: var(--radius-standard);
    padding: var(--spacing-narrow-s) var(--spacing-narrow-m);
    font-family: var(--font-inter);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-secondary);
    color: var(--color-white);
    box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.25);
    align-self: flex-start;
    display: inline-block;
    width: auto;
    height: auto;
    white-space: nowrap;
}

.card-title {
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-title-large);
    line-height: var(--line-height-tight);
}

.card-content {
    font-family: var(--font-inter);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-content);
    line-height: var(--line-height-normal);
}

.card-button {
    background: var(--color-white-gradient);
    color: var(--color-primary-full);
    border: none;
    border-radius: 50px;
    padding: var(--spacing-narrow-s) var(--spacing-narrow-l);
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-content);
    line-height: var(--line-height-button);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: auto;
    height: auto;
    box-shadow: none;
    transition: all 0.3s ease;
}

.card-button:hover {
    background: var(--color-white-gradient);
    color: var(--color-primary-full);
    font-size: var(--font-size-title-large);
    box-shadow: var(--shadow-card);
    transform: scale(1.05);
}

.card-note {
    font-family: var(--font-inter);
    font-weight: var(--font-weight-light);
    font-size: var(--font-size-secondary);
    text-align: center;
    letter-spacing: 0.24px;
    line-height: var(--line-height-normal);
}

.section-title {
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-title-large);
    color: var(--color-primary-full);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-narrow-l);
}

/* YouTube Video Section */
.youtube-section .cards-row {
    margin-bottom: var(--spacing-narrow-l);
}

.video-card {
    flex: 1;
    background: var(--color-primary-gradient);
    border-radius: var(--radius-standard);
    padding: var(--spacing-narrow-l);
    box-shadow: var(--shadow-card);
    color: var(--color-white);
    display: flex;
    gap: var(--spacing-narrow-l);
    align-items: center;
}

.video-preview {
    width: 380px;
    height: 214px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 100%);
    background-image: url('../graphics/placeholders/yt_preview2.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-standard);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.play-button {
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid var(--color-primary-full);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
}

.video-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-standard);
    box-shadow: var(--shadow-inner);
    pointer-events: none;
}

.video-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 214px;
}

.video-content-top {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-narrow-m);
    width: 100%;
}

.video-content-top .card-content-section {
    gap: var(--spacing-narrow-s);
}

/* Master Keys Section */
.master-keys-section {
    background: linear-gradient(90deg, var(--color-white) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 80%, var(--color-white) 100%),
    linear-gradient(var(--color-white) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 80%, var(--color-white) 100%);
    padding: var(--spacing-standard-s) var(--spacing-narrow-l);
    text-align: center;
    margin-bottom: var(--spacing-wide-m);
}

.master-keys-intro {
    margin-bottom: var(--spacing-standard-l);
}

.master-keys-subtitle {
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-title-large);
    color: var(--color-black);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-narrow-l);
}

.master-keys-title {
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-title-xl);
    color: var(--color-primary-full);
    line-height: var(--line-height-normal);
}

.concept-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-standard-s);
}

.concept-row {
    display: flex;
    gap: var(--spacing-standard-s);
    justify-content: center;
}

.concept-card {
    flex: 1;
    max-width: 400px;
    background: var(--color-white);
    border-radius: var(--radius-standard);
    padding: var(--spacing-narrow-l);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-standard-s);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.concept-card:hover {
    background: var(--color-primary-gradient);
    transform: scale(1.05);
}

.concept-card:hover .concept-title {
    color: var(--color-white);
}

.concept-card:hover .concept-description {
    color: var(--color-white);
}

.concept-card:hover .concept-icon img {
    filter: brightness(0) invert(1);
}

.concept-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.concept-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.concept-title {
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-title-large);
    color: var(--color-primary-full);
    line-height: var(--line-height-tight);
    transition: color 0.3s ease;
}

.concept-description {
    font-family: var(--font-inter);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-content);
    color: var(--color-black);
    line-height: var(--line-height-normal);
    transition: color 0.3s ease;
}

/* Quote Section */
.quote-section {
    text-align: center;
    margin-bottom: var(--spacing-wide-m);
    padding: var(--spacing-standard-s) 0;
}

.quote-intro {
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-title-large);
    color: var(--color-primary-full);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-narrow-m);
}

.divider {
    width: 278px;
    height: 1px;
    background: var(--color-light-gray);
    margin: 0 auto var(--spacing-narrow-l);
}

.quote-mark {
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-bold);
    font-size: 96px;
    color: var(--color-primary-full);
    line-height: var(--line-height-normal);
    height: 29px;
    margin-bottom: var(--spacing-narrow-l);
}

.quote-author {
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-title-large);
    color: var(--color-primary-full);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-narrow-l);
}

.author-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image img {
    width: 104px;
    height: 127px;
    object-fit: cover;
}

/* Footer */
.footer {
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    padding: var(--spacing-narrow-l) 0;
    height: 129px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: var(--spacing-narrow-l);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-wide-l) + var(--spacing-narrow-l));
    position: relative;
}

.footer-nav {
    display: flex;
    gap: var(--spacing-narrow-l);
    position: absolute;
    left: var(--spacing-narrow-l);
}

.footer-logo {
    height: 48px;
    width: 193px;
    margin: 0 auto;
}

.footer-social {
    position: absolute;
    right: var(--spacing-narrow-l);
}

.footer-logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.footer-social {
    display: flex;
    gap: var(--spacing-narrow-l);
    max-width: 600px;
}

.footer-social .social-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.footer-social .social-icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.2));
}

.footer-social .social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.footer-social .social-icon .hover-icon {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-social .social-icon:hover .default-icon {
    opacity: 0;
}

.footer-social .social-icon:hover .hover-icon {
    opacity: 1;
}

.copyright {
    font-family: var(--font-inter);
    font-weight: var(--font-weight-light);
    font-size: var(--font-size-secondary);
    color: var(--color-gray);
    text-align: center;
    letter-spacing: 0.24px;
    line-height: var(--line-height-normal);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-primary-full);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--color-primary-full);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 96px;
    right: -300px;
    width: 300px;
    height: calc(100vh - 96px);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    padding: var(--spacing-narrow-l);
    z-index: 99;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-narrow-l);
}

.mobile-nav .nav-item {
    width: 100%;
    text-align: left;
    padding: var(--spacing-narrow-s) 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.mobile-nav .nav-item:last-child {
    border-bottom: none;
}

.mobile-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-narrow-s);
    padding: var(--spacing-narrow-s) 0;
    border-bottom: 1px solid var(--color-light-gray);
    margin-bottom: var(--spacing-narrow-l);
    cursor: pointer;
    position: relative;
    text-align: center;
    color: var(--color-primary-full);
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-content);
}

.mobile-login img {
    width: 24px;
    height: 24px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 96px;
    left: 0;
    width: 100%;
    height: calc(100vh - 96px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Integrated Date and Time - Part of Subheading */
.hero-datetime-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #808080;
    margin: 0 auto;
    max-width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.datetime-label {
    font-weight: 600;
    color: #259dd5;
}

.datetime-value {
    font-weight: 600;
    color: #1e1e1e;
}

.datetime-separator {
    color: #d9d9d9;
    font-weight: 600;
    margin: 0 2px;
}

.status-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    color: #808080;
}

.status-dot {
    width: 6px;
    height: 6px;
    background:  #259dd5;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* RESPONSIVE BREAKPOINTS */

/* Widescreen (1441px+) - Keep existing layout */
@media (min-width: 1441px) {
    .container {
        max-width: 1600px;
        padding: 0 var(--spacing-wide-l);
    }
}

/* Laptop (1025px - 1440px) - Minor adjustments */
@media (max-width: 1440px) and (min-width: 1025px) {
    .container {
        padding: 0 var(--spacing-wide-m);
    }

    .header-content {
        padding: 0 var(--spacing-wide-m);
    }

    .video-preview {
        width: 280px;
        height: 158px;
    }

    .video-content {
        height: 158px;
    }
}

/* Tablet (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 var(--spacing-standard-m);
    }

    .header-content {
        padding: 0 var(--spacing-standard-m);
        position: relative;
        justify-content: flex-start;
    }

    .navigation-container {
        display: none;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .user-actions {
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .login-button {
        display: none;
    }

    .mobile-menu {
        top: 96px;
    }

    .mobile-menu-overlay {
        top: 96px;
        height: calc(100vh - 96px);
    }

    .portal-button {
        padding: var(--spacing-narrow-s) var(--spacing-narrow-l) !important;
        border-radius: 50px !important;
        width: auto !important;
        text-align: center;
    }

    .card-button {
        padding: var(--spacing-narrow-s) var(--spacing-narrow-l) !important;
        border-radius: 50px !important;
        width: auto !important;
        text-align: center;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .portal {
        flex-direction: column;
        gap: var(--spacing-narrow-l);
        padding: var(--spacing-narrow-l);
    }

    .portal-buttons {
        flex-wrap: wrap;
        justify-content: center;
        margin-right:0;
    }
    .portal-buttons:last-child {margin-left:0;}

    .cards-row {
        flex-direction: column;
        gap: var(--spacing-narrow-l);
    }

    .video-card {
        flex-direction: column;
        align-items: stretch;
    }

    .video-preview {
        width: 100%;
        height: 200px;
    }

    .video-content {
        height: auto;
        padding-top: var(--spacing-narrow-l);
    }

    .concept-row {
        flex-direction: column;
        gap: var(--spacing-narrow-l);
    }

    .concept-card {
        max-width: 100%;
    }

    /* Tablet Footer Layout */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-narrow-l);
        text-align: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        padding: 0 var(--spacing-standard-m);
    }

    .footer {
        height: auto;
        padding: var(--spacing-narrow-l) 0;
        width: 100%;
        overflow: hidden;
    }

    .footer-nav {
        flex-direction: row;
        gap: var(--spacing-narrow-l);
        justify-content: center;
        order: 2;
        position: static;
        left: auto;
    }

    .footer-logo {
        order: 1;
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
        order: 3;
        flex-wrap: wrap;
        position: static;
        right: auto;
    }

    .copyright {
        order: 4;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
    }
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
    .hero-datetime-text {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        font-size: 13px;
    }

    .datetime-separator {
        display: none;
    }
    .container {
        padding: 0 var(--spacing-narrow-l);
    }
    .portal-buttons {
        margin-right:0;
    }
    .portal-buttons:last-child {margin-left:0;}
    .header {
        height: 80px;
    }

    .header-content {
        height: 80px;
        padding: 0 var(--spacing-narrow-l);
        position: relative;
        justify-content: flex-start;
    }

    .navigation-container {
        display: none;
    }

    .logo {
        height: 36px;
        width: 50px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .user-actions {
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .login-button {
        display: none;
    }

    .mobile-menu {
        top: 80px;
        height: calc(100vh - 80px);
    }

    .mobile-menu-overlay {
        top: 80px;
        height: calc(100vh - 80px);
    }

    .main-content {
        padding: var(--spacing-standard-m) 0;
    }

    .section {
        margin-bottom: var(--spacing-standard-m);
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: var(--spacing-narrow-m);
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: var(--spacing-narrow-m);
    }

    .portal {
        flex-direction: column;
        gap: var(--spacing-narrow-l);
        padding: var(--spacing-narrow-m);
        border-radius: 24px;
    }

    .portal-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-narrow-m);
    }

    .portal-button {
        width: 100%;
        text-align: center;
        padding: var(--spacing-narrow-m) var(--spacing-narrow-l);
        border-radius: 24px;
    }

    .social-icons {
        justify-content: center;
        gap: var(--spacing-narrow-m);
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    .highlight-header {
        flex-wrap: wrap;
        gap: var(--spacing-narrow-s);
    }

    .highlight-description {
        font-size: 24px;
        margin-bottom: var(--spacing-narrow-l);
    }

    .cards-row {
        flex-direction: column;
        gap: var(--spacing-narrow-l);
    }

    .card {
        padding: var(--spacing-narrow-l);
    }

    .card-title {
        font-size: 18px;
    }

    .card-button {
        padding: var(--spacing-narrow-m) var(--spacing-narrow-l);
        border-radius: 24px;
        width: 100%;
        text-align: center;
    }

    .video-card {
        flex-direction: column;
        padding: var(--spacing-narrow-l);
    }

    .video-preview {
        width: 100%;
        height: 180px;
        margin-bottom: var(--spacing-narrow-l);
    }

    .video-content {
        height: auto;
    }

    .video-content-top {
        margin-bottom: var(--spacing-narrow-l);
    }

    .master-keys-section {
        padding: var(--spacing-narrow-l);
    }

    .master-keys-title {
        font-size: 28px;
    }

    .master-keys-subtitle {
        font-size: 18px;
    }

    .concept-cards {
        gap: var(--spacing-narrow-l);
    }

    .concept-row {
        flex-direction: column;
        gap: var(--spacing-narrow-l);
    }

    .concept-card {
        max-width: 100%;
        padding: var(--spacing-narrow-l);
    }

    .concept-title {
        font-size: 18px;
    }

    .quote-section {
        padding: var(--spacing-narrow-l) 0;
    }

    .quote-intro {
        font-size: 18px;
    }

    .quote-mark {
        font-size: 64px;
    }

    .quote-author {
        font-size: 18px;
    }

    .author-image {
        width: 80px;
        height: 80px;
    }

    .author-image img {
        width: 84px;
        height: 103px;
    }

    .footer {
        height: auto;
        padding: var(--spacing-narrow-l) 0;
        width: 100%;
        overflow: hidden;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-narrow-l);
        text-align: center;
        padding: 0 var(--spacing-narrow-l);
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
    }

    .footer-nav {
        flex-direction: row;
        gap: var(--spacing-narrow-l);
        justify-content: center;
        order: 2;
        position: static;
        left: auto;
    }

    .footer-logo {
        height: 36px;
        width: 145px;
        margin: 0 auto;
        order: 1;
    }

    .footer-social {
        justify-content: center;
        gap: var(--spacing-narrow-l);
        max-width: 100%;
        order: 3;
        flex-wrap: wrap;
        position: static;
        right: auto;
    }

    .footer-social .social-icon {
        width: 20px;
        height: 20px;
    }

    .copyright {
        order: 4;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-narrow-m);
    }

    .hero-title {
        font-size: 20px;
    }

    .portal-buttons {
        gap: var(--spacing-narrow-s);
    }

    .portal-button {
        padding: var(--spacing-narrow-s) var(--spacing-narrow-m);
        font-size: 14px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-content {
        font-size: 14px;
    }

    .master-keys-title {
        font-size: 24px;
    }

    .concept-title {
        font-size: 16px;
    }

    .concept-description {
        font-size: 14px;
    }
}

.mytable {width: 100%;border-collapse: collapse}
.mytable td{border:1px solid rgba(51, 51, 51, 0.1);padding: 3px 3px;text-align: center}
.mytable .mybtn{background: var(--color-primary-gradient);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    padding: var(--spacing-narrow-s) var(--spacing-narrow-l);
    font-family: var(--font-manrope);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-content);
    line-height: var(--line-height-button);
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    white-space: nowrap;
    box-shadow: none;
    text-decoration: none;}
.mytable .mybtn:hover{background: var(--color-white);
    color: var(--color-primary-full);
    transform: translateY(-1px);
    box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.15), 0px 6px 24px 0px rgba(0,0,0,0.22);}
.mytable_wrapper .left{display: none}
.mytable_wrapper .right{display: none}





.user-actions { position: relative; }
/* Apply standard icon drop-shadow to logged-in profile icon */
#userProfileButton img { filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.2)); }
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-white);
    border-radius: var(--radius-standard);
    box-shadow: var(--shadow-card);
    padding: var(--spacing-narrow-l);
    min-width: 150px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.user-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-narrow-s) 0;
    font-family: var(--font-manrope, Manrope, sans-serif);
    font-weight: 600;
    font-size: var(--font-size-content, 16px);
    color: var(--color-primary-full, #259dd5);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: var(--spacing-narrow-s);
    margin-bottom: var(--spacing-narrow-s);
}
.user-dropdown-item:last-child { margin-bottom: 0; }
.user-dropdown-item:hover { background: var(--color-primary-light, #66bae2); color: var(--color-white, #fff); }
.user-dropdown-item.logout { color: var(--color-secondary-full, #f3792a); }
.user-dropdown-item.logout:hover { background: var(--color-secondary-light, #eba97c); color: var(--color-white, #fff); }

/* Mobile account submenu */
/* Mobile account submenu (animated) */
#mobileAccountMenu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-narrow-s);
    margin: var(--spacing-narrow-l) 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
#mobileAccountMenu.active {
    max-height: 320px; /* enough to show all items */
    opacity: 1;
    pointer-events: auto;
}
.mobile-account-item {
    display: block;
    padding: var(--spacing-narrow-s) 0;
    color: var(--color-primary-full, #259dd5);
    font-family: var(--font-manrope, Manrope, sans-serif);
    font-weight: 600;
    font-size: var(--font-size-content, 16px);
    text-decoration: none;
}
.mobile-account-item.logout { color: var(--color-secondary-full, #f3792a); }

.drop{display: none;position: absolute;top: calc(100% + 8px);
    left: 0;
    background: var(--color-white);
    border-radius: var(--radius-standard);
    box-shadow: var(--shadow-card);
    padding: var(--spacing-narrow-l);
    min-width: 180px;
    z-index: 1000;}
.drop.active{display: block}

.drop_wrapper{position: relative}