/* CSS Variables based on Brand Guidelines */
:root {
    /* Base Grid Unit */
    --base-grid-unit-mobile: 4pt;
    --base-grid-unit-tablet: 8pt;
    --base-grid-unit-desktop: 12pt;

    /* Container Padding */
    --container-padding-mobile: 16pt;
    --container-padding-desktop: 24pt;

    /* Card & Section Spacing */
    --card-section-spacing-mobile: 8pt;
    --card-section-spacing-desktop: 16pt;

    /* Button Spacing */
    --button-height: 48pt;
    --button-min-tappable-area: 44pt;
    --button-spacing: 8pt;
    --button-padding-horizontal: 16pt;
    --button-padding-vertical: 12pt;

    /* Typography - Mobile */
    --font-size-title-mobile: 28px;
    /* h1 */
    --font-size-subheading-mobile: 24px;
    /* h2 */
    --font-size-subtitle3-mobile: 20px;
    /* h3 */
    --font-size-subtitle4-mobile: 16px;
    /* h4 */
    --font-size-normal: 14px;
    /* Universal normal text size */
    --font-size-small-mobile: 8px;
    /* small */
    --font-size-cta-mobile: 14px;
    /* cta */

    /* Typography - Desktop */
    --font-size-title-desktop: 36px;
    /* h1 */
    --font-size-subheading-desktop: 28px;
    /* h2 */
    --font-size-subtitle3-desktop: 24px;
    /* h3 */
    --font-size-subtitle4-desktop: 20px;
    /* h4 */
    --font-size-small-desktop: 10px;
    /* small */
    --font-size-cta-desktop: 14px;
    /* cta */
}

.theme-0-dark {
    /* Color Variables - Dark Mode (default) */
    --bg-color: #2F0A61;
    --bg-color-tba: #2a134b;
    --text-color: #F7EFFF;
    --card-bg: #38116b;
    --card-border: #FCFCFC;
    --button-bg: #6C3BAA;
    --button-text-color: #FCFCFC;
    --button-hover-color: #38116b;
    --button-border: #F7EFFF;
    --link-color: #FCFCFC;
    --link-hover-color: #FCFCFC;
    --card-border: #F7EFFF;
    --shadow-color: rgba(206, 184, 227, 0.1);
    --border-color: #F7EFFF;
    --background-color-highlight: rgba(47, 10, 97, 0.5);
    /* 50% */
    --color-surface-raised: #6C3BAA;
    --hl-bg-link: #38116b;

    --color-accent-1: #6C3BAA;
    --color-accent-2: #A379D9;
    --color-accent-3: #f0e2ff;
    --main-card-border: #F7EFFF;
    --main--card-border: #F7EFFF;


    --icon-colors-version-one: #EFFFEF;
    --icon-colors-version-two: #EFFFEF;

    --faq-icon-color: #A379D9;

    --iframebgcolor: #f2e5ff;

    --hl-color-sectionid: #6C3BAA;

    --color-primary: #fefefe;
    --color-secondary: #0f3460;
    --color-accent-1: #6C3BAA;
    --color-accent-2: #A379D9;
    --color-text-light: #fefefe;
    --color-text-dark: #5411AB;
    --color-bg-1: #2F0A61;
    /* -------------------------------
     Blog 1 — Science, Ethics, Morality, Philosophy
     ------------------------------- */
    --text-highlight-people-blog-1: #175443;
    /* Softer green for dark bg */
    --text-highlight-concepts-blog-1: #064A75;
    /* Light blue */
    --text-highlight-arguments-blog-1: #574200;
    /* Warm yellow */
    --text-highlight-dates-blog-1: #7f2f4e;
    /* Soft purple */
    --text-highlight-dilemmas-blog-1: #940000;
    /* Bright red */
    --text-highlight-uncertainty-blog-1: #424242;
    /* Light gray */

    /* -------------------------------
     Blog 2 — Sexual Themes, Health, Paraphilias, Cases
     ------------------------------- */
    --text-highlight-affection-blog-2: #75003B;
    /* Lively pink */
    --text-highlight-risk-blog-2: #703c00;
    /* Strong red */
    --text-highlight-medical-blog-2: #1B3E55;
    /* Soft blue */
    --text-highlight-health-blog-2: #0B4B0B;
    /* Fresh green */
    --text-highlight-bdsm-blog-2: #611D72;
    /* Vivid purple */
    --text-highlight-myths-blog-2: #454545;
    /* Lighter gray */
    --text-highlight-cases-blog-2: #574200;
    /* Bright orange */

    /* -------------------------------
     Teckie | Blog 3 — Tech, UX, Developer Perspective
     ------------------------------- */
    --text-highlight-tools-blog-3: #064A75;
    /* Soft blue */
    --text-highlight-people-blog-3: #175443;
    /* Light green */
    --text-highlight-bestpractices-blog-3: #703c00;
    /* Soft yellow */
    --text-highlight-innovation-blog-3: #574200;
    /* Orange pop */
    --text-highlight-limitations-blog-3: #424242;
    /* Light gray */
    --text-highlight-philosophy-blog-3: #5e265e;
    /* Pastel purple */

    /* -------------------------------
     Blog 4 — Music, Art, Hobbies
     ------------------------------- */
    --text-highlight-passion-blog-4: #940000;
    /* Strong red */
    --text-highlight-calm-blog-4: #1B3E55;
    /* Calm blue */
    --text-highlight-artists-blog-4: #0B4B0B;
    /* Soft green */
    --text-highlight-creativity-blog-4: #611D72;
    /* Vivid purple */
    --text-highlight-joy-blog-4: #344646;
    /* Soft yellow */
    --text-highlight-achievements-blog-4: #574200;
    /* Bright orange */
    --text-highlight-nostalgia-blog-4: #850042;
    /* Warm pink */
}

