@charset "UTF-8";
@import "normalize.css";
@import url("https://cdn.jsdelivr.net/npm/hack-font@3.3.0/build/web/hack-subset.css");
@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
/* Georgia is a system font, no need to import from Google Fonts */
/* Google Calendar iframe styling */
.calendar-iframe,
iframe[src*="calendar.google.com"] {
  width: 80%;
  height: 80%;
  max-width: 700px;
  max-height: 800px;
}

.content1, .content2, .content3, .content4, .content5 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  padding: 0 10px;
  border-radius: 5px;
}

/*
 * fonts
 */
/* HappiHacking brand fonts as per new brand guide */
/* headings */
/* paragraphs */
/* buttons, menus */
/* quotes - system fonts */
/* code blocks */
/*
 * palette
 */
/* HappiHacking colors as per new brand guide */
/* Primary Turquoise */
/* Dark */
/* Light */
/* Text */
/* Text Dark */
/* Highlight Gold - use sparingly */
/* Base colors derived from brand colors */
/* Primary colors */
/* Secondary colors */
/* Tertiary colors */
/* Light Mode Colors */
/* Neutral Colors (Used in both themes) */
/* Gradients for Light Mode */
/* Dark Mode Colors */
/* Gradients for Dark Mode */
/* transparent shadows and highlights
   (defined here because opacity cannot be separated from color in shadows)
 */
/*
 * css custom properties (css variables)
 */
/*
 * assignment to roles (defines a theme variant: day/night/high-contrast)
 */
/* common to all variants */
html {
  /* Typography Levels
     (note that we set root font size so that 1rem = 10px on most systems)

     NOTE: The font sizes supplied by Ad-Ida must first be scaled by
     72/96 to compensate for their configuration error, so: 30 -> 22.5,
     32 -> 24, 42 -> 31.5, 60 -> 45, 90 -> 67.5 (all in px, so divide by
     10 to get the rem size at base scale). These are sizes intended for
     full screen (1920 at 72 px/in or 1440 at 96 px/in), so we need to
     pull them down to the base scale in rem, which should be around 16px
     (1.6rem) for the body font instead of 22.5, etc. - see the html
     element font size scaling further below for details. This gives us
     30 -> 22.5 -> 1.57, 32 -> 24 -> 1.67, 42 -> 31.5 -> 2.19, 60 ->
     45 -> 3.13, 90 -> 67.5 -> 4.70.
  */
  /* display levels are for banner and similar, growing in numerical order */
  --default-font-display-2-size: 6.2rem;
  --default-font-display-family: 'Baloo 2', sans-serif;
  --default-font-display-weight: 600;
  --default-font-display-size: 5.8rem;
  /* headline corresponds to h1, default 2em/32px */
  --default-font-headline-family: 'Poppins', sans-serif;
  --default-font-headline-weight: 400;
  --default-font-headline-size: 3.60rem;
  /* title corresponds to h2, default 1.5em/24px */
  --default-font-title-family: 'Poppins', sans-serif;
  --default-font-title-weight: 400;
  --default-font-title-size: 3.13rem;
  --default-font-title-small-size: 3.2rem;
  /* subtitle corresponds to h3, default 1.17em/18.72px */
  --default-font-subtitle-family: 'Poppins', sans-serif;
  --default-font-subtitle-weight: 400;
  --default-font-subtitle-size: 2.19rem;
  /* subtitle-2 corresponds to h4, default 1em/16px */
  --default-font-subtitle-2-size: 1.67rem;
  /* subtitle-3 corresponds to h5, default 0.83em/13.28px */
  --default-font-subtitle-3-size: 1.4rem;
  /* subtitle-4 corresponds to h6, default 0.67em/10.72px */
  --default-font-subtitle-4-size: 1.2rem;
  --default-font-body-family: 'Poppins', sans-serif;
  --default-font-body-weight: 400;
  --default-font-body-large-size: 1.8rem;
  --default-font-body-size: 1.57rem;
  --default-font-body-small-size: 1.4rem;
  --default-font-caption-family: 'Baloo 2', sans-serif;
  --default-font-caption-weight: 600;
  --default-font-caption-size: 1.2rem;
  --default-font-button-family: 'Poppins', sans-serif;
  --default-font-button-weight: 600;
  --default-font-button-size: var(--default-font-subtitle-4-size);
  --default-font-quote-family: Georgia, 'Times New Roman', Times, serif;
  --default-font-quote-weight: 250;
  --default-font-code-family: 'Hack', monospace;
  --default-font-code-weight: 400;
  --default-font-quote-family: Georgia, 'Times New Roman', Times, serif;
  --default-font-quote-weight: 250;
}