/* Color Variables - Light Mode */
.theme-0-light {
    --bg-color: #F7EFFF;
    --bg-color-tba: #e0d5eb;
    --text-color: #2F0A61;
    --card-bg: #f2e5ff;
    --card-border: #2F0A61;
    --button-bg: #6C3BAA;
    --button-text-color: #FCFCFC;
    --button-hover-color: #2F0A61;
    --button-border: #2F0A61;
    --link-color: #38116b;
    --link-hover-color: #5c00b3;
    --card-border: #6C3BAA;
    --shadow-color: rgba(13, 0, 25, 0.1);
    --border-color: #2F0A61;
    --background-color-highlight: rgba(247, 239, 255, 0.5);
    /* 50% */
    --color-surface-raised: #6C3BAA;
    --hl-bg-link: #6C3BAA;

    --main--card-border: #2F0A61;
    --main-card-border: #2F0A61;
    --map-p-bg: #2a134b;
    --map-line: #856fa1;

    --icon-colors-version-one: #2F0A61;
    --icon-colors-version-two: #EFFFEF;

    --hl-color-sectionid: #6C3BAA;

    --iframebgcolor: #f2e5ff;


    --faq-icon-color: #FCFCFC;


    --color-primary: #fefefe;
    /* Deep purple/blue */
    --color-secondary: #0f3460;
    --color-accent-1: #6C3BAA;
    --color-accent-2: #A379D9;
    --color-text-light: #fefefe;
    --color-text-dark: #5411AB;
    --color-bg-1: #2F0A61;
    /* -------------------------------
     Blog 1 — Science, Ethics, Morality, Philosophy
     ------------------------------- */
    --text-highlight-people-blog-1: #90DFB2;
    /* Green → philosophers, scientists */
    --text-highlight-concepts-blog-1: #85C2FF;
    /* Blue → abstract concepts */
    --text-highlight-arguments-blog-1: #FFE657;
    /* Yellow → key principles */
    --text-highlight-dates-blog-1: #DDD3F3;
    /* Purple → historical context */
    --text-highlight-dilemmas-blog-1: #F8A5B4;
    /* Red → ethical dilemmas */
    --text-highlight-uncertainty-blog-1: #D4D4D4;
    /* Gray → paradoxes, questions */

    /* -------------------------------
     Blog 2 — Sexual Themes, Health, Paraphilias, Cases
     ------------------------------- */
    --text-highlight-affection-blog-2: #FFA3D1;
    /* Pink → intimacy */
    --text-highlight-risk-blog-2: #F3B9B9;
    /* Red → taboo, warnings */
    --text-highlight-medical-blog-2: #AEC9E0;
    /* Blue → medical/legal refs */
    --text-highlight-health-blog-2: #90DFB2;
    /* Green → safe practices */
    --text-highlight-bdsm-blog-2: #D0A9F4;
    /* Purple → intensity, BDSM */
    --text-highlight-myths-blog-2: #D4D4D4;
    /* Gray → stigma, critique */
    --text-highlight-cases-blog-2: #FFE657;
    /* Orange → true cases */

    /* -------------------------------
     Blog 3 — Tech, UX, Developer Perspective
     ------------------------------- */
    --text-highlight-tools-blog-3: #85C2FF;
    /* Blue → frameworks, tools */
    --text-highlight-people-blog-3: #90DFB2;
    /* Green → devs, mentors */
    --text-highlight-bestpractices-blog-3: #FFE657;
    /* Yellow → tips, principles */
    --text-highlight-innovation-blog-3: #FFC37A;
    /* Orange → breakthroughs */
    --text-highlight-limitations-blog-3: #D4D4D4;
    /* Gray → bugs, tradeoffs */
    --text-highlight-philosophy-blog-3: #D0A9F4;
    /* Purple → design thinking */

    /* -------------------------------
     Blog 4 — Music, Art, Hobbies
     ------------------------------- */
    --text-highlight-passion-blog-4: #F8ABBA;
    /* Red → intensity, emotion */
    --text-highlight-calm-blog-4: #AEC9E0;
    /* Blue → reflective moods */
    --text-highlight-artists-blog-4: #90DFB2;
    /* Green → communities */
    --text-highlight-creativity-blog-4: #D0A9F4;
    /* Purple → imagination */
    --text-highlight-joy-blog-4: #FFE657;
    /* Yellow → vibrancy */
    --text-highlight-achievements-blog-4: #FFC37A;
    /* Orange → milestones */
    --text-highlight-nostalgia-blog-4: #b9f6f8;
    /* Pink → sentimental */
}

.theme-1-dark {
    /* Color Variables - Dark Mode (default) */
    --bg-color: #021502;
    --bg-color-tba: #020F02;
    --text-color: #EFFFEF;
    --card-bg: #041f04;
    --card-border: #EFFFEF;
    --button-bg: #3BAA78;
    --button-text-color: #000000;
    --button-hover-color: #49ac7f;
    --button-border: #EFFFEF;
    --link-color: #77CFA8;
    --link-hover-color: #EFFFEF;
    --shadow-color: rgba(206, 184, 227, 0.1);
    --border-color: #EFFFEF;
    --background-color-highlight: rgba(12, 36, 2, 0.6);
    /* 50% */
    --color-surface-raised: #021502;

    --hl-bg-link: #EFFFEF;

    --main-card-border: #EFFFEF;
    --main--card-border: #EFFFEF;
    --link-hover-color-active: #021502;
    --button-text-hover-active: #021502;

    --icon-colors-version-one: #EFFFEF;
    --icon-colors-version-two: #EFFFEF;
    --map-p-bg: #021502;

    --hl-color-sectionid: #3BAA78;

    --faq-icon-color: #EFFFEF;

    --iframebgcolor: #e1fdec;

    --color-primary: #e1fdec;
    --color-secondary: #0f3460;
    --color-accent-1: #49ac7f;
    --color-accent-2: #EFFFEF;
    --color-text-light: #fefefe;
    --color-text-dark: #49ac7f;
    --color-bg-1: #2F0A61;

    /* -------------------------------
     Blog 1 — Science, Ethics, Morality, Philosophy
     ------------------------------- */
    --text-highlight-people-blog-1: #11503b;
    /* Softer green for dark bg */
    --text-highlight-concepts-blog-1: #064A74;
    /* Light blue */
    --text-highlight-arguments-blog-1: #574500;
    /* Warm yellow */
    --text-highlight-dates-blog-1: #512f8d;
    /* Soft purple */
    --text-highlight-dilemmas-blog-1: #850000;
    /* Bright red */
    --text-highlight-uncertainty-blog-1: #3b0b5c;
    /* Light gray */

    /* -------------------------------
     Blog 2 — Sexual Themes, Health, Paraphilias, Cases
     ------------------------------- */
    --text-highlight-affection-blog-2: #8F0047;
    /* Lively pink */
    --text-highlight-risk-blog-2: #990000;
    /* Strong red */
    --text-highlight-medical-blog-2: #064A74;
    /* Soft blue */
    --text-highlight-health-blog-2: #11503b;
    /* Fresh green */
    --text-highlight-bdsm-blog-2: #512f8d;
    /* Vivid purple */
    --text-highlight-myths-blog-2: #574500;
    /* Lighter gray */
    --text-highlight-cases-blog-2: #64264FED;
    /* Bright orange */

    /* -------------------------------
     Teckie | Blog 3 — Tech, UX, Developer Perspective
     ------------------------------- */
    --text-highlight-tools-blog-3: #064A74;
    /* Soft blue */
    --text-highlight-people-blog-3: #11503b;
    /* Light green */
    --text-highlight-bestpractices-blog-3: #574500;
    /* Soft yellow */
    --text-highlight-innovation-blog-3: #086600;
    /* Orange pop */
    --text-highlight-limitations-blog-3: #474747;
    /* Light gray */
    --text-highlight-philosophy-blog-3: #5B345B;
    /* Pastel purple */

    /* -------------------------------
     Blog 4 — Music, Art, Hobbies
     ------------------------------- */
    --text-highlight-passion-blog-4: #6B0000;
    /* Strong red */
    --text-highlight-calm-blog-4: #064A74;
    /* Calm blue */
    --text-highlight-artists-blog-4: #11503b;
    /* Soft green */
    --text-highlight-creativity-blog-4: #512f8d;
    /* Vivid purple */
    --text-highlight-joy-blog-4: #574500;
    /* Soft yellow */
    --text-highlight-achievements-blog-4: #474747;
    /* Bright orange */
    --text-highlight-nostalgia-blog-4: #5B345B;
    /* Warm pink */
}