/* day mode (new default) */
@media (prefers-color-scheme: light) {
  html {
    /* fallback page colors - no gradients */
    --default-paper: rgb(65.5, 234.3808290155, 255);
    --default-ink: rgb(17.25, 17.25, 17.25);
    --default-semitransparent-paper: rgba(255, 255, 255, 0.1);
    --default-highlight-ink: rgba(255, 255, 255, 0.2);
    --default-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
    /* area type 0: the page background */
    --area-0-paper: #f9fcff;
    --area-0-ink: rgb(17.25, 17.25, 17.25);
    --area-0-link-ink: rgb(0, 126.5492227979, 142);
    /* area type 1: the light (white in orig mode) sections */
    --area-1-paper: #f1f5fb;
    --area-1-ink: rgb(17.25, 17.25, 17.25);
    --area-1-link-ink: var(--area-1-ink);
    --area-1-icon-ink: #00aCC1;
    --area-1-accent: #00aCC1;
    --area-1-icon-accent: #00aCC1;
    --area-1-alert-ink: rgb(0, 126.5492227979, 142);
    /* area type 2: the dark (black in orig mode) sections */
    --area-2-paper: #1E1E1E;
    --area-2-ink: #F9F9F9;
    --area-2-link-ink: #F9F9F9;
    --area-2-icon-ink: #F9F9F9;
    --area-2-accent: #00aCC1;
    /* area type 3: the light-ish (grey in orig mode) sections */
    --area-3-paper: var(--area-7-paper);
    /* area type 4: the nav menu bar */
    --area-4-paper: linear-gradient(to right, #9fd5f5, #ffffff);
    --area-4-ink: #333;
    --area-4-link-ink: #333;
    --area-4-edge-ink: rgba(0,0,0,0.1);
    --area-4-icon-ink: #333;
    --area-4-accent: #1a73a8;
    /* area type 5: the mobile nav menu */
    --area-5-paper: var(--area-4-paper);
    --area-5-ink: #F9F9F9;
    --area-5-hover-ink: rgb(17.25, 17.25, 17.25);
    --area-5-icon-ink: #F9F9F9;
    --area-5-edge-ink: var(--area-5-paper);
    /* area type 6: the dark-ish sections */
    --area-6-paper: #1E1E1E;
    --area-6-ink: #F9F9F9;
    --area-6-caption-ink: #d8d8d8;
    --area-6-link-ink: #F9F9F9;
    --area-6-icon-ink: #F9F9F9;
    /* area type 7: transparent sections on top of area type 0 */
    --area-7-paper: transparent;
    /* area type 8: dark semitransparent */
    --area-8-paper: rgba(0, 0, 0, 0.2);
    /* area type 9: opaque light sections (white in orig mode) */
    --area-9-paper: #F9F9F9;
    --area-9-paper-opaque: var(--area-9-paper);
    --area-9-ink: var(--area-1-ink);
    --area-9-link-ink: var(--area-1-link-ink);
    --area-9-icon-ink: var(--area-1-icon-ink);
    /* panel type 1: project description cards */
    --panel-1-paper: var(--area-1-paper);
    --panel-1-ink: var(--area-1-ink);
    --panel-1-border-top-ink: #d8d8d8;
    --panel-1-border-left-ink: #d8d8d8;
    --panel-1-border-right-ink: #d8d8d8;
    --panel-1-border-bottom-ink: #d8d8d8;
    --panel-1-shadow: var(--default-shadow);
    --panel-1-accent: var(--area-1-accent);
    --panel-1-title-ink: var(--panel-1-ink);
    --panel-1-subtitle-ink: #787878;
    /* panel type 2: team member cards */
    --panel-2-paper: var(--area-1-paper);
    --panel-2-ink: var(--area-1-ink);
    --panel-2-border-top-ink: var(--default-highlight-ink);
    --panel-2-border-left-ink: var(--default-highlight-ink);
    --panel-2-border-right-ink: none;
    --panel-2-border-bottom-ink: none;
    --panel-2-shadow: none;
    /* panel type 3: Blog articles */
    --panel-3-paper: var(--area-1-paper);
    --panel-3-ink: var(--area-1-ink);
    --panel-3-border-top-ink: #d8d8d8;
    --panel-3-border-left-ink: #d8d8d8;
    --panel-3-border-right-ink: #d8d8d8;
    --panel-3-border-bottom-ink: #d8d8d8;
    --panel-3-shadow: var(--default-shadow);
    --panel-3-accent: var(--area-1-accent);
    --panel-3-title-ink: var(--panel-3-ink);
    --panel-3-subtitle-ink: #787878;
    /* container type 1: scrollbar track */
    --container-1-paper: #f2f2f2;
    /* button type 1: generic button */
    --button-1-paper: #00aCC1;
    --button-1-ink: #F9F9F9;
    --button-1-hover-paper: rgb(0, 126.5492227979, 142);
    /* handle type 1: scrollbar handle */
    --handle-1-ink: #787878;
    --handle-1-hover-ink: #454545;
    /* Resources section - light mode colors */
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --accent-primary: #4a5568;
    --accent-secondary: #718096;
    --content-body: #2d3748;
  }
}
/* night mode */
@media (prefers-color-scheme: dark) {
  html {
    /* fallback page colors - no gradients */
    --default-paper: #1E1E1E;
    --default-ink: #F9F9F9;
    --default-semitransparent-paper: rgba(0, 0, 0, 0.05);
    --default-highlight-ink: rgba(255, 255, 255, 0.2);
    --default-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
    /* area type 0: the page background */
    --area-0-paper: radial-gradient(at top left, rgb(65.5, 234.3808290155, 255), #515151, #1E1E1E);
    --area-0-ink: #F9F9F9;
    --area-0-link-ink: rgb(65.5, 234.3808290155, 255);
    /* area type 1: the light (white in orig mode) sections */
    --area-1-paper: #515151;
    --area-1-ink: #F9F9F9;
    --area-1-link-ink: var(--area-1-ink);
    --area-1-icon-ink: rgb(65.5, 234.3808290155, 255);
    --area-1-accent: rgb(65.5, 234.3808290155, 255);
    --area-1-icon-accent: #00aCC1;
    --area-1-alert-ink: rgb(0, 126.5492227979, 142);
    /* area type 2: the dark (black in orig mode) sections */
    --area-2-paper: rgb(17.25, 17.25, 17.25);
    --area-2-ink: #F9F9F9;
    --area-2-link-ink: #F9F9F9;
    --area-2-icon-ink: #F9F9F9;
    --area-2-accent: rgb(65.5, 234.3808290155, 255);
    /* area type 3: the light-ish (grey in orig mode) sections */
    --area-3-paper: var(--area-7-paper);
    /* area type 4: the nav menu bar */
    --area-4-paper: linear-gradient(to right, #0d3b66, #33415c);
    --area-4-ink: #f0f0f0;
    --area-4-link-ink: #e8e8e8;
    --area-4-edge-ink: rgba(255,255,255,0.1);
    --area-4-icon-ink: #f0f0f0;
    --area-4-accent: #ffffff;
    /* area type 5: the mobile nav menu */
    --area-5-paper: var(--area-4-paper);
    --area-5-ink: #F9F9F9;
    --area-5-hover-ink: #F9F9F9;
    --area-5-icon-ink: #F9F9F9;
    --area-5-edge-ink: var(--area-5-paper);
    /* area type 6: the dark-ish (dark blue in orig mode) sections */
    --area-6-paper: #1E1E1E;
    --area-6-ink: #F9F9F9;
    --area-6-caption-ink: #d8d8d8;
    --area-6-link-ink: #F9F9F9;
    --area-6-icon-ink: #F9F9F9;
    /* area type 7: transparent sections on top of area type 0 */
    --area-7-paper: transparent;
    /* area type 8: dark semitransparent */
    --area-8-paper: rgba(0, 0, 0, 0.2);
    /* area type 9: opaque light sections (white in orig mode) */
    --area-9-paper: radial-gradient(at top left, #1E1E1E, #515151);
    --area-9-paper-opaque: rgba(200, 200, 200, 0.4);
    --area-9-ink: var(--area-1-ink);
    --area-9-link-ink: var(--area-1-link-ink);
    --area-9-icon-ink: var(--area-1-icon-ink);
    /* panel type 1: project description cards */
    --panel-1-paper: var(--area-1-paper);
    --panel-1-ink: var(--area-1-ink);
    --panel-1-border-ink: var(--panel-1-paper);
    --panel-1-border-top-ink: var(--default-highlight-ink);
    --panel-1-border-left-ink: var(--default-highlight-ink);
    --panel-1-border-right-ink: none;
    --panel-1-border-bottom-ink: none;
    --panel-1-shadow: var(--default-shadow);
    --panel-1-accent: var(--area-1-accent);
    --panel-1-title-ink: var(--panel-1-ink);
    --panel-1-subtitle-ink: var(--panel-1-accent);
    /* panel type 2: team member cards */
    --panel-2-paper: var(--default-semitransparent-paper);
    --panel-2-ink: var(--area-1-ink);
    --panel-2-border-top-ink: var(--default-highlight-ink);
    --panel-2-border-left-ink: var(--default-highlight-ink);
    --panel-2-border-right-ink: none;
    --panel-2-border-bottom-ink: none;
    --panel-2-shadow: var(--default-shadow);
    /* panel type 3: Blog articles */
    --panel-3-paper: var(--area-1-paper);
    --panel-3-ink: var(--area-1-ink);
    --panel-3-border-top-ink: var(--default-highlight-ink);
    --panel-3-border-left-ink: var(--default-highlight-ink);
    --panel-3-border-right-ink: var(--default-highlight-ink);
    --panel-3-border-bottom-ink: var(--default-highlight-ink);
    --panel-3-shadow: var(--default-shadow);
    --panel-3-accent: var(--area-1-accent);
    --panel-3-title-ink: var(--panel-3-ink);
    --panel-3-subtitle-ink: var(--default-highlight-ink);
    /* container type 1: scrollbar track on area type 7 */
    --container-1-paper: transparent;
    /* button type 1: generic button */
    --button-1-paper: rgb(65.5, 234.3808290155, 255);
    --button-1-ink: #F9F9F9;
    --button-1-hover-paper: rgb(0, 126.5492227979, 142);
    /* handle type 1: scrollbar handle on container type 1 */
    --handle-1-ink: rgb(106.5, 106.5, 106.5);
    --handle-1-hover-ink: #515151;
    /* Resources section - dark mode colors */
    --card-bg: #515151;
    --card-border: rgb(106.5, 106.5, 106.5);
    --accent-primary: rgb(65.5, 234.3808290155, 255);
    --accent-secondary: #EAEAEA;
    --content-body: #EAEAEA;
    /* Project description cards - dark mode (missing variables) */
    --project-card-border-top-ink: var(--panel-1-border-top-ink);
    --project-card-border-left-ink: var(--panel-1-border-left-ink);
    --project-card-border-right-ink: var(--panel-1-border-right-ink);
    --project-card-border-bottom-ink: var(--panel-1-border-bottom-ink);
    --project-card-shadow: var(--default-shadow);
    --project-card-ink: var(--panel-1-ink);
    --project-card-paper: var(--panel-1-paper);
    --project-card-subtitle-font-size: var(--default-font-subtitle-2-size);
    --project-card-subtitle-font-weight: bold;
    --project-card-subtitle-ink: var(--panel-1-subtitle-ink);
    --project-card-title-font-size: var(--default-font-subtitle-size);
    --project-card-title-ink: var(--panel-1-title-ink);
    --project-card-quote-ink: var(--panel-1-ink);
    --project-card-quote-font-size: normal;
    --project-card-quote-font-style: normal;
    --project-card-quote-font-weight: normal;
    --project-card-quote-sig-font-size: var(--default-font-caption-size);
    --project-card-quote-sig-font-style: normal;
    --project-card-quote-sig-font-weight: bold;
  }
}
/*
 * Note: prefer not to use sass variables ($foo) below this point, and use
 * mainly css custom properties instead since these can be changed
 * dynamically at the css level itself through checkbox :checked, or media
 * queries like prefers-color-scheme. In contrast, all $-variables are
 * expanded away at sass preprocessing time.
 */
/*
 * mapping from roles to concrete element properties
 */
html {
  /* font defaults */
  --body-font-family: var(--default-font-body-family);
  --body-font-large-size: var(--default-font-body-large-size);
  --body-font-size: var(--default-font-body-size);
  --body-font-weight: var(--default-font-body-weight);
  --caption-font-family: var(--default-font-caption-family);
  --caption-font-weight: var(--default-font-caption-weight);
  --h1-font-size: var(--default-font-headline-size);
  --h2-font-size: var(--default-font-title-size);
  --h3-font-size: var(--default-font-subtitle-size);
  --h4-font-size: var(--default-font-subtitle-2-size);
  --h5-font-size: var(--default-font-subtitle-3-size);
  --h6-font-size: var(--default-font-subtitle-4-size);
  --headline-font-family: var(--default-font-headline-family);
  --headline-font-weight: var(--default-font-headline-weight);
  --subtitle-font-family: var(--default-font-subtitle-family);
  --subtitle-font-weight: var(--default-font-subtitle-weight);
  --title-font-family: var(--default-font-title-family);
  --title-font-weight: var(--default-font-title-weight);
  /* global colour defaults (TODO: should mostly be part of area designs instead) */
  --body-ink: var(--default-ink);
  --body-paper: var(--default-paper);
  --alert-icon-ink: var(--area-1-alert-ink);
  --anchor-ink: var(--area-0-link-ink);
  --hr-line-accent-paper: var(--area-1-accent);
  /* the page background, area type 0 */
  --main-ink: var(--area-0-ink);
  --main-paper: var(--area-0-paper);
  /* transparent sections on top of page background, area type 7 */
  --section-bg-transp-paper: var(--area-7-paper);
  /* dark semitransparent section */
  --section-bg-smoke-paper: var(--area-8-paper);
  /* scrollbar on top of page background */
  --scrollbar-track-paper: var(--container-1-paper);
  --scrollbar-thumb-ink: var(--handle-1-ink);
  --scrollbar-thumb-hover-ink: var(--handle-1-hover-ink);
  /* icons (relate icon sizes to headings) */
  --alert-icon-font-size: var(--h1-font-size);
  --contact-icon-size: var(--h3-font-size);
  --icon-accent-size: var(--h3-font-size);
  --footer-icon-size: var(--h2-font-size);
  --team-member-icon-size: var(--h4-font-size);
  /* generic button */
  --button-font-family: var(--default-font-button-family);
  --button-font-size: var(--default-font-button-size);
  --button-font-weight: var(--default-font-button-weight);
  --button-hover-paper: var(--button-1-hover-paper);
  --button-ink: var(--button-1-ink);
  --button-paper: var(--button-1-paper);
  /* call to action text */
  --call-to-action-font-size: var(--default-font-subtitle-size);
  /* the light (white in orig mode) sections, area type 1 */
  --icon-accent-ink: var(--area-1-icon-accent);
  --bullet-accent-ink: var(--area-1-accent);
  /* the opaque light sections (white in orig mode), area type 9 */
  --section-bg-white-paper: var(--area-9-paper);
  /* news section (based on light section) */
  --news-border-ink: var(--area-1-accent);
  --news-content-font-size: var(--default-font-body-small-size);
  --news-content-font-weight: normal;
  --news-date-font-size: var(--default-font-subtitle-4-size);
  --news-date-font-style: italic;
  --news-date-font-weight: normal;
  --news-title-font-size: var(--default-font-subtitle-2-size);
  /* contact section (based on opaque light section) */
  --contact-font-family: var(--default-font-subtitle-family);
  --contact-font-size: var(--default-font-subtitle-3-size);
  --contact-font-small-size: calc(var(--contact-font-size) * 0.9); /* shrunken for multiline texts */
  --contact-font-weight: bold;
  --contact-icon-box-border-ink: var(--area-9-icon-ink);
  --contact-ink: var(--area-9-ink);
  --contact-icon-ink: var(--area-9-icon-ink);
  --contact-link-ink: var(--area-9-link-ink);
  --contact-triangle-fill: var(--area-9-paper-opaque); /* cannot be a gradient or null */
  /* the light-ish (grey in orig mode) sections, area type 3 */
  --section-bg-light-paper: var(--area-3-paper);
  /* the dark (black in orig mode) sections, area type 2 */
  --section-bg-black-paper: var(--area-2-paper);
  --section-bg-black-ink: var(--area-2-ink);
  /* banner at top of about page (based on dark section) */
  --page-banner-bg-border-ink: var(--area-2-accent);
  --page-banner-bg-paper: var(--area-2-paper);
  /* banner with headline at top of home page (based on dark section) */
  --home-banner-paper: var(--area-2-paper);
  --home-banner-ink: var(--area-2-ink);
  /* footer (based on dark blue section) */
  --footer-icon-ink: var(--area-6-icon-ink);
  --footer-link-font-size: var(--default-font-subtitle-2-size);
  --footer-link-ink: var(--area-6-link-ink);
  --footer-copyright-font-size: var(--default-font-caption-size);
  --footer-copyright-ink: var(--area-6-caption-ink);
  /* the top nav menu bar, area type 4 */
  --topnav-burger-icon-ink: var(--area-4-icon-ink);
  --topnav-ink: var(--area-4-ink);
  --topnav-paper: var(--area-4-paper);
  --topnav-active-font-weight: bold;
  --topnav-font-size: var(--button-font-size); /* relate nav item font to button font */
  --topnav-font-weight: var(--button-font-weight); /* relate nav item font to button font */
  --topnav-link-active-ink: var(--area-4-accent);
  --topnav-link-hover-ink: var(--area-4-accent);
  --topnav-link-ink: var(--area-4-link-ink);
  --topnav-link-underline-ink: var(--area-4-accent);
  --topnav-border-ink: var(--area-4-edge-ink);
  /* the mobile nav menu, area type 5 (and inheriting from top nav menu) */
  --mobilenav-border-accent-ink: var(--area-5-edge-ink);
  --mobilenav-burger-close-icon-ink: var(--area-5-icon-ink);
  --mobilenav-font-size: var(--default-font-title-size);
  --mobilenav-hover-font-weight: bold;
  --mobilenav-hover-ink: var(--area-5-hover-ink);
  --mobilenav-ink: var(--area-5-ink);
  --mobilenav-paper: var(--area-5-paper);
  /* the dark-ish (dark blue in orig mode) sections, area type 6 */
  --section-bg-blue-paper: var(--area-6-paper);
  --section-bg-blue-ink: var(--area-6-ink);
  --section-bg-darkcode-paper: var(--area-6-paper);
  --section-bg-darkcode-ink: var(--area-6-ink);
  /* project description cards, panel type 1 */
  --project-card-border-top-ink: var(--panel-1-border-top-ink);
  --project-card-border-left-ink: var(--panel-1-border-left-ink);
  --project-card-border-right-ink: var(--panel-1-border-right-ink);
  --project-card-border-bottom-ink: var(--panel-1-border-bottom-ink);
  --project-card-shadow: var(--default-shadow);
  --project-card-ink: var(--panel-1-ink);
  --project-card-paper: var(--panel-1-paper);
  --project-card-subtitle-font-size: var(--default-font-subtitle-2-size);
  --project-card-subtitle-font-weight: bold;
  --project-card-subtitle-ink: var(--panel-1-subtitle-ink);
  --project-card-title-font-size: var(--default-font-subtitle-size);
  --project-card-title-ink: var(--panel-1-title-ink);
  --project-card-quote-ink: var(--panel-1-ink);
  --project-card-quote-font-size: normal;
  --project-card-quote-font-style: normal;
  --project-card-quote-font-weight: normal;
  --project-card-quote-sig-font-size: var(--default-font-caption-size);
  --project-card-quote-sig-font-style: normal;
  --project-card-quote-sig-font-weight: bold;
  /* team member cards, panel type 2 */
  --team-member-border-top-ink: var(--panel-2-border-top-ink);
  --team-member-border-left-ink: var(--panel-2-border-left-ink);
  --team-member-border-right-ink: var(--panel-2-border-right-ink);
  --team-member-border-bottom-ink: var(--panel-2-border-bottom-ink);
  --team-member-shadow: var(--panel-2-shadow);
  --team-member-paper: var(--panel-2-paper);
  --team-member-ink: var(--panel-2-ink);
  --team-member-icon-ink: var(--panel-2-ink);
  --team-member-quote-ink: var(--team-member-ink);
  --team-member-quote-font-style: normal;
  --team-member-quote-font-weight: normal;
  --team-member-quote-font-size: larger;
  /* Blog articles, panel type 3 */
  --blog-article-border-top-ink: var(--panel-3-border-top-ink);
  --blog-article-border-left-ink: var(--panel-3-border-left-ink);
  --blog-article-border-right-ink: var(--panel-3-border-right-ink);
  --blog-article-border-bottom-ink: var(--panel-3-border-bottom-ink);
  --blog-article-shadow: var(--default-shadow);
  --blog-article-ink: var(--panel-3-ink);
  --blog-article-paper: var(--panel-3-paper);
  --blog-article-subtitle-font-size: var(--default-font-subtitle-2-size);
  --blog-article-subtitle-font-weight: bold;
  --blog-article-subtitle-ink: var(--panel-3-subtitle-ink);
  --blog-article-title-font-size: var(--default-font-subtitle-size);
  --blog-article-title-ink: var(--panel-3-title-ink);
  --blog-article-quote-ink: var(--panel-3-ink);
  --blog-article-quote-font-size: var(--default-font-body-large-size);
  --blog-article-quote-font-style: normal;
  --blog-article-quote-font-weight: normal;
  --blog-article-quote-sig-font-size: var(--default-font-caption-size);
  --blog-article-quote-sig-font-style: normal;
  --blog-article-quote-sig-font-weight: bold;
  --blog-category-font-size: var(--default-font-caption-size);
  /* what-sparks-our-interest cards */
  --txt-career-subtitle-font-size: var(--default-font-title-size);
  --career-core-title-font-size: var(--default-font-subtitle-size);
}

/*
 * css element implementations
 */
html {
  /* do not set size of html element itself - leave it as auto
  */
  /* Rem and px: Most browsers use 16px as the default root font size, and
     scaling this by 62.5% (10/16) results in a root font size such that
     1rem equals 10px, which makes it easy to relate default rems and px
     while still being responsive when a user has changed the base font
     setting.

     Font scaling: 10px is equal to 1vw at 1000px width, so 1vw is a good
     basis for scaling the font with the browser window size. With body
     text no smaller than 14px (11pt) for legibility on a small device,
     and at most 23px (17pt) on a laptop display, we should be at 14/16 =
     87.5% on a 320px screen (1vw=3.2), and at 23/16 = 143.75% on a
     1440px screen (1vw=14.4). This yields the base size 100% at a screen
     width of 320 + (1440-320)*(16-14)/(23-14) = 569px, corresponding to
     lines of about 50-80 characters depending on the font and the
     margins - just what we want for readability.

     Ideally we would like to scale the font by 14/16 + (23-14)/16 *
     (100vw-320)/(1440-320) for varying viewport widths. However, we need
     to express the size as a percentage of the inherited root font size,
     thus: 87.5% + (143.75% - 87.5%) * (100vw-320)/1120. But because 1vw
     is a length, and CSS calc() does not allow lengths to be divided or
     multiplied, we cannot use vw to compute a unitless scale factor to
     apply to a percentage. Instead we use percent (of the inherited
     size) for the low end only, and add a term that scales with the
     width but not with the setting for the root font: 87.5% +
     (23-14)*(100vw-320px)/1120, which simplifies to 87.5% + 0.8036vw -
     2.571px.

     Finally, scaling this by 10/16 to make 1rem = 10px at 569px, we get
     the formula 54.69% + 0.5022vw - 1.607px.

     With this scaling of the root font size, a 1.6rem font will be 23px
     at 1440px viewport width. Hence, if you want a font to have size F
     px at 1440px width, its unscaled size should be 1.6*F/23; for
     example, 60px @1440 implies a 4.174rem font (41.74 px @569).

     Assuming an 'ideal' aspect of 16:9, we can substitute vh*(16/9) for
     vw in the scale factor, or 0.8929vh after rem scaling. To handle
     extreme proportions like ultrawide screens (around 21:9), we can
     then calculate sizes both for vw and vh and take the smallest, to
     effectively limit the proportions to 16:9 in landscape mode.
  */
  font-size: 62.5%; /* 1.6rem=16px */
  font-size: clamp(54.69%, 54.69% + min(0.5022vw, 0.8929vh) - 1.607px, 400%);
}

body {
  /* note: it's best to leave a default solid colour on the body
     and use a sub-element like main for the actual background
  */
  min-height: 100vh; /* ensure body covers whole viewport */
  background: var(--body-paper); /* just a fallback background */
  margin: 0;
  padding: 0;
  color: var(--body-ink);
  /* note: line heights should be unitless - the inheritance behaviour of
     line height using em/rem, %, or px, is almost never what you want!
     (the default is typically about 1.2, but around 1.5 is recommended
     for general readability and accessibility)
  */
  line-height: 1.4;
  font-family: var(--body-font-family);
  font-weight: var(--body-font-weight);
  font-size: var(--body-font-size);
}

main {
  padding-top: 6rem; /* make room for navbar at the top */
  background: var(--main-paper);
  color: var(--main-ink);
}

.banner-title {
  font-family: var(--default-font-display-family);
  font-weight: var(--default-font-display-weight);
  font-size: var(--default-font-display-size);
  color: inherit;
  margin: 0;
  padding: 0;
  text-align: center;
}

a {
  color: var(--anchor-ink);
  text-decoration: none;
}

a.link:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

h1, .txt-headline {
  font-family: var(--headline-font-family);
  font-weight: var(--headline-font-weight);
}

h2, .txt-title {
  font-family: var(--title-font-family);
  font-weight: var(--title-font-weight);
}

h3, h4, h5, h6, .txt-subtitle {
  font-family: var(--subtitle-font-family);
  font-weight: var(--subtitle-font-weight);
}

.txt-secondary {
  font-family: var(--caption-font-family);
  font-weight: var(--caption-font-weight);
}

code, pre {
  font-family: var(--default-font-code-family);
  font-weight: var(--default-font-code-weight);
}

.markdown-body pre,
.markdown-body code {
  font-family: var(--default-font-code-family);
  font-size: 0.95em;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.2em 0.4em;
  border-radius: 4px;
}

blockquote {
  font-family: var(--default-font-quote-family);
  font-weight: var(--default-font-quote-weight);
  font-style: italic;
  border-left: 4px solid var(--area-1-accent);
  padding-left: 1.5rem;
  margin-left: 0;
  color: inherit;
}

h1 {
  font-size: var(--h1-font-size);
}

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

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

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  margin-left: auto;
  margin-right: auto;
}

ul, ol {
  margin: 0;
  padding: 0 0 0 2rem;
}

ul > li, ol > li {
  margin: 0.3em 0;
}

.extra-indent {
  margin-left: 0.75rem;
}

.text-medium {
  font-size: var(--body-font-large-size);
}

.txt-copyright {
  font-size: var(--footer-copyright-font-size);
  color: var(--footer-copyright-ink);
}

.txt-career-subtitle {
  font-size: var(--txt-career-subtitle-font-size);
}

span.desc {
  border-bottom: 1px dotted;
}

span.desc:hover {
  border-bottom: 1px solid;
}

.bx-viewport,
.bx-wrapper { /* jquery */
  clear: both;
}

.bx-wrapper .bx-viewport { /* jquery */
  border: none !important;
}

a.anchor {
  display: block;
  position: relative;
  top: -110px;
  visibility: hidden;
}

.button {
  display: inline-block;
  cursor: default;
  font-size: var(--button-font-size);
  color: var(--button-ink);
  background: var(--button-paper);
  margin-top: 2rem;
  padding: 1rem 3rem;
  text-decoration: none;
  border-radius: 1.2rem;
  border: none;
  transition: background-color 200ms linear;
  font-family: var(--button-font-family);
  font-weight: var(--button-font-weight);
  text-align: left;
}

.button:hover {
  cursor: pointer;
  cursor: hand;
  background-color: var(--button-hover-paper);
}

hr.line-accent {
  border: none;
  height: 4px;
  background: var(--hr-line-accent-paper);
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 4px;
  max-width: 8rem;
}

hr.line-accent.tight {
  margin-bottom: 0;
  margin-top: 0.8rem;
}

.grid {
  /* combine with halves/thirds/fourths to set width and gap right */
  display: flex;
  flex-wrap: wrap;
}

.column {
  box-sizing: border-box;
  flex: 1;
}

.halves {
  column-gap: 2%; /* =< 100 - 2*column */
  row-gap: 2rem; /* not percent since height is not fixed */
}

.halves .column {
  flex: 0 0 49%;
}

.thirds {
  column-gap: 2%; /* =< 100 - 3*column */
  row-gap: 2rem; /* not percent since height is not fixed */
}

.thirds .column {
  flex: 0 0 32%;
}

.fourths {
  column-gap: 1%; /* =< 100 - 4*column */
  row-gap: 2rem; /* not percent since height is not fixed */
}

.fourths .column {
  flex: 0 0 24%;
}

.section {
  display: block;
  width: 100%;
  padding: 3rem 0;
  position: relative;
}

.section-tight {
  display: block;
  width: 100%;
  padding: 0;
  position: relative;
}

.section-content {
  max-width: 101rem; /* typically yields 100% width on a 1440px screen */
  margin: 0 auto;
  padding: 0 4rem;
  box-sizing: border-box;
}

.section-content-full {
  max-width: 101rem; /* typically yields 100% width on a 1440px screen */
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.section-half-left-content {
  margin: 0 auto;
  padding: 3rem 0 3rem 4rem;
  box-sizing: border-box;
}

.section-bg-transp {
  background: #f6f7fa; /* Soft off-white for clean, modern look */
}

.section-bg-smoke {
  background: var(--section-bg-smoke-paper);
  backdrop-filter: blur(2px);
}

.section-bg-white {
  background: var(--section-bg-white-paper);
}

.section-bg-light {
  background: var(--section-bg-light-paper);
}

.desktop-center,
.text-align-center {
  text-align: center;
}

.center-desktop,
.center-all {
  margin-left: auto;
  margin-right: auto;
}

.size-half {
  width: 50%;
}

.home-banner {
  background: var(--home-banner-paper) url("/images/powerlines.jpeg") no-repeat center;
  background-size: cover;
  color: var(--home-banner-ink);
}

.align-left {
  margin-left: 0;
}

.section-bg-darkcode {
  background: var(--section-bg-darkcode-paper) url("/images/powerlines.jpeg") no-repeat center;
  background-size: cover;
  color: var(--section-bg-darkcode-ink);
}

.list-competences {
  font-size: var(--body-font-large-size);
  max-width: 45%;
}

.section-big {
  padding: 8rem 0 8rem 0;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.flex-align-center {
  align-items: center;
}

.flex-align-self-end {
  align-self: flex-end;
}

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

.project-card {
  background: var(--project-card-paper);
  color: var(--project-card-ink);
  border-top: 1px solid var(--project-card-border-top-ink);
  border-left: 1px solid var(--project-card-border-left-ink);
  border-right: 1px solid var(--project-card-border-right-ink);
  border-bottom: 1px solid var(--project-card-border-bottom-ink);
  box-shadow: var(--project-card-shadow);
  width: 100%;
  height: fit-content;
  margin-bottom: 2rem;
}

.blog-article {
  background: var(--blog-article-paper);
  color: var(--blog-article-ink);
  border-top: 1px solid var(--blog-article-border-top-ink);
  border-left: 1px solid var(--blog-article-border-left-ink);
  border-right: 1px solid var(--blog-article-border-right-ink);
  border-bottom: 1px solid var(--blog-article-border-bottom-ink);
  box-shadow: var(--blog-article-shadow);
  width: 90%;
  max-width: 800px;
  height: fit-content;
  margin-bottom: 2rem;
}

.blog-sidebar {
  background-color: var(--area-1-paper); /* light section background */
  border-left: 4px solid var(--area-1-accent); /* turquoise accent */
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-size: var(--body-font-size);
  font-family: var(--default-font-body-family);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  color: var(--area-1-ink);
}

.txt-categories {
  font-size: var(--blog-category-font-size);
}

.section-bg-blue {
  background: var(--section-bg-blue-paper);
  color: var(--section-bg-blue-ink);
}

.section-bg-black {
  background: var(--section-bg-black-paper);
  color: var(--section-bg-black-ink);
}

.contact-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: var(--contact-font-size);
}

.contact-box p {
  font-size: var(--contact-font-small-size);
}

.contact-icon-box {
  width: calc(var(--contact-icon-size) * 2.5);
  height: calc(var(--contact-icon-size) * 2.5);
  border: 1px solid var(--contact-icon-box-border-ink);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-icon {
  color: var(--contact-icon-ink);
  font-size: var(--contact-icon-size);
}

.contact-content {
  max-height: calc(var(--contact-icon-size) * 2.5);
  width: 100%;
  font-family: var(--contact-font-family);
  font-weight: var(--contact-font-weight);
  color: var(--contact-ink);
}

h2.call-to-action {
  font-size: var(--call-to-action-font-size);
}

.contact-content p {
  margin-top: 0;
}

ul.bullets {
  list-style-type: none;
}

ul.bullets > li {
  text-indent: -0.6em; /* em, not rem; compensates for li::before */
}

ul.bullets > li::before {
  content: "• ";
  color: var(--bullet-accent-ink);
  position: relative;
  top: 0.05em; /* em, not rem */
  left: -0.3em; /* em, not rem */
  font-size: 1.3em; /* larger than normal, related to current font size */
}

.assignment-title {
  margin-bottom: 1.2rem;
  font-size: var(--project-card-title-font-size);
  color: var(--project-card-title-ink);
}

.assignment-subtitle {
  margin-bottom: 12px;
  font-weight: var(--project-card-subtitle-font-weight);
  font-size: var(--project-card-subtitle-font-size);
  color: var(--project-card-subtitle-ink);
}

.assignment-img {
  max-width: 190px;
  max-height: 80px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.assignment-quote {
  color: var(--project-card-quote-ink);
  font-style: var(--project-card-quote-font-style);
  font-weight: var(--project-card-quote-font-weight);
  font-size: var(--project-card-quote-font-size);
  font-family: var(--default-font-quote-family);
  font-style: italic;
  color: var(--project-card-quote-ink);
  margin: 1rem 0;
}

.assignment-quote-sig {
  color: var(--project-card-quote-ink);
  font-style: var(--project-card-quote-sig-font-style);
  font-weight: var(--project-card-quote-sig-font-weight);
  font-size: var(--project-card-quote-sig-font-size);
  font-family: var(--default-font-quote-family);
  text-align: right;
  margin-top: 0.5rem;
}

.text-description {
  max-width: 50%;
}

.img-slogan {
  width: 35rem;
  height: 100%;
}

ul.nav-links {
  list-style-type: none;
}

ul.nav-links li {
  display: inline-block;
}

ul.nav-links-mobile {
  margin-top: 8rem;
  list-style-type: none;
  text-align: center;
}

#top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
  box-sizing: border-box;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--topnav-border-ink);
  color: #333; /* Dark text for readability */
  background: var(--topnav-paper);
}

.top-nav-container {
  max-width: 101rem; /* typically yields 100% width on a 1440px screen */
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.nav-top-page a {
  position: relative;
  color: var(--topnav-link-ink);
  text-decoration: none;
  padding: 1rem 1.25rem;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.nav-links-mobile .nav-top-page,
.nav-links-mobile .nav-top-page a {
  color: var(--mobilenav-ink);
  font-size: var(--mobilenav-font-size);
}

.nav-top-page {
  font-weight: var(--topnav-font-weight);
  font-size: var(--topnav-font-size);
}

.nav-top-page.active {
  font-weight: var(--topnav-active-font-weight);
}

.nav-top-page.active a {
  color: var(--topnav-link-active-ink);
}

.nav-top-page a:hover {
  color: var(--topnav-link-hover-ink);
}

.nav-links-mobile .nav-top-page a:hover {
  color: var(--mobilenav-hover-ink);
  font-weight: var(--mobilenav-hover-font-weight);
}

.nav-top-page a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: 0;
  left: 0;
  border-radius: 2px;
  background: var(--topnav-link-underline-ink);
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
}

.nav-top-page a:hover::before,
.nav-top-page.active a::before {
  visibility: visible;
  transform: scaleX(1);
}

.icon-accent {
  color: var(--icon-accent-ink); /* NOTE: management icon is an image, not affected */
  font-size: var(--icon-accent-size);
  float: left;
  margin-right: 1rem;
}

.services-title {
  display: flex;
}

.service-link {
  color: var(--area-1-ink);
}

.service-link:hover {
  color: var(--area-1-ink);
  text-decoration: underline;
}

img.icon-accent {
  width: 3rem;
}

.triangle {
  fill: var(--contact-triangle-fill);
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-top: 12px;
  top: -46px;
}

.triangle-wrap {
  position: absolute;
  flex: inherit;
  width: 100%;
}

.footer-container {
  max-width: 101rem; /* typically yields 100% width on a 1440px screen */
  margin: 0 auto;
  padding: 0 3rem;
  box-sizing: border-box;
}

.footer-link,
.footer-link:visited,
.footer-link:hover {
  color: var(--footer-link-ink);
  font-size: var(--footer-link-font-size);
  text-decoration: none;
  display: inline-block;
  display: block;
  padding: 0.5rem 0.25rem;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-icon {
  font-size: var(--footer-icon-size);
  color: var(--footer-icon-ink);
}

.card {
  background: var(--card-bg);
  color: var(--content-body);
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  border-radius: 1.2rem;
  box-sizing: border-box;
}

.main_card {
  background-color: var(--panel-1-paper);
  color: var(--area-1-ink);
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 1200px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* Credibility Strip */
.credibility-strip {
  padding: 2rem 0;
  margin: 0 auto;
  background-color: var(--area-7-paper);
}

.credibility-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
}

.credibility-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.credibility-logo {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.credibility-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Fix for light-colored logos in light mode - credibility strip */
.credibility-logo[src*="laya.svg"] {
  filter: grayscale(100%) brightness(0) saturate(100%) invert(60%) sepia(8%) saturate(872%) hue-rotate(169deg) brightness(99%) contrast(86%);
}

.credibility-logo[src*="laya.svg"]:hover {
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

[data-theme=dark] .credibility-logo[src*="laya.svg"] {
  filter: grayscale(100%);
}

[data-theme=dark] .credibility-logo[src*="laya.svg"]:hover {
  filter: grayscale(0%);
}

.credibility-win {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--area-1-ink);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .credibility-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  .credibility-item {
    min-width: 100%;
  }
}
/* Service Packages */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.package-card {
  background: var(--panel-1-paper);
  border: 2px solid var(--area-1-accent);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.package-card.featured {
  border-color: var(--brand-highlight);
  border-width: 3px;
}

.package-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--brand-highlight);
  color: var(--brand-dark);
  padding: 0.3rem 1rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.package-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--area-1-accent);
  padding-top: 1.2rem;
}

.package-header h3 {
  margin: 0 0 0.5rem 0;
  color: var(--area-1-ink);
}

.package-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--area-1-accent);
  margin: 0.5rem 0;
}

.package-duration {
  font-size: 1rem;
  color: var(--area-1-ink);
  opacity: 0.8;
}

.package-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.package-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--area-1-ink);
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.package-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--area-1-ink);
}