/* Color Variables - Light Mode */
.theme-1-light {

    --bg-color: #EFFFEF;
    --bg-color-tba: #d5ebe1;
    --text-color: #021502;
    --card-bg: #e1fdec;
    --card-border: #1b1f1b;
    --button-bg: #3BAA78;
    --button-text-color: #000000;
    --button-hover-color: #34aa75;
    --button-border: #020F02;
    --link-color: #184933;
    --link-hover-color: #34aa75;
    --link-hover-color-active: #082407;
    --button-text-hover-active: #06250e;

    --hl-bg-link: #EFFFEF;

    --shadow-color: rgba(4, 51, 12, 0.377);
    --border-color: #021502;
    --background-color-highlight: rgba(239, 255, 242, 0.6);
    /* 50% */
    --color-surface-raised: #EFFFEF;

    --main-card-border: #021502;
    --main--card-border: #021502;
    --link-hover-color-active: #021502;
    --button-text-hover-active: #021502;

    --icon-colors-version-one: #0D2D33;
    --icon-colors-version-two: #EFFFEF;
    --map-p-bg: #021502;

    --hl-color-sectionid: #3BAA78;

    --faq-icon-color: #EFFFEF;

    --iframebgcolor: #e1fdec;

    --color-primary: #e1fdec;
    --color-secondary: #0f3460;
    --color-accent-1: #49ac7f;
    --color-accent-2: #0D2D33;
    --color-text-light: #fefefe;
    --color-text-dark: #49ac7f;
    /* -------------------------------
     Blog 1 — Science, Ethics, Morality, Philosophy
     ------------------------------- */
    --text-highlight-people-blog-1: #79D2A0;
    /* Green → philosophers, scientists */
    --text-highlight-concepts-blog-1: #70B8FF;
    /* Blue → abstract concepts */
    --text-highlight-arguments-blog-1: #FFE96B;
    /* Yellow → key principles */
    --text-highlight-dates-blog-1: #C2AEEA;
    /* Purple → historical context */
    --text-highlight-dilemmas-blog-1: #DEDEDE;
    /* Red → ethical dilemmas */
    --text-highlight-uncertainty-blog-1: #f892b9;
    /* Gray → paradoxes, questions */

    /* -------------------------------
     Blog 2 — Sexual Themes, Health, Paraphilias, Cases
     ------------------------------- */
    --text-highlight-affection-blog-2: #FFA3D1;
    /* Pink → intimacy */
    --text-highlight-risk-blog-2: #E99090;
    /* Red → taboo, warnings */
    --text-highlight-medical-blog-2: #B3CEDF;
    /* Blue → medical/legal refs */
    --text-highlight-health-blog-2: #9FDFBB;
    /* Green → safe practices */
    --text-highlight-bdsm-blog-2: #D7B7F6;
    /* Purple → intensity, BDSM */
    --text-highlight-myths-blog-2: #DEDEDE;
    /* Gray → stigma, critique */
    --text-highlight-cases-blog-2: #FFBF70;
    /* Orange → true cases */

    /* -------------------------------
     Blog 3 — Tech, UX, Developer Perspective
     ------------------------------- */
    --text-highlight-tools-blog-3: #A3D1FF;
    /* Blue → frameworks, tools */
    --text-highlight-people-blog-3: #9FDFBB;
    /* Green → devs, mentors */
    --text-highlight-bestpractices-blog-3: #FFBF70;
    /* Yellow → tips, principles */
    --text-highlight-innovation-blog-3: #E99090;
    /* Orange → breakthroughs */
    --text-highlight-limitations-blog-3: #DEDEDE;
    /* Gray → bugs, tradeoffs */
    --text-highlight-philosophy-blog-3: #D7B7F6;
    /* Purple → design thinking */

    /* -------------------------------
     Blog 4 — Music, Art, Hobbies
     ------------------------------- */
    --text-highlight-passion-blog-4: #E99090;
    /* Red → intensity, emotion */
    --text-highlight-calm-blog-4: #A3D1FF;
    /* Blue → reflective moods */
    --text-highlight-artists-blog-4: #9FDFBB;
    /* Green → communities */
    --text-highlight-creativity-blog-4: #D7B7F6;
    /* Purple → imagination */
    --text-highlight-joy-blog-4: #FFBF70;
    /* Yellow → vibrancy */
    --text-highlight-achievements-blog-4: #FFA3D1;
    /* Orange → milestones */
    --text-highlight-nostalgia-blog-4: #DEDEDE;
    /* Pink → sentimental */
}