.package-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--area-1-accent);
  font-weight: bold;
}

.package-cta {
  display: inline-block;
  background: var(--area-1-accent);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.package-cta:hover {
  background: var(--button-1-hover-paper);
  transform: translateX(4px);
}

/* Package Detail Pages */
.package-detail-hero {
  text-align: center;
  position: relative;
  padding: 2rem 0;
}

.package-detail-hero .badge-popular {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  background: var(--brand-highlight);
  color: var(--brand-dark);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
}

.package-tagline {
  font-size: 1.25rem;
  color: var(--area-1-accent);
  margin: 1rem 0;
  font-weight: 600;
}

.problem-content {
  max-width: 800px;
  margin: 0 auto;
}

.problem-content ul {
  list-style: none;
  padding: 0;
}

.problem-content li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
}

.problem-content li::before {
  content: "⚠️";
  position: absolute;
  left: 0;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.deliverable-item {
  background: var(--panel-1-paper);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--area-1-accent);
}

.deliverable-item h3 {
  margin: 0 0 1rem 0;
  color: var(--area-1-accent);
}

.timeline-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.timeline-week {
  background: var(--panel-1-paper);
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--area-1-accent);
}

.timeline-week h3 {
  margin: 0 0 1rem 0;
  color: var(--area-1-accent);
}

.timeline-week ul {
  margin: 0;
  padding-left: 1.5rem;
}

.package-pricing-section {
  text-align: center;
}

.pricing-box {
  background: var(--panel-1-paper);
  border: 2px solid var(--area-1-accent);
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  margin: 2rem auto;
}

.pricing-box.featured {
  border-color: var(--brand-highlight);
  border-width: 3px;
}

.price-main {
  font-size: 3rem;
  font-weight: 700;
  color: var(--area-1-accent);
  margin-bottom: 0.5rem;
}

.price-details {
  font-size: 1.1rem;
  color: var(--area-1-ink);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.price-includes {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.price-includes li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
}

.price-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--area-1-accent);
  font-weight: bold;
}

.price-note {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--area-1-ink);
  opacity: 0.8;
  margin-top: 1rem;
}

.value-comparison {
  background: var(--area-7-paper);
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.cta-section {
  margin-top: 3rem;
}

.cta-section h3 {
  margin-bottom: 1.5rem;
}

.cta-subtext {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--area-1-ink);
  opacity: 0.8;
}

.availability-note {
  background: var(--area-7-paper);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: center;
}

.team-member {
  color: var(--team-member-ink);
  background: var(--team-member-paper);
  border-top: 1px solid var(--team-member-border-top-ink);
  border-left: 1px solid var(--team-member-border-left-ink);
  border-right: 1px solid var(--team-member-border-right-ink);
  border-bottom: 1px solid var(--team-member-border-bottom-ink);
  box-shadow: var(--team-member-shadow);
}