.theme-2-dark {
    /* Color Variables - Dark Mode (default) */
    --bg-color: #150212;
    --bg-color-tba: #020F02;
    --text-color: #ffefef;
    --card-bg: #260015;
    --card-border: #ffefef;
    --button-bg: #c52929;
    --button-text-color: #ffefef;
    --button-hover-color: #8d0808;
    --button-border: #ffefef;
    --link-color: #F68489;
    --link-hover-color: #d80f0f;
    --shadow-color: rgba(219, 227, 184, 0.1);
    --border-color: #ffefef;
    --background-color-highlight: rgba(36, 2, 2, 0.6);
    --color-surface-raised: #021502;
    --main-card-border: #ffefef;
    --main--card-border: #ffefef;
    --link-hover-color-active: #ffefef;
    --button-text-hover-active: #ffefef;
    --icon-colors-version-one: #ffefef;
    --icon-colors-version-two: #ffefef;
    --map-p-bg: #150212;

    --hl-color-sectionid: #c52929;

    --faq-icon-color: #ffefef;

    --iframebgcolor: #ffe3e3;

    --color-primary: #ffefef;
    --color-secondary: #330d0d;
    --color-accent-1: #c52929;
    --color-accent-2: #330d0d;
    --color-text-light: #fefefe;
    --color-text-dark: #c52929; 
    /* -------------------------------
     Blog 1 — Science, Ethics, Morality, Philosophy
     ------------------------------- */
    --text-highlight-people-blog-1: #154C3D;
    /* Softer green for dark bg */
    --text-highlight-concepts-blog-1: #033553;
    /* Light blue */
    --text-highlight-arguments-blog-1: #574500;
    /* Warm yellow */
    --text-highlight-dates-blog-1: #442A6F;
    /* Soft purple */
    --text-highlight-dilemmas-blog-1: #850000;
    /* Bright red */
    --text-highlight-uncertainty-blog-1: #474747;
    /* Light gray */

    /* -------------------------------
     Blog 2 — Sexual Themes, Health, Paraphilias, Cases
     ------------------------------- */
    --text-highlight-affection-blog-2: #850042;
    /* Lively pink */
    --text-highlight-risk-blog-2: #643f14;
    /* Strong red */
    --text-highlight-medical-blog-2: #1D3E54;
    /* Soft blue */
    --text-highlight-health-blog-2: #0B410B;
    /* Fresh green */
    --text-highlight-bdsm-blog-2: #4F1759;
    /* Vivid purple */
    --text-highlight-myths-blog-2: #333333;
    /* Lighter gray */
    --text-highlight-cases-blog-2: #04205e;
    /* Bright orange */

    /* -------------------------------
     Teckie | Blog 3 — Tech, UX, Developer Perspective
     ------------------------------- */
    --text-highlight-tools-blog-3: #18384E;
    /* Soft blue */
    --text-highlight-people-blog-3: #094909;
    /* Light green */
    --text-highlight-bestpractices-blog-3: #4D3D00;
    /* Soft yellow */
    --text-highlight-innovation-blog-3: #333333;
    /* Orange pop */
    --text-highlight-limitations-blog-3: #171149;
    /* Light gray */
    --text-highlight-philosophy-blog-3: #850042;
    /* Pastel purple */

    /* -------------------------------
     Blog 4 — Music, Art, Hobbies
     ------------------------------- */
    --text-highlight-passion-blog-4: #850042;
    /* Strong red */
    --text-highlight-calm-blog-4: #18384E;
    /* Calm blue */
    --text-highlight-artists-blog-4: #094909;
    /* Soft green */
    --text-highlight-creativity-blog-4: #4F1759;
    /* Vivid purple */
    --text-highlight-joy-blog-4: #4D3D00;
    /* Soft yellow */
    --text-highlight-achievements-blog-4: #333333;
    /* Bright orange */
    --text-highlight-nostalgia-blog-4: #000980;
    /* Warm pink */
}

/* Color Variables - Light Mode */
.theme-2-light {

    --bg-color: #ffefef;
    --bg-color-tba: #ffefef;
    --text-color: #150212;
    --card-bg: #ffe3e3;
    --card-border: #021502;
    --button-bg: #c52929;
    --button-text-color: #ffefef;
    --button-hover-color: #8d0808;
    --button-border: #150212;
    --link-color: #6E1717;
    --link-hover-color: #d80f0f;
    --link-hover-color-active: #472828;
    --button-text-hover-active: #532b2b;

    --shadow-color: rgba(51, 4, 4, 0.377);
    --border-color: #150202;
    --background-color-highlight: rgba(255, 239, 239, 0.6);
    /* 50% */
    --color-surface-raised: #ffefef;

    --main-card-border: #150212;
    --main--card-border: #150212;
    --link-hover-color-active: #021502;
    --button-text-hover-active: #021502;

    --icon-colors-version-one: #330d0d;
    --icon-colors-version-two: #ffefef;
    --map-p-bg: #150212;

    --hl-color-sectionid: #c52929;

    --faq-icon-color: #ffefef;

    --iframebgcolor: #ffe3e3;

    --color-primary: #ffefef;
    --color-secondary: #330d0d;
    --color-accent-1: #c52929;
    --color-accent-2: #330d0d;
    --color-text-light: #fefefe;
    --color-text-dark: #c52929; 
    /* -------------------------------
     Blog 1 — Science, Ethics, Morality, Philosophy
     ------------------------------- */
    --text-highlight-people-blog-1: #A9E5C4;
    /* Green → philosophers, scientists */
    --text-highlight-concepts-blog-1: #8AC4FF;
    /* Blue → abstract concepts */
    --text-highlight-arguments-blog-1: #FFED8A;
    /* Yellow → key principles */
    --text-highlight-dates-blog-1: #CBBAED;
    /* Purple → historical context */
    --text-highlight-dilemmas-blog-1: #F9B8C4;
    /* Red → ethical dilemmas */
    --text-highlight-uncertainty-blog-1: #D4D4D4;
    /* Gray → paradoxes, questions */

    /* -------------------------------
     Blog 2 — Sexual Themes, Health, Paraphilias, Cases
     ------------------------------- */
    --text-highlight-affection-blog-2: #fc91c6;
    /* Pink → intimacy */
    --text-highlight-risk-blog-2: #a1fafd;
    /* Red → taboo, warnings */
    --text-highlight-medical-blog-2: #8AC4FF;
    /* Blue → medical/legal refs */
    --text-highlight-health-blog-2: #A9E5C4;
    /* Green → safe practices */
    --text-highlight-bdsm-blog-2: #CBBAED;
    /* Purple → intensity, BDSM */
    --text-highlight-myths-blog-2: #D4D4D4;
    /* Gray → stigma, critique */
    --text-highlight-cases-blog-2: #FFED8A;
    /* Orange → true cases */

    /* -------------------------------
     Blog 3 — Tech, UX, Developer Perspective
     ------------------------------- */
    --text-highlight-tools-blog-3: #8AC4FF;
    /* Blue → frameworks, tools */
    --text-highlight-people-blog-3: #a1fafd;
    /* Green → devs, mentors */
    --text-highlight-bestpractices-blog-3: #FFED8A;
    /* Yellow → tips, principles */
    --text-highlight-innovation-blog-3: #F9B8C4;
    /* Orange → breakthroughs */
    --text-highlight-limitations-blog-3: #D4D4D4;
    /* Gray → bugs, tradeoffs */
    --text-highlight-philosophy-blog-3: #CBBAED;
    /* Purple → design thinking */

    /* -------------------------------
     Blog 4 — Music, Art, Hobbies
     ------------------------------- */
    --text-highlight-passion-blog-4: #F9B8C4;
    /* Red → intensity, emotion */
    --text-highlight-calm-blog-4: #8AC4FF;
    /* Blue → reflective moods */
    --text-highlight-artists-blog-4: #a1fafd;
    /* Green → communities */
    --text-highlight-creativity-blog-4: #CBBAED;
    /* Purple → imagination */
    --text-highlight-joy-blog-4: #FFED8A;
    /* Yellow → vibrancy */
    --text-highlight-achievements-blog-4: #ffbd6c;
    /* Orange → milestones */
    --text-highlight-nostalgia-blog-4: #fc91c6;
    /* Pink → sentimental */
}


.theme-3-dark {
    /* Color Variables - Dark Mode for Teckie*/
    --bg-color: #020a15;
    --bg-color-tba: #02060f;
    --text-color: #eff5ff;
    --card-bg: #01142a;
    --card-border: #eff2ff;
    --button-bg: #1F5898;
    --button-text-color: #FFFFFF;
    --button-hover-color: #1F5898;
    --button-border: #eff5ff;
    --link-color: #75b4fc;
    --link-hover-color: #9cc7ff;
    --shadow-color: rgba(185, 184, 227, 0.1);
    --border-color: #eff5ff;
    --background-color-highlight: rgba(2, 7, 36, 0.6);
    --color-surface-raised: #020315;
    --main-card-border: #eff5ff;
    --main--card-border: #eff5ff;
    --link-hover-color-active: #eff5ff;
    --button-text-hover-active: #eff5ff;
    --icon-colors-version-one: #eff5ff;
    --icon-colors-version-two: #eff5ff;
    --map-p-bg: #020a15;

    --hl-color-sectionid: #1F5898;

    --faq-icon-color: #eff5ff;

    --iframebgcolor: #e7ecfd;

    --color-primary: #eff5ff;
    --color-secondary: #eff5ff;
    --color-accent-1: #1F5898;
    --color-accent-2: #eff5ff;
    --color-text-light: #eff5ff;
    --color-text-dark: #1F5898; 
    /* -------------------------------
     Blog 1 — Science, Ethics, Morality, Philosophy
     ------------------------------- */
    --text-highlight-people-blog-1: #154132;
    /* Softer green for dark bg */
    --text-highlight-concepts-blog-1: #073B5A;
    /* Light blue */
    --text-highlight-arguments-blog-1: #3D3100;
    /* Warm yellow */
    --text-highlight-dates-blog-1: #40296B;
    /* Soft purple */
    --text-highlight-dilemmas-blog-1: #8A0000;
    /* Bright red */
    --text-highlight-uncertainty-blog-1: #333333;
    /* Light gray */

    /* -------------------------------
     Blog 2 — Sexual Themes, Health, Paraphilias, Cases
     ------------------------------- */
    --text-highlight-affection-blog-2: #800040;
    /* Lively pink */
    --text-highlight-risk-blog-2: #8A0000;
    /* Strong red */
    --text-highlight-medical-blog-2: #073B5A;
    /* Soft blue */
    --text-highlight-health-blog-2: #154132;
    /* Fresh green */
    --text-highlight-bdsm-blog-2: #40296B;
    /* Vivid purple */
    --text-highlight-myths-blog-2: #333333;
    /* Lighter gray */
    --text-highlight-cases-blog-2: #3D3100;
    /* Bright orange */

    /* -------------------------------
     Teckie | Blog 3 — Tech, UX, Developer Perspective
     ------------------------------- */
    --text-highlight-tools-blog-3: #073B5A;
    /* Soft blue */
    --text-highlight-people-blog-3: #154132;
    /* Light green */
    --text-highlight-bestpractices-blog-3: #8A0000;
    /* Soft yellow */
    --text-highlight-innovation-blog-3: #3D3100;
    /* Orange pop */
    --text-highlight-limitations-blog-3: #333333;
    /* Light gray */
    --text-highlight-philosophy-blog-3: #40296B;
    /* Pastel purple */

    /* -------------------------------
     Blog 4 — Music, Art, Hobbies
     ------------------------------- */
    --text-highlight-passion-blog-4: #8A0000;
    /* Strong red */
    --text-highlight-calm-blog-4: #073B5A;
    /* Calm blue */
    --text-highlight-artists-blog-4: #154132;
    /* Soft green */
    --text-highlight-creativity-blog-4: #40296B;
    /* Vivid purple */
    --text-highlight-joy-blog-4: #3D3100;
    /* Soft yellow */
    --text-highlight-achievements-blog-4: #333333;
    /* Bright orange */
    --text-highlight-nostalgia-blog-4: #8A0000;
    /* Warm pink */
}

/* Color Variables - Light Mode for Teckie */
.theme-3-light {
    --bg-color: #eff5ff;
    --bg-color-tba: #eff5ff;
    --text-color: #020a15;
    --card-bg: #e7ecfd;
    --card-border: #020a15;
    --button-bg: #1F5898;
    --button-text-color: #FFFFFF;
    --button-hover-color: #75b4fc;
    --button-border: #020a15;
    --link-color: #093A72;
    --link-hover-color: #1876e0;
    --link-hover-color-active: #282d47;
    --button-text-hover-active: #2c2b53;

    --shadow-color: rgba(4, 13, 51, 0.377);
    --border-color: #020a15;
    --background-color-highlight: rgba(239, 240, 255, 0.6);
    /* 50% */
    --color-surface-raised: #eff5ff;

    --main-card-border: #020a15;
    --main--card-border: #020a15;
    --link-hover-color-active: #021502;
    --button-text-hover-active: #021502;

    --icon-colors-version-one: #0d1033;
    --icon-colors-version-two: #eff5ff;
    --map-p-bg: #020a15;

    --hl-color-sectionid: #1F5898;

    --faq-icon-color: #eff5ff;

    --iframebgcolor: #e7ecfd;

    --color-primary: #eff5ff;
    --color-secondary: #eff5ff;
    --color-accent-1: #1F5898;
    --color-accent-2: #0d1033;
    --color-text-light: #eff5ff;
    --color-text-dark: #1F5898; 
    /* -------------------------------
     Blog 1 — Science, Ethics, Morality, Philosophy
     ------------------------------- */
    --text-highlight-people-blog-1: #79D2A0;
    /* Green → philosophers, scientists */
    --text-highlight-concepts-blog-1: #94C9FF;
    /* Blue → abstract concepts */
    --text-highlight-arguments-blog-1: #FFE96B;
    /* Yellow → key principles */
    --text-highlight-dates-blog-1: #D7CBF1;
    /* Purple → historical context */
    --text-highlight-dilemmas-blog-1: #F9C7D1;
    /* Red → ethical dilemmas */
    --text-highlight-uncertainty-blog-1: #D1D1D1;
    /* Gray → paradoxes, questions */

    /* -------------------------------
     Blog 2 — Sexual Themes, Health, Paraphilias, Cases
     ------------------------------- */
    --text-highlight-affection-blog-2: #F9C7D1;
    /* Pink → intimacy */
    --text-highlight-risk-blog-2: #e3b9f3;
    /* Red → taboo, warnings */
    --text-highlight-medical-blog-2: #94C9FF;
    /* Blue → medical/legal refs */
    --text-highlight-health-blog-2: #79D2A0;
    /* Green → safe practices */
    --text-highlight-bdsm-blog-2: #D7CBF1;
    /* Purple → intensity, BDSM */
    --text-highlight-myths-blog-2: #D1D1D1;
    /* Gray → stigma, critique */
    --text-highlight-cases-blog-2: #FFE96B;
    /* Orange → true cases */

    /* -------------------------------
     Blog 3 — Tech, UX, Developer Perspective
     ------------------------------- */
    --text-highlight-tools-blog-3: #94C9FF;
    /* Blue → frameworks, tools */
    --text-highlight-people-blog-3: #79D2A0;
    /* Green → devs, mentors */
    --text-highlight-bestpractices-blog-3: #FFE96B;
    /* Yellow → tips, principles */
    --text-highlight-innovation-blog-3: #FFBF70;
    /* Orange → breakthroughs */
    --text-highlight-limitations-blog-3: #D1D1D1;
    /* Gray → bugs, tradeoffs */
    --text-highlight-philosophy-blog-3: #D7CBF1;
    /* Purple → design thinking */

    /* -------------------------------
     Blog 4 — Music, Art, Hobbies
     ------------------------------- */
    --text-highlight-passion-blog-4: #F9C7D1;
    /* Red → intensity, emotion */
    --text-highlight-calm-blog-4: #94C9FF;
    /* Blue → reflective moods */
    --text-highlight-artists-blog-4: #79D2A0;
    /* Green → communities */
    --text-highlight-creativity-blog-4: #e3b9f3;
    /* Purple → imagination */
    --text-highlight-joy-blog-4: #FFE96B;
    /* Yellow → vibrancy */
    --text-highlight-achievements-blog-4: #FFBF70;
    /* Orange → milestones */
    --text-highlight-nostalgia-blog-4: #fd9fd6;
    /* Pink → sentimental */
}