.team-member-img {
  height: 12rem;
  background-size: cover;
  border-radius: 0.6rem;
}

.team-member-icon {
  font-size: var(--team-member-icon-size);
  color: var(--team-member-icon-ink);
}

.team-member .line-accent {
  height: 4px;
}

.team-member-stats {
  margin-top: 1rem;
}

.team-member-quote {
  color: var(--team-member-quote-ink);
  font-size: var(--team-member-quote-font-size);
  font-weight: var(--team-member-quote-font-weight);
  font-style: var(--team-member-quote-font-style);
}

.section-news {
  border-left: 4px solid var(--news-border-ink);
  padding-left: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  width: 30rem;
  min-height: 24rem;
}

.news-title {
  margin-bottom: 1rem;
  width: 100%;
}

.news-subtitle {
  font-size: var(--news-title-font-size);
}

.news-content,
.news-content p {
  font-size: var(--news-content-font-size);
  font-weight: var(--news-content-font-weight);
  margin-bottom: 0.5rem;
}

.news-date {
  font-size: var(--news-date-font-size);
  font-weight: var(--news-date-font-weight);
  font-style: var(--news-date-font-style);
  margin-bottom: 0.5rem;
}

.news-entry {
  margin-bottom: 1rem;
}

.news-holder {
  max-height: 100%;
  overflow-y: auto;
}

.section-news ::-webkit-scrollbar {
  width: 1rem;
}

.section-news ::-webkit-scrollbar-track {
  background: var(--scrollbar-track-paper);
}

.section-news ::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-ink);
}

.section-news ::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover-ink);
}

.fa-rotate-35 { /* custom fontawsome rotation */
  transform: rotate(-35deg);
}

.alert-icon {
  font-size: var(--alert-icon-font-size);
  color: var(--alert-icon-ink);
  margin-bottom: 1rem;
}

img.page-banner {
  width: 100%;
  background: var(--page-banner-bg-paper);
  border-bottom: 4px solid var(--page-banner-bg-border-ink);
}

.contact-link {
  text-decoration: none;
  color: var(--contact-link-ink);
}

.contact-link:hover {
  text-decoration: underline;
}

.mobile {
  display: none !important;
  visibility: hidden;
}