.theme-4-dark {
    /* Color Variables - Dark Mode for Teckie*/
    --bg-color: #0a0900;
    --bg-color-tba: #110f00;
    --text-color: #fcf3cf;
    --card-bg: #120b00;
    --card-border: #fcf3cf;
    --button-bg: #ffd000;
    /* main color */
    --button-text-color: #0a0900;
    --button-hover-color: #0a0900;
    --button-border: #fcf3cf;
    --link-color: #ffd000;
    --link-hover-color: #e4c22d;
    --shadow-color: rgba(185, 184, 227, 0.1);
    --border-color: #fcf3cf;
    --background-color-highlight: rgba(34, 36, 2, 0.6);
    --color-surface-raised: #020315;
    --main-card-border: #fcf3cf;
    --main--card-border: #fcf3cf;
    --link-hover-color-active: #fcf3cf;
    --button-text-hover-active: #fcf3cf;
    --icon-colors-version-one: #fcf3cf;
    --icon-colors-version-two: #fcf3cf;

    --hl-color-sectionid: #ffd000;

    --faq-icon-color: #fcf3cf;

    --iframebgcolor: #fff3c4;

    --color-primary: #fcf3cf;
    --color-secondary: #fcf3cf;
    --color-accent-1: #ffd000;
    --color-accent-2: #fcf3cf;
    --color-text-light: #fcf3cf;
    --color-text-dark: #ffd000; 
    /* -------------------------------
     Blog 1 — Science, Ethics, Morality, Philosophy
     ------------------------------- */
    --text-highlight-people-blog-1: #143E2F;
    /* Softer green for dark bg */
    --text-highlight-concepts-blog-1: #063A5B;
    /* Light blue */
    --text-highlight-arguments-blog-1: #382D00;
    /* Warm yellow */
    --text-highlight-dates-blog-1: #42286C;
    /* Soft purple */
    --text-highlight-dilemmas-blog-1: #570000;
    /* Bright red */
    --text-highlight-uncertainty-blog-1: #333333;
    /* Light gray */

    /* -------------------------------
     Blog 2 — Sexual Themes, Health, Paraphilias, Cases
     ------------------------------- */
    --text-highlight-affection-blog-2: #660033;
    /* Lively pink */
    --text-highlight-risk-blog-2: #570000;
    /* Strong red */
    --text-highlight-medical-blog-2: #063A5B;
    /* Soft blue */
    --text-highlight-health-blog-2: #143E2F;
    /* Fresh green */
    --text-highlight-bdsm-blog-2: #42286C;
    /* Vivid purple */
    --text-highlight-myths-blog-2: #333333;
    /* Lighter gray */
    --text-highlight-cases-blog-2: #382D00;
    /* Bright orange */

    /* -------------------------------
     Teckie | Blog 3 — Tech, UX, Developer Perspective
     ------------------------------- */
    --text-highlight-tools-blog-3: #063A5B;
    /* Soft blue */
    --text-highlight-people-blog-3: #143E2F;
    /* Light green */
    --text-highlight-bestpractices-blog-3: #333333;
    /* Soft yellow */
    --text-highlight-innovation-blog-3: #382D00;
    /* Orange pop */
    --text-highlight-limitations-blog-3: #570000;
    /* Light gray */
    --text-highlight-philosophy-blog-3: #660033;
    /* Pastel purple */

    /* -------------------------------
     Blog 4 — Music, Art, Hobbies
     ------------------------------- */
    --text-highlight-passion-blog-4: #570000;
    /* Strong red */
    --text-highlight-calm-blog-4: #063A5B;
    /* Calm blue */
    --text-highlight-artists-blog-4: #143E2F;
    /* Soft green */
    --text-highlight-creativity-blog-4: #42286C;
    /* Vivid purple */
    --text-highlight-joy-blog-4: #333333;
    /* Soft yellow */
    --text-highlight-achievements-blog-4: #382D00;
    /* Bright orange */
    --text-highlight-nostalgia-blog-4: #660033;
    /* Warm pink */
}

/* Color Variables - Light Mode for Teckie */
.theme-4-light {
    --bg-color: #fcf3cf;
    --bg-color-tba: #eff5ff;
    --text-color: #0a0900;
    --card-bg: #fff3c4;
    --card-border: #0a0900;
    --button-bg: #ffd000;
    --button-text-color: #0a0900;
    --button-hover-color: #0a0900;
    --button-border: #0a0900;
    --link-color: #312d03;
    --link-hover-color: #5a5301;
    --link-hover-color-active: #5a5301;
    --button-text-hover-active: #312d03;

    --shadow-color: rgba(50, 51, 4, 0.377);
    --border-color: #0a0900;
    --background-color-highlight: rgba(255, 255, 239, 0.6);
    /* 50% */
    --color-surface-raised: #fcf3cf;

    --main-card-border: #0a0900;
    --main--card-border: #0a0900;
    --link-hover-color-active: #0a0900;
    --button-text-hover-active: #0a0900;

    --icon-colors-version-one: #0d1033;
    --icon-colors-version-two: #fcf3cf;
    --map-p-bg: #0a0900;

    --hl-color-sectionid: #ffd000;

    --faq-icon-color: #fcf3cf;

    --iframebgcolor: #fff3c4;

    --color-primary: #fcf3cf;
    --color-secondary: #fcf3cf;
    --color-accent-1: #ffd000;
    --color-accent-2: #0a0900;
    --color-text-light: #fcf3cf;
    --color-text-dark: #ffd000; 
    /* -------------------------------
     Blog 1 — Science, Ethics, Morality, Philosophy
     ------------------------------- */
    --text-highlight-people-blog-1: #C4EED5;
    /* Green → philosophers, scientists */
    --text-highlight-concepts-blog-1: #A8D4FF;
    /* Blue → abstract concepts */
    --text-highlight-arguments-blog-1: #FFDE24;
    /* Yellow → key principles */
    --text-highlight-dates-blog-1: #D1C2EF;
    /* Purple → historical context */
    --text-highlight-dilemmas-blog-1: #F6ACBB;
    /* Red → ethical dilemmas */
    --text-highlight-uncertainty-blog-1: #D1D1D1;
    /* Gray → paradoxes, questions */

    /* -------------------------------
     Blog 2 — Sexual Themes, Health, Paraphilias, Cases
     ------------------------------- */
    --text-highlight-affection-blog-2: #F6ACBB;
    /* Pink → intimacy */
    --text-highlight-risk-blog-2: #ffd4a2;
    /* Red → taboo, warnings */
    --text-highlight-medical-blog-2: #A8D4FF;
    /* Blue → medical/legal refs */
    --text-highlight-health-blog-2: #C4EED5;
    /* Green → safe practices */
    --text-highlight-bdsm-blog-2: #D1C2EF;
    /* Purple → intensity, BDSM */
    --text-highlight-myths-blog-2: #D1D1D1;
    /* Gray → stigma, critique */
    --text-highlight-cases-blog-2: #FFDE24;
    /* Orange → true cases */

    /* -------------------------------
     Blog 3 — Tech, UX, Developer Perspective
     ------------------------------- */
    --text-highlight-tools-blog-3: #A8D4FF;
    /* Blue → frameworks, tools */
    --text-highlight-people-blog-3: #C4EED5;
    /* Green → devs, mentors */
    --text-highlight-bestpractices-blog-3: #FFDE24;
    /* Yellow → tips, principles */
    --text-highlight-innovation-blog-3: #F6ACBB;
    /* Orange → breakthroughs */
    --text-highlight-limitations-blog-3: #D1D1D1;
    /* Gray → bugs, tradeoffs */
    --text-highlight-philosophy-blog-3: #D1C2EF;
    /* Purple → design thinking */

    /* -------------------------------
     Blog 4 — Music, Art, Hobbies
     ------------------------------- */
    --text-highlight-passion-blog-4: #F6ACBB;
    /* Red → intensity, emotion */
    --text-highlight-calm-blog-4: #A8D4FF;
    /* Blue → reflective moods */
    --text-highlight-artists-blog-4: #C4EED5;
    /* Green → communities */
    --text-highlight-creativity-blog-4: #D1C2EF;
    /* Purple → imagination */
    --text-highlight-joy-blog-4: #FFDE24;
    /* Yellow → vibrancy */
    --text-highlight-achievements-blog-4: #d1d8d8;
    /* Orange → milestones */
    --text-highlight-nostalgia-blog-4: #ff69b4;
    /* Pink → sentimental */
}

/* Main Content Container */
.main-content {
    max-width: 1512px;
    margin: 80pt auto;
    padding: 0 var(--container-padding-desktop);
    box-sizing: border-box;
}


@media (min-width: 768px) {
    h1 {
        font-size: var(--font-size-title-desktop);
    }

    h2 {
        font-size: var(--font-size-subheading-desktop);
    }

    h3 {
        font-size: var(--font-size-subtitle3-desktop);
    }

    .h4 {
        font-size: var(--font-size-subtitle4-desktop);
    }

    .small {
        font-size: var(--font-size-small-desktop);
    }

    .p {
        font-size: var(--font-size-normal);
    }

}


@media (min-width: 350px) {
    h1 {
        font-size: var(--font-size-title-mobile);
    }

    h2 {
        font-size: var(--font-size-subheading-mobile);
    }

    h3 {
        font-size: var(--font-size-subtitle3-mobile);
    }

    .h4 {
        font-size: var(--font-size-subtitle4-mobile);
    }

    .small {
        font-size: var(--font-size-small-mobile);
    }

    .p {
        font-size: var(--font-size-normal);
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: var(--font-size-title-desktop);
    }

    h2 {
        font-size: var(--font-size-subheading-desktop);
    }

    h3 {
        font-size: var(--font-size-subtitle3-desktop);
    }

    .h4 {
        font-size: var(--font-size-subtitle4-desktop);
    }

    .small {
        font-size: var(--font-size-small-desktop);
    }

    .p {
        font-size: var(--font-size-normal);
    }
}

/* Basic CSS Reset & Box Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* Smooth scroll behavior is handled by JavaScript for a custom animation */
    scroll-behavior: auto;
    font-size: 16px;
}


body a {
    color: var(--button-text-color);
}

.two-column-section {
    display: grid;
    grid-template-columns: 1fr;
    background-color: var(--bg-color);
    justify-content: flex-start;
    overflow-y: auto;
    min-height: 100vh;
}

.two-column-section .content-wrapper {
    max-width: 1512px;
    margin: 80pt auto;
    padding: 0 var(--container-padding-desktop);
    box-sizing: border-box;

    margin-top: 0px;
    /* Compensate for the navbar height */
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    justify-items: center;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        align-items: center;
    }

    .two-column-layout .visual-column {
        order: 2;
    }

    .two-column-layout .card-column {
        order: 1;
        text-align: left;
    }
}

.visual-column img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-card);
}

.card-column .card {
    width: 100%;
    max-width: 100%;
}




.gradient-border-card {
    position: relative;
    background-color: var(--card-bg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    color: var(--text-color);
    transition: transform 0.3s var(--cubic-bezier);
}


.gradient-border-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Link styling for the new card */
.gradient-border-card a {
    color: var(--button-text-color);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding-top: 12px;
    padding-bottom: 2px;
}

.gradient-border-card a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-1);
    transition: width 0.3s ease-out;
}

.gradient-border-card a:hover::after {
    width: 100%;
}

/* Pseudo-elements for the gradient border */
.gradient-border-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    background: conic-gradient(from var(--angle), var(--color-accent-1), var(--color-primary), var(--color-accent-2), var(--color-accent-1));
    padding: 3px;
    animation: animate 2s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.gradient-border-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -2;
    background: inherit;
    filter: blur(20px);
}

/*
-------------------------------------------------
2. Page Sections & Layout
-------------------------------------------------
*/
.page-sections {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.full-screen-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--padding-section);
    scroll-snap-align: start;
    position: relative;
    /* This ensures a smooth transition between section background changes */
    transition: background-color 1s var(--cubic-bezier),
        background-image 1s var(--cubic-bezier);
}

@media (min-width: 768px) {
    .full-screen-section {
        margin-bottom: 40px;
        overflow-y: auto;
    }
}