.desktop {
  visibility: visible;
}

.img-div {
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0;
  height: 100%;
}

.code-hand-bg {
  background-image: url("/images/contact.jpeg");
}

.specialist-text {
  width: 55%;
}

.img-panel {
  height: 30rem;
  width: auto;
  border-radius: 1.2rem;
}

.img-blog {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
}

.img-blog-smaller {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 50%;
  height: auto;
  border-radius: 1.2rem;
}

/* This could ge generalized to some base stuff instead for another class */
.career-core-title {
  font-size: var(--career-core-title-font-size);
  margin-bottom: 1.6rem;
}

.line-accent-center {
  width: 60%;
}

#mobilenav {
  position: absolute;
  width: 100%;
  height: 100vh;
  background: var(--mobilenav-paper);
  top: 0;
  visibility: hidden;
  opacity: 0;
  left: 0;
  transition: all 0.1s ease-in 0s;
  overflow: scroll;
}

#mobilenav.open {
  visibility: visible;
  opacity: 1;
  z-index: 9;
  transition: all 0.1s ease-in 0s;
  overflow: scroll;
}

.hidden {
  visibility: hidden;
  display: none;
}

.nav-logo {
  z-index: 20;
}

.nav-logo-img {
  width: 9rem;
  padding-top: 1rem;
  padding-left: 1.25rem;
}

.footer-logo-img {
  width: 9rem;
}

.competences-wrap {
  max-width: 65rem;
}

.section-txt {
  max-width: 50rem;
}

.txt-centered {
  text-align: center;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
}

/* some tweaks for smaller widths not small enough to use mobile layout */
@media (max-width: 1023px) {
  .thirds .column {
    flex: 0 0 49%; /* behave like halves instead */
  }
  .thirds {
    column-gap: 2%; /* =< 100 - 2*column */
  }
}
@media (max-width: 768px) {
  .grid {
    display: block;
  }
  .competences-wrap {
    max-width: 100%;
  }
  .services-column {
    width: 100%;
    max-width: 100%;
  }
  .text-description {
    max-width: 100%;
    min-width: 100%;
  }
  .button {
    width: 100%;
    text-align: center;
  }
  .button-link {
    width: 100%;
  }
  .section-news {
    border-left: none;
    border-top: 2px solid var(--news-border-ink);
    border-bottom: 2px solid var(--news-border-ink);
    margin-top: 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .border-accent {
    background: var(--mobilenav-border-accent-ink);
    height: 5px;
    width: 100%;
  }
  .contact-box {
    width: 100%;
    min-width: 100%;
  }
  .img-div {
    height: 30rem;
    width: 100%;
  }
  .code-hand-bg {
    background: url("/images/code_hand_mobile.jpg") no-repeat cover;
  }
  .mobile {
    display: block !important;
    visibility: visible;
  }
  .desktop {
    display: none !important;
    visibility: hidden;
  }
  .desktop-center {
    text-align: left;
  }
  .size-half {
    width: 100%;
  }
  .list-competences {
    min-width: 100%; /* overrides max-width */
  }
  .center-desktop {
    margin-left: 0;
  }
  .img-slogan {
    width: 30rem;
  }
  .blog-article {
    background: var(--blog-article-paper);
    color: var(--blog-article-ink);
    border-top: 1px solid var(--blog-article-border-top-ink);
    border-left: 1px solid var(--blog-article-border-left-ink);
    border-right: 1px solid var(--blog-article-border-right-ink);
    border-bottom: 1px solid var(--blog-article-border-bottom-ink);
    box-shadow: var(--blog-article-shadow);
    width: 90%;
    height: fit-content;
    margin-bottom: 2rem;
  }
  .blog-article-title {
    color: var(--panel-3-subtitle-ink);
  }
  .blog-article-link {
    color: #ff1010;
  }
  .specialist-text {
    width: 100%;
  }
  .team-member {
    width: 100%;
    margin-top: 1.5rem;
  }
  .img-panel {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: auto;
  }
  .flex-center {
    align-items: start;
    justify-content: start;
  }
  .home-banner {
    background: var(--home-banner-paper) url("/images/code_blue_mobile.jpg") no-repeat center;
  }
  .section-big-desktop {
    padding: 5.4rem 0 5.4rem 0;
  }
  .section-half-left-content {
    padding: 3rem 4rem;
  }
  .line-accent-center {
    width: 30%;
  }
}
#ham-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
  cursor: pointer;
  z-index: 10;
}

#ham-icon span {
  display: block;
  position: absolute;
  height: 0.4rem;
  width: 100%;
  background: var(--topnav-burger-icon-ink);
  border-radius: 4px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

#ham-icon.open span {
  background: var(--mobilenav-burger-close-icon-ink);
}

#ham-icon span:nth-child(1) {
  top: 0px;
}

#ham-icon span:nth-child(2),
#ham-icon span:nth-child(3) {
  top: 8px;
}

#ham-icon span:nth-child(4) {
  top: 16px;
}

#ham-icon.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#ham-icon.open span:nth-child(2) {
  transform: rotate(45deg);
}

#ham-icon.open span:nth-child(3) {
  transform: rotate(-45deg);
}

#ham-icon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.orig-only {
  display: none;
}

.orig-theme .orig-only {
  display: revert;
}

/* Resources Page Styles */
.resource-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border); /* Subtle divider */
}
.resource-header h2 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  color: var(--content-heading);
}

.resource-subtitle {
  font-size: 1.2rem;
  color: var(--content-subheading);
  margin: 1rem 0 2rem 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  line-height: 1.4;
}

/* Category Filters */
.resource-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .resource-filters {
    gap: 0.4rem;
    margin: 1.5rem -0.5rem;
  }
}

.filter-btn {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  color: var(--content-body);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}
@media (max-width: 768px) {
  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}
.filter-btn:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}
.filter-btn:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
.filter-btn.active {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

/* Search Bar */
.resource-search {
  position: relative;
  max-width: 400px;
  margin: 0 auto 2rem;
}
.resource-search input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 2px solid var(--card-border);
  border-radius: 25px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--card-bg);
  color: var(--content-body);
}
.resource-search input:focus {
  outline: none;
  border-color: var(--accent-primary);
}
.resource-search i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--content-subheading);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem; /* Increased spacing between cards */
  margin-bottom: 4rem; /* More bottom margin */
  padding-top: 4rem;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 2rem; /* Increased mobile spacing too */
    padding-top: 3rem;
  }
}