/* Backgrounds for each section */
.hero-section {
    background: var(--bg-color), url('https://picsum.photos/1920/1080?random=1') no-repeat center center / cover;
}

.founders-section {
    background-color: var(--bg-color);
}

.designers-section {
    background-color: var(--bg-color);
}

.agencies-section {
    background-color: var(--bg-color);
}

.enterprise-section {
    background-color: var(--bg-color);
}

.closing-section {
    background-color: var(--bg-color);

}

/* Section content wrappers */
.content-wrapper {

    overflow-y: auto;
    height: 100vh;
    margin: 16px;
    margin-bottom: 20px;

    max-width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;

}

/* Container */
.container {
    max-width: 1024px;

}

/* Ensure the SVG itself fills its container */
.hero-bg-svg-container svg {
    width: 100%;
    height: 100%;
}

/*
This is the main wrapper for the hero content.
We use a separate wrapper so the content stays centered and on top.
*/
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    /* Ensure content is on top of the SVG */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}


/*
Hero Section - Visual Background
This container is now positioned to fill the entire section,
and is placed behind the text using z-index.
*/
.hero-visual-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Flexbox for the horizontal/vertical layout */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw;
    /* Responsive gap between images */
    z-index: 1;
    /* Puts this layer behind the text */
    overflow: hidden;
}

/*
Style the images within the hero background.
They should scale but not become too large.
*/
.hero-visual-background img {
    height: 100%;
    width: auto;
    max-height: 50vh;
    /* Prevents images from getting too big vertically */
    max-width: 500px;
    object-fit: contain;
}

/*
Hero Section - Content Wrapper
This container holds the text and must be on top of the images.
*/
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    /* Ensures the text is on top */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: var(--padding-section);
}

/*
Media Query to stack images on smaller screens
This is what makes them go from horizontal to vertical.
*/
@media (max-width: 768px) {
    .hero-visual-background {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-visual-background img {
        max-height: 40vh;
    }
}

/*
Update the main hero section rule to only have the overlay.
*/
.hero-section {
    position: relative;
    background-color: var(--bg-color);
    overflow: hidden;
    color: var(--text-color);
}


/* Visuals */
.visual-placeholder {
    width: 100%;
    height: auto;
    margin-top: clamp(1rem, 2vw, 2rem);
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder .svg-visual {
    width: 100%;
    height: auto;
    opacity: 0.5;
}

.visual-placeholder .device-mockups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.visual-placeholder .device-mockups img {
    width: clamp(200px, 30vw, 300px);
    height: auto;
    border-radius: var(--border-radius-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Content Card Grid */
.closing-section .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem; 
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;


}

@media (min-width: 768px) {
.card-grid {
    margin-bottom: 180px;
    padding-left: 20px;
    padding-right: 20px;

}
}

.closing-section .card {
    position: relative;
    background-color: var(--card-bg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    color: var(--text-color);
    /* Changed to light text for visibility on dark background */
    transition: transform 0.3s var(--cubic-bezier);
}

.closing-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.closing-section .card h3 {
    font-family: var(--font-family-primary);

    color: var(--text-color);
}

.closing-section .card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.closing-section .card a {
    color: var(--button-text-color);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
}

.closing-section .card a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-1);
    transition: width 0.3s ease-out;
}

.closing-section .card a:hover::after {
    width: 100%;
}


/*
This pseudo-element creates the primary gradient border. 
*/
.closing-section .card::before {
    content: "";
    position: absolute;
    inset: 0; 
    border-radius: inherit;
    z-index: -1;
 
    background: conic-gradient(from var(--angle), var(--color-accent-1), var(--color-primary), var(--color-accent-2), var(--color-accent-1));
 
    padding: 3px;
 
    animation: animate 2s linear infinite;

    /* This makes the gradient visible around the card's content */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/*
This pseudo-element creates the blurred, glowing effect behind the border.
*/
.closing-section .card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -2;
    background: inherit;
    filter: blur(20px);
}

/*
=================================================
GLOBAL GRADIENT BORDER PROPERTIES
=================================================
*/
@property --angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0deg;
}

@keyframes animate {
    to {
        --angle: 360deg;
    }
}
 

.image01 {
    width: 99%;
    height: 99%;
    display: block;
    border-radius: 8px;
    align-items: center;
}

/*
-------------------------------------------------
3. Scroll Arrow Button
-------------------------------------------------
*/
.scroll-down-button {
    position: absolute;
    bottom: 15vh;
    left: 48%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: var(--button-text-color);
    font-size: clamp(3rem, 3vw, 2rem);
    cursor: pointer;
    transition: transform 0.3s var(--cubic-bezier);
    z-index: 10;
    opacity: 0.8;
}

@media (min-height: 768px) {
    .scroll-down-button {
        bottom: 13vh;
    }
}

.scroll-down-button a {
    background-color: var(--button-bg);
    border: 1px solid var(--button-border);
    border-radius: 12px;
}

.scroll-down-button:hover,
.scroll-down-button:focus {
    transform: translateX(-50%) translateY(5px);
    opacity: 1;
}

/* Subtle bounce animation for the arrow */
.animate-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/*
-------------------------------------------------
4. Cinematic Entrance Animations
-------------------------------------------------
These classes define the initial and final states for
the fade/slide-in animations, triggered by JavaScript.
*/

/* Initial state: hidden and slightly offset */
.animate-text {
    opacity: 0;
    margin-top: 20px;
    transform: translateY(20px);
    transition: opacity 1s var(--cubic-bezier), transform 1s var(--cubic-bezier);
}

mark {
    background-color: var(--bg-color);
    color: var(--text-color);
    /* Optional: change text color for better contrast */
}

.animate-text-hero {
    opacity: 4;
    transform: translateY(20px);
    transition: opacity 1s var(--cubic-bezier), transform 1s var(--cubic-bezier);
}

.animate-text-hero h1 {}

.animate-visual {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s var(--cubic-bezier), transform 1s var(--cubic-bezier);
}

/* Active state: visible and in final position */
.is-visible .animate-text {
    opacity: 1;
    transform: translateY(0);
}

.is-visible .animate-visual {
    opacity: 1;
    transform: scale(1);
}


.hl-people-blog-1 {
    background-color: var(--text-highlight-people-blog-1);
    text-align: center;
}


.box-text {
    max-width: 1200px;
    margin: auto;
}


.box-text2 {
    max-width: 1200px;
    margin: auto;
    margin-top: 25%;
}

.box-text3 {
    max-width: 1200px;
    padding-left: 16px;
    padding-right: 16px;
}

.box-text4 {
    max-width: 1100px;
    padding-left: 32px;
    padding-right: 32px;  
}
 
.box-text5 {
    max-width: 1000px;
    margin-right: 24px;
    margin-left: 24px; 
    
} 