.resource-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem; /* Increased padding for better spacing */
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); /* Subtle base shadow */
  color: var(--content-body); /* Ensure dark text for readability */
}
.resource-card h3 {
  font-family: "Baloo 2", sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.4rem;
  margin: 0.5rem 0 0.75rem 0;
  color: var(--content-body);
  line-height: 1.3;
}
.resource-card:hover {
  transform: translateY(-2px); /* Reduced hover movement */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* Lighter hover shadow */
  border-color: var(--accent-primary);
  z-index: 10;
}
.resource-card:focus-within {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* New/Popular Badges */
.badge-new, .badge-popular {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}

.badge-new {
  background: #28a745;
  color: white;
}

.badge-popular {
  background: #ff6b6b;
  color: white;
  right: auto;
  left: 4rem; /* Move further right to avoid logo overlap */
}

/* Move badges to left when featured ribbon is present */
.resource-card .featured-ribbon ~ .badge-new {
  right: auto;
  left: 1rem;
}

/* Resource meta container for category and inline badges */
.resource-meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Inline badges - styled consistently with category badge */
.badge-new-inline,
.badge-popular-inline {
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  display: inline-block;
  vertical-align: baseline;
}

.badge-new-inline {
  background: #4caf50;
  color: white;
}

.badge-popular-inline {
  background: #ff6b6b;
  color: white;
}

/* Ensure category badge matches inline badges height */
.resource-category {
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  display: inline-block;
  vertical-align: baseline;
}

/* FORCE DARK MODE COLORS FOR ALL SECTIONS */
@media (prefers-color-scheme: dark) {
  /* Fix section backgrounds */
  .section-bg-transp {
    background: #1a1a1a !important;
    color: #eaeaea !important;
  }
  /* Fix all text in sections */
  .section-bg-transp,
  .section-bg-transp *,
  .section-content,
  .section-content *,
  .section *,
  main *,
  p, h1, h2, h3, h4, h5, h6, li, div {
    color: #eaeaea !important;
  }
  /* Fix project cards specifically */
  .card,
  .project-card,
  .section .card.project-card,
  .section-content .card.project-card,
  div.card.project-card {
    background: #2d3748 !important;
    color: #eaeaea !important;
    border-color: #4a5568 !important;
  }
  .card *,
  .project-card *,
  .card.project-card *,
  .section .card.project-card * {
    color: #eaeaea !important;
  }
  /* Fix button colors in dark mode - keep brand turquoise for primary actions */
  .btn-primary,
  a.btn-primary {
    background: #00ACC1 !important;
    color: #ffffff !important;
    border-color: #00ACC1 !important;
  }
  .btn-primary:hover,
  a.btn-primary:hover {
    background: #008a9e !important;
    color: #ffffff !important;
    border-color: #008a9e !important;
  }
  /* Fix featured ribbon text readability - keep dark text on yellow background */
  .featured-ribbon span {
    color: #333 !important;
    background: linear-gradient(135deg, #ffd700, #ffed4e) !important;
  }
  /* Make version text subtle in dark mode too */
  .txt-copyright span {
    color: #4a6077 !important;
  }
  .btn,
  .btn-secondary,
  .button,
  a.btn,
  a.btn-secondary {
    background: #4a5568 !important;
    color: #ffffff !important;
    border-color: #4a5568 !important;
  }
  /* Fix outline button in dark mode */
  .btn-outline {
    background: transparent !important;
    border: 2px solid #00ACC1 !important;
    color: #00ACC1 !important;
  }
  .btn-outline:hover {
    background: #00ACC1 !important;
    color: white !important;
  }
  .btn:hover,
  .btn-secondary:hover,
  .button:hover,
  a.btn:hover,
  a.btn-secondary:hover {
    background: #2d3748 !important;
    color: #ffffff !important;
    border-color: #2d3748 !important;
  }
  /* Fix filter buttons (Books, Courses, Blog, etc.) */
  .filter-btn,
  .resource-filters button,
  .resource-filters .filter-btn {
    background: #374151 !important;
    color: #e5e7eb !important;
    border-color: #4b5563 !important;
  }
  .filter-btn:hover,
  .resource-filters button:hover,
  .resource-filters .filter-btn:hover {
    background: #4b5563 !important;
    color: #ffffff !important;
    border-color: #6b7280 !important;
  }
  .filter-btn.active,
  .resource-filters button.active,
  .resource-filters .filter-btn.active {
    background: #00ACC1 !important;
    color: #ffffff !important;
    border-color: #00ACC1 !important;
  }
  /* Fix category badges on resource cards - more subtle in dark mode */
  .resource-category,
  .badge,
  .badge-course,
  .badge-framework,
  .badge-book,
  .badge-blog,
  .badge-guide,
  span.resource-category {
    background: #4a6c7a !important;
    color: #e2e8f0 !important;
  }
  /* Inline badges in dark mode */
  .badge-new-inline {
    background: #5a7a5a !important;
    color: #e0f0e0 !important;
  }
  .badge-popular-inline {
    background: #8b5a5a !important;
    color: #f0d0d0 !important;
  }
  /* Fix endorsements/testimonials section */
  .authority-block,
  .endorsements-section,
  .testimonials-section,
  .sponsors-section,
  .suggest-resource {
    background: #2d3748 !important;
    color: #eaeaea !important;
    border-color: #4a5568 !important;
  }
  .authority-block *,
  .endorsements-section *,
  .testimonials-section *,
  .sponsors-section *,
  .suggest-resource * {
    color: #eaeaea !important;
  }
  /* Fix testimonials on resource detail pages */
  .resource-testimonials {
    background: #2d3748 !important;
    color: #eaeaea !important;
    border-color: #4a5568 !important;
  }
  .resource-testimonials h3 {
    color: #eaeaea !important;
  }
  .testimonial {
    background: #374151 !important;
    color: #eaeaea !important;
    border-left-color: #00ACC1 !important;
  }
  .testimonial p,
  .testimonial cite {
    color: #eaeaea !important;
  }
}
/* Featured Ribbon */
.featured-ribbon {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 80px;
  height: 80px;
  overflow: hidden;
  z-index: 2;
}
.featured-ribbon span {
  position: absolute;
  display: block;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 20px;
  width: 120px;
  top: 20px;
  right: -30px;
  transform: rotate(45deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Category Icon */
.category-icon {
  font-size: 3rem;
  display: block;
  text-align: center;
  line-height: 60px;
}

.resource-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.resource-icon i {
  font-size: 2rem;
  color: var(--accent-primary);
}

.resource-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.resource-content h3 {
  margin: 0 0 0.5rem 0;
  font-family: "'Baloo 2', sans-serif";
  font-weight: 700;
  color: var(--content-heading);
}

.resource-category {
  display: inline-block;
  background: var(--accent-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.resource-description {
  color: var(--content-body);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  flex: 1;
}

.resource-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  align-items: center;
}

/* Hover Testimonial - Tooltip Style */
.hover-testimonial {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #1f2937;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 20;
  max-width: 280px;
  width: max-content;
  margin-bottom: 0.5rem;
  /* Arrow pointing down */
}
.hover-testimonial::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #1f2937;
}
.hover-testimonial p {
  font-style: italic;
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.4;
}
.hover-testimonial cite {
  font-size: 0.75rem;
  opacity: 1;
  display: block;
  text-align: right;
  color: #d1d5db;
}

.resource-card:hover .hover-testimonial {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* Copy URL Button */
.btn-icon {
  background: transparent;
  border: 2px solid var(--card-border);
  color: var(--content-body);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-icon:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}
.btn-icon i {
  font-size: 0.875rem;
}

.authority-block {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 3rem;
  /* Fix outline button readability on dark background */
}
.authority-block .btn-outline {
  border-color: white;
  color: white;
}
.authority-block .btn-outline:hover {
  background: white;
  color: var(--accent-primary);
}

.badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.authority-text {
  font-size: 1.1rem;
  margin: 1rem 0;
  opacity: 0.9;
}

.authority-sponsors {
  font-size: 0.95rem;
  margin: 1rem 0;
  opacity: 0.8;
  font-style: italic;
}

/* Resource Detail Pages */
.resource-detail-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .resource-detail-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.resource-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.resource-meta h1 {
  margin: 0.5rem 0 1rem 0;
  color: var(--content-heading);
}

.resource-shortdesc {
  font-size: 1.2rem;
  color: var(--content-subheading);
  margin-bottom: 1.5rem;
}

.resource-actions-hero {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.resource-testimonials {
  background: var(--testimonial-bg, #f8f9fa);
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
}
.resource-testimonials h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--content-heading);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-primary);
  margin: 0;
  font-style: italic;
  color: var(--content-body);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.resource-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.resource-badges .badge {
  background: var(--accent-primary);
  color: white;
}

/* Resource-specific badges on cards */
.resource-specific-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: auto 0 1rem 0;
  align-items: center;
}
.resource-specific-badges .badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-weight: 600;
}
.resource-specific-badges .badge.badge-amazon1 {
  background: #ff6b6b;
  color: white;
}
.resource-specific-badges .badge.badge-hackernews {
  background: #ff6600;
  color: white;
}
.resource-specific-badges .badge.badge-jose-valim-sponsor {
  background: #7c3aed;
  color: white;
}
.resource-specific-badges .badge.badge-classic {
  background: #8b5cf6;
  color: white;
}
.resource-specific-badges .badge.badge-opensource {
  background: #10b981;
  color: white;
}
.resource-specific-badges .badge.badge-free {
  background: #059669;
  color: white;
}
.resource-specific-badges .badge.badge-practical {
  background: #3b82f6;
  color: white;
}
.resource-specific-badges .badge.badge-hands-on {
  background: #0ea5e9;
  color: white;
}
.resource-specific-badges .badge.badge-certification {
  background: #8b5cf6;
  color: white;
}
.resource-specific-badges .badge.badge-systematic {
  background: #6366f1;
  color: white;
}
.resource-specific-badges .badge.badge-weekly {
  background: #ec4899;
  color: white;
}
.resource-specific-badges .badge.badge-coming-soon {
  background: #f59e0b;
  color: white;
}
.resource-specific-badges .badge.badge-in-progress {
  background: #3b82f6;
  color: white;
}
.resource-specific-badges .badge.badge-coming-2025 {
  background: #6b7280;
  color: white;
}
.resource-specific-badges .badge.badge-fintech {
  background: #059669;
  color: white;
}
.resource-specific-badges .badge.badge-klarna {
  background: #ffb3d9;
  color: #1f2937;
}
.resource-specific-badges .badge.badge-core-contributor {
  background: #7c3aed;
  color: white;
}
.resource-specific-badges .badge.badge-erlang {
  background: #dc2626;
  color: white;
}
.resource-specific-badges .badge.badge-premium {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #1f2937;
  font-weight: bold;
}
.resource-specific-badges .badge.badge-login-required {
  background: #ef4444;
  color: white;
}
.resource-specific-badges .badge.badge-6-modules {
  background: #3b82f6;
  color: white;
}
.resource-specific-badges .badge.badge-coaching {
  background: #8b5cf6;
  color: white;
}
.resource-specific-badges .badge.badge-profit-first {
  background: #059669;
  color: white;
}
.resource-specific-badges .badge-image {
  height: 60px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.resource-specific-badges .badge-image:hover {
  transform: scale(1.05);
}

/* Badge caption styling */
.badge-caption {
  font-size: 0.85rem;
  color: var(--content-body);
  margin: 0.75rem 0 0 0;
  line-height: 1.4;
}
.badge-caption .badge-disclaimer {
  color: #888;
  font-size: 0.92em;
  font-style: italic;
}

.resource-back {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
}

/* Button variations for resources */
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
}
.btn-outline:hover {
  background: var(--accent-primary);
  color: white;
}
.btn-outline:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Ensure button consistency */
.resource-actions .btn {
  min-width: 100px;
  text-align: center;
}
@media (max-width: 768px) {
  .resource-actions .btn {
    min-width: auto;
    padding: 0.5rem 1rem;
  }
}

/* Suggest a Resource Section */
.suggest-resource {
  background: var(--card-bg);
  border: 2px dashed var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}
.suggest-resource h3 {
  color: var(--content-heading);
  margin-bottom: 1rem;
}
.suggest-resource p {
  color: var(--content-body);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.suggest-resource .suggest-tooltip {
  font-style: italic;
  color: var(--content-subheading);
  font-size: 0.9rem;
  margin-top: -0.5rem;
}

.suggest-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.suggest-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Upcoming Resources Section */
.upcoming-section {
  margin-top: 4rem;
}
.upcoming-section h3 {
  text-align: center;
  color: var(--content-heading);
  margin-bottom: 2rem;
  font-size: 2rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.upcoming-grid .resource-card {
  opacity: 0.8;
  background: var(--card-bg);
  border-style: dashed;
}
.upcoming-grid .resource-card:hover {
  opacity: 1;
  border-style: solid;
}

/* External contributions styling */
.resource-card[data-category=external] {
  border-color: #6b46c1;
}
.resource-card[data-category=external] .resource-category {
  background: #6b46c1;
}

/* Button styles for resources section */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}
.btn-primary:hover {
  background: rgb(52.797752809, 60.6460674157, 74.202247191);
  border-color: rgb(52.797752809, 60.6460674157, 74.202247191);
  color: white;
}
.btn-primary:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}
.btn-secondary:hover {
  background: var(--accent-primary);
  color: white;
}
.btn-secondary:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Rotating Endorsements */
.rotating-endorsements-container {
  position: relative;
  min-height: 150px;
  margin: 1rem 0;
  padding: 1.5rem;
  background: rgba(0, 172, 193, 0.05);
  border-left: 3px solid var(--accent-primary);
  border-radius: 4px;
}

.rotating-endorsement {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  font-style: italic;
  color: var(--content-body);
  padding: 0;
}
.rotating-endorsement.active {
  opacity: 1;
  transform: translateY(0);
}
.rotating-endorsement cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9em;
  color: var(--accent-primary);
  font-style: normal;
  font-weight: 500;
}

/* Dark mode for rotating endorsements */
@media (prefers-color-scheme: dark) {
  .rotating-endorsements-container {
    background: rgba(0, 172, 193, 0.1);
  }
  .rotating-endorsement {
    color: #eaeaea;
  }
  .rotating-endorsement cite {
    color: #00ACC1;
  }
}
/* Sticky Schedule a Call Button */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.sticky-cta-button {
  background: #2c3e50 !important;
  color: #ffffff !important;
  border: 2px solid #34495e;
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
  transition: all 0.3s ease;
  font-family: var(--font-tertiary-family);
  text-decoration: none !important;
}

.sticky-cta-button * {
  color: #ffffff !important;
}

.sticky-cta-button:hover {
  background: #34495e !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
  border-color: #3c5673;
}

.sticky-cta-button:hover * {
  color: #ffffff !important;
}

.sticky-cta-button:active {
  transform: translateY(0);
  background: #2c3e50 !important;
  color: #ffffff !important;
}

.sticky-cta-button:active * {
  color: #ffffff !important;
}

/* Hide sticky button on small screens where it might overlap content */
@media (max-width: 768px) {
  .sticky-cta {
    bottom: 15px;
    right: 15px;
  }
  .sticky-cta-button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}
/* Booking Modal */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.booking-modal-content {
  background: var(--panel-1-paper);
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.booking-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--area-1-accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendly-modal-header h3 {
  margin: 0;
  color: var(--area-1-ink);
}

.close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--area-1-ink);
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: var(--area-1-accent);
}

/* Qualifying Form */
.qualifying-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--area-1-ink);
}

.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--area-1-accent);
  border-radius: 6px;
  font-size: 1rem;
  background: var(--panel-1-paper);
  color: var(--area-1-ink);
}

.form-group select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 172, 193, 0.1);
}

.form-submit-btn {
  width: 100%;
  background: var(--brand-primary);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit-btn:hover {
  background: var(--button-1-hover-paper);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Calendar Widget Container */
.calendar-widget-container {
  padding: 1rem;
}

.calendar-note {
  background: var(--area-7-paper);
  border-left: 4px solid var(--area-1-accent);
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--area-1-ink);
  line-height: 1.5;
}

/* Qualification Info Display */
.qualification-info {
  background: var(--area-7-paper);
  border: 2px solid var(--area-1-accent);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.info-header {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--area-1-accent);
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
}

.copy-text {
  flex: 1;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--area-1-accent);
  font-family: monospace;
}

.copy-btn {
  background: var(--area-1-accent);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  background: var(--button-1-hover-paper);
}

.info-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--area-1-ink);
  opacity: 0.8;
  font-style: italic;
}

/* Mobile adjustments for modal */
@media (max-width: 768px) {
  .booking-modal {
    padding: 10px;
  }
  .booking-modal-content {
    max-width: 100%;
    max-height: 95vh;
  }
  .booking-modal-header {
    padding: 1rem 1.5rem;
  }
  .qualifying-form {
    padding: 1.5rem;
  }
  .calendar-widget-container {
    padding: 0.5rem;
  }
  .calendar-widget-container iframe {
    height: 500px !important;
  }
}
/* Schedule CTA Section */
.schedule-cta-section {
  text-align: center;
  padding: 3rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--area-1-ink);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--area-1-ink);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.cta-button-primary {
  background: #00aCC1 !important;
  color: #ffffff !important;
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 172, 193, 0.3);
  transition: all 0.3s ease;
  font-family: var(--font-tertiary-family);
  text-decoration: none !important;
}

.cta-button-primary * {
  color: #ffffff !important;
}

.cta-button-primary:hover {
  background: #008fa3 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 172, 193, 0.4);
}

.cta-button-primary:hover * {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 1.5rem;
  }
  .cta-subtitle {
    font-size: 1.1rem;
  }
  .cta-button-primary {
    font-size: 1rem;
    padding: 0.875rem 2rem;
  }
}
/* Process Summary Section */
.process-summary {
  background: var(--area-7-paper);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  border-left: 4px solid var(--area-1-accent);
}

.process-link {
  color: var(--area-1-accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.process-link:hover {
  color: var(--button-1-hover-paper);
  transform: translateX(4px);
}

/* Calendar Redirect */
.calendar-redirect {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--area-7-paper);
  border-radius: 8px;
  border: 2px solid var(--area-1-accent);
}

.calendar-redirect h3 {
  margin: 0 0 1rem 0;
  color: var(--area-1-accent);
}

.calendar-redirect p {
  margin: 0 0 2rem 0;
  color: var(--area-1-ink);
  opacity: 0.8;
}

.calendar-redirect-btn {
  display: inline-block;
  background: var(--area-1-accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.calendar-redirect-btn:hover {
  background: var(--button-1-hover-paper);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 172, 193, 0.3);
}

/* Mission Section */
.mission-section {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-content h2 {
  margin-bottom: 1.5rem;
  color: var(--area-1-ink);
}

.mission-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.mission-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .mission-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .mission-image {
    order: -1;
  }
  .mission-image img {
    max-width: 400px;
    margin: 0 auto;
  }
}
/* Email Signup Form for Gated Resources */
.email-signup-form {
  background: var(--area-1-paper);
  border: 2px solid var(--area-1-accent);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  max-width: 500px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.gated-resource-form .form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gated-resource-form .form-header h3 {
  color: var(--area-1-ink);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.gated-resource-form .form-header p {
  color: var(--area-1-ink-lighter);
  font-size: 1rem;
}

.gated-resource-form .form-group {
  margin-bottom: 1.5rem;
}

.gated-resource-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--area-1-ink);
}

.gated-resource-form input,
.gated-resource-form select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--area-1-border);
  border-radius: 6px;
  font-size: 1rem;
  background: var(--area-1-paper);
  color: var(--area-1-ink);
  transition: border-color 0.3s ease;
}

.gated-resource-form input:focus,
.gated-resource-form select:focus {
  outline: none;
  border-color: var(--area-1-accent);
  box-shadow: 0 0 0 3px rgba(0, 172, 193, 0.1);
}

.gated-resource-form .form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--button-1-paper);
  color: var(--button-1-ink);
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gated-resource-form .form-submit:hover {
  background: var(--button-1-hover-paper);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 172, 193, 0.3);
}

.gated-resource-form .form-disclaimer {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--area-1-ink-lighter);
  text-align: center;
  line-height: 1.4;
}

.gated-resource-form .form-disclaimer a {
  color: var(--area-1-accent);
  text-decoration: none;
}

.gated-resource-form .form-disclaimer a:hover {
  text-decoration: underline;
}

.download-success {
  background: var(--area-1-paper);
  border: 2px solid #28a745;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.1);
}

.download-success .success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.download-success h3 {
  color: #28a745;
  margin-bottom: 1rem;
}

.download-success p {
  color: var(--area-1-ink);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.download-success a {
  color: var(--area-1-accent);
  text-decoration: none;
  font-weight: 600;
}

.download-success a:hover {
  text-decoration: underline;
}

/* Featured Resource Highlight */
.featured-resource {
  margin-top: 2rem;
}

.resource-highlight {
  background: linear-gradient(135deg, var(--area-1-paper) 0%, var(--area-1-accent-lighter) 100%);
  border: 2px solid var(--area-1-accent);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 172, 193, 0.1);
}

.resource-highlight h3 {
  color: var(--area-1-ink);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.resource-highlight p {
  color: var(--area-1-ink);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.resource-cta {
  display: inline-block;
  background: var(--button-1-paper);
  color: var(--button-1-ink);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.resource-cta:hover {
  background: var(--button-1-hover-paper);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 172, 193, 0.3);
  text-decoration: none;
}

/* Testimonial Carousel */
.testimonial-carousel {
  background: var(--area-1-paper);
  padding: 3rem 0;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  height: 150px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-in-out;
  padding: 0 2rem;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-content {
  text-align: center;
}

.testimonial-content blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--area-1-ink);
  margin: 0 0 1.5rem 0;
  border: none;
  padding: 0;
  line-height: 1.6;
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.author-info strong {
  color: var(--area-1-ink);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.author-info span {
  color: var(--area-1-ink-lighter);
  font-size: 0.9rem;
}

.testimonial-logo {
  height: 40px;
  width: auto;
  opacity: 0.8;
}

/* Fix for light-colored logos in light mode */
.testimonial-logo[src*="laya.svg"] {
  filter: brightness(0) saturate(100%) invert(60%) sepia(8%) saturate(872%) hue-rotate(169deg) brightness(99%) contrast(86%);
}

[data-theme=dark] .testimonial-logo[src*="laya.svg"] {
  filter: none;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--area-1-border);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background: var(--area-1-accent);
}

.dot:hover {
  background: var(--area-1-accent);
}

@media (max-width: 768px) {
  .testimonial-carousel {
    padding: 2rem 0;
  }
  .testimonial-container {
    height: 180px;
  }
  .testimonial-slide {
    padding: 0 1rem;
  }
  .testimonial-content blockquote {
    font-size: 1.1rem;
  }
  .testimonial-author {
    flex-direction: column;
    gap: 0.5rem;
  }
  .author-info {
    text-align: center;
  }
}
.anchor {
  position: relative;
  visibility: hidden;
  top: -60px;
}

/*# sourceMappingURL=styles.css.map */
