/* Theme base styles */

/*
 * MAIN.CSS
 * Main stylesheet that imports all CSS modules
 *
 * MODULAR CSS ARCHITECTURE
 * -------------------------
 * This site uses a modular CSS architecture for easier maintenance and scalability:
 *
 * 1. VARIABLES: All colors, typography, spacing values defined in variables.css
 *    - Always use CSS variables instead of hardcoded values
 *    - Follow --category-name-variant naming pattern
 *    - Breakpoint variables available for responsive design
 *
 * 2. RESET: Basic resets and normalized styles in reset.css
 *    - Keep resets minimal and focused
 *
 * 3. TYPOGRAPHY: Text styles in typography.css
 *    - Use the defined typography scale (--text-xs, --text-sm, etc.)
 *    - Avoid overriding text sizes in components
 *
 * 4. LAYOUT: Structural elements in layout.css
 *    - Grid systems and major layout components
 *    - Section spacing and containment
 *
 * 5. COMPONENTS: Individual UI elements in components/ directory
 *    - Each component has its own CSS file
 *    - Namespace components to avoid conflicts (e.g., .nav-link vs .footer-link)
 *    - Components should be self-contained and portable
 *
 * 6. UTILITIES: Helper classes in utilities.css
 *    - Use for consistent application of common styles
 *    - Utility classes should be single-purpose
 *    - Now includes notification and alert system utilities
 *
 * 7. ANIMATIONS: Animation system in animation-utilities.css
 *    - Use standard animation variables from variables.css
 *    - Prefer utility classes over custom animations
 *    - Component-specific animations should follow naming conventions
 *
 * ANIMATION SYSTEM
 * ----------------
 * The site uses a standardized animation system:
 *
 * 1. Animation Variables:
 *    - Duration: --anim-duration-fast, --anim-duration-medium, --anim-duration-slow
 *    - Easing: --ease-standard, --ease-out, --ease-in-out, --ease-bounce
 *    - Distances: --slide-distance-small, --slide-distance-medium, --slide-distance-large
 *
 * 2. Animation Utility Classes:
 *    - Transitions: .transition-all, .transition-transform, .transition-opacity, etc.
 *    - Animations: .fade-in, .fade-out, .slide-in-left, etc.
 *    - Component Animations: .card-hover, .btn-hover, etc.
 *
 * 3. Scroll Animations:
 *    - Use .animate-on-scroll for elements that should animate on scroll
 *    - Combine with .stagger-children for sequenced animations
 *
 * JAVASCRIPT UTILITIES
 * -------------------
 * JavaScript utilities enhance the site functionality:
 * 1. animations.js - Implements scroll-based reveal animations
 *
 * RESPONSIVE DESIGN
 * ----------------
 * The site follows a mobile-first approach:
 *
 * 1. Base styles are designed for mobile
 * 2. Media queries add enhancements for larger screens
 * 3. Use breakpoint variables for consistent media queries:
 *    - --breakpoint-xs (480px), --breakpoint-sm (768px)
 *    - --breakpoint-md (900px), --breakpoint-lg (1200px)
 *
 * AVOIDING CSS CONFLICTS
 * ----------------------
 * 1. Use specific component selectors (.component-element) instead of generic ones
 * 2. Limit nesting to 3 levels maximum
 * 3. Avoid !important unless using utility classes
 * 4. Use consistent spacing variables for margins/padding
 * 5. Follow mobile-first approach for media queries
 *
 * STYLE GUIDE
 * -----------
 * A comprehensive style guide is available in STYLE-GUIDE.md
 * This includes:
 * - Preferred usage of utility classes
 * - Component patterns and structure
 * - Best practices for writing maintainable CSS
 * - Responsive design patterns
 */

/*
 * VARIABLES.CSS
 * Contains all CSS color, typography, and spacing variables
 */

 :root {
  /* ============================
   * BREAKPOINTS
   * ============================ */

  /* Media query breakpoints */
  --breakpoint-xs: 480px; /* mobile phones */
  --breakpoint-sm: 768px; /* tablets */
  --breakpoint-md: 900px; /* small desktops */
  --breakpoint-lg: 1200px; /* large desktops */

  /* ============================
   * COLOR SYSTEM
   * ============================ */

  /* Refined grey palette - avoiding pure black */
  --rich-grey: #1c1c1c; /* Instead of pure black */
  --dark-grey: #2a2a2a; /* Deep charcoal */
  --medium-grey: #404040; /* Rich medium grey */
  --slate-grey: #595959; /* Sophisticated slate */
  --light-grey: #e8e8e8; /* Soft light grey */
  --ghost-grey: #f4f4f4; /* Very light grey */
  --off-white: #fafafa; /* Almost white */
  --pure-white: #ffffff; /* Keep pure white for contrast when needed */

  /* Transparent versions */
  --grey-90: rgba(28, 28, 28, 0.92);
  --grey-70: rgba(28, 28, 28, 0.75);
  --grey-30: rgba(28, 28, 28, 0.25);
  --white-90: rgba(255, 255, 255, 0.92);

  /* Notification and validation colors */
  --color-success: #28a745;
  --color-success-dark: #1e7e34;
  --color-success-bg: rgba(40, 167, 69, 0.1);

  --color-error: #dc3545;
  --color-error-dark: #bd2130;
  --color-error-bg: rgba(220, 53, 69, 0.1);

  --color-warning: #ffc107;
  --color-warning-dark: #d39e00;
  --color-warning-bg: rgba(255, 193, 7, 0.1);

  --color-info: #17a2b8;
  --color-info-dark: #138496;
  --color-info-bg: rgba(23, 162, 184, 0.1);

  /* Common transparent overlays */
  --overlay-dark: rgba(0, 0, 0, 0.75);
  --overlay-light: rgba(255, 255, 255, 0.7);
  --overlay-dark-deep: rgba(0, 0, 0, 0.95);
  --overlay-input-bg: rgba(47, 60, 126, 0.05);
  --overlay-shadow: rgba(28, 28, 28, 0.15);

  /* ============================
   * TYPOGRAPHY SYSTEM
   * ============================ */

  /* Base viewport sizes for fluid calculations */
  --viewport-sm: 320px; /* mobile */
  --viewport-md: 768px; /* tablet */
  --viewport-lg: 1200px; /* desktop */

  /* Font weights for consistent typography */
  --font-weight-thin: 100;
  --font-weight-extra-light: 200;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Base font sizes by breakpoint */
  --base-sm: 16px; /* mobile base */
  --base-md: 17px; /* tablet base  */
  --base-lg: 18px; /* desktop base  */

  /* Scale multipliers - adjust these to change the entire hierarchy proportionally */
  --scale-xxs: 0.75; /* very small text: 12px/14px/14px */
  --scale-xs: 0.875; /* small text: 14px/15px/16px */
  --scale-sm: 0.9375; /* slightly small: 15px/16px/17px */
  --scale-base: 1; /* body text: 16px/17px/18px */
  --scale-md: 1.125; /* medium: 18px/19px/20px  */
  --scale-lg: 1.35; /* large: 22px/23px/24px  */
  --scale-xl: 1.75; /* extra large: 28px/30px/32px  */
  --scale-xxl: 2.25; /* display: 36px/38px/40px  */
  --scale-jumbo: 4; /* jumbo: 44px/47px/50px  */

  /* Calculated font sizes for mobile (sm) */
  --text-xxs-sm: calc(var(--base-sm) * var(--scale-xxs)); /* 12px */
  --text-xs-sm: calc(var(--base-sm) * var(--scale-xs)); /* 14px */
  --text-sm-sm: calc(var(--base-sm) * var(--scale-sm)); /* 15px */
  --text-base-sm: calc(var(--base-sm) * var(--scale-base)); /* 16px */
  --text-md-sm: calc(var(--base-sm) * var(--scale-md)); /* 20px */
  --text-lg-sm: calc(var(--base-sm) * var(--scale-lg)); /* 24px */
  --text-xl-sm: calc(var(--base-sm) * var(--scale-xl)); /* 32px */
  --text-xxl-sm: calc(var(--base-sm) * var(--scale-xxl)); /* 40px */
  --text-jumbo-sm: calc(var(--base-sm) * var(--scale-jumbo)); /* 56px */

  /* Calculated font sizes for tablet (md) */
  --text-xxs-md: calc(var(--base-md) * var(--scale-xxs)); /* 13.5px */
  --text-xs-md: calc(var(--base-md) * var(--scale-xs)); /* 15.75px */
  --text-sm-md: calc(var(--base-md) * var(--scale-sm)); /* 16.9px */
  --text-base-md: calc(var(--base-md) * var(--scale-base)); /* 18px */
  --text-md-md: calc(var(--base-md) * var(--scale-md)); /* 22.5px */
  --text-lg-md: calc(var(--base-md) * var(--scale-lg)); /* 27px */
  --text-xl-md: calc(var(--base-md) * var(--scale-xl)); /* 36px */
  --text-xxl-md: calc(var(--base-md) * var(--scale-xxl)); /* 45px */
  --text-jumbo-md: calc(var(--base-md) * var(--scale-jumbo)); /* 63px */

  /* Calculated font sizes for desktop (lg) */
  --text-xxs-lg: calc(var(--base-lg) * var(--scale-xxs)); /* 15px */
  --text-xs-lg: calc(var(--base-lg) * var(--scale-xs)); /* 17.5px */
  --text-sm-lg: calc(var(--base-lg) * var(--scale-sm)); /* 18.75px */
  --text-base-lg: calc(var(--base-lg) * var(--scale-base)); /* 20px */
  --text-md-lg: calc(var(--base-lg) * var(--scale-md)); /* 25px */
  --text-lg-lg: calc(var(--base-lg) * var(--scale-lg)); /* 30px */
  --text-xl-lg: calc(var(--base-lg) * var(--scale-xl)); /* 40px */
  --text-xxl-lg: calc(var(--base-lg) * var(--scale-xxl)); /* 50px */
  --text-jumbo-lg: calc(var(--base-lg) * var(--scale-jumbo)); /* 70px */

  /* Default font sizes (mobile-first) */
  --text-xxs: var(--text-xxs-sm);
  --text-xs: var(--text-xs-sm);
  --text-sm: var(--text-sm-sm);
  --text-base: var(--text-base-sm);
  --text-md: var(--text-md-sm);
  --text-lg: var(--text-lg-sm);
  --text-xl: var(--text-xl-sm);
  --text-xxl: var(--text-xxl-sm);
  --text-jumbo: var(--text-jumbo-sm);

  /* Line heights */
  --line-height-base: 1.6;
  --line-height-heading: 1.2;
  --line-tight: 1.1; /* Headings */
  --line-snug: 1.3; /* Subheadings */
  --line-normal: 1.5; /* Body text */
  --line-relaxed: 1.75; /* Readable paragraphs */

  /* ============================
   * SPACING SYSTEM
   * ============================ */

  /* Base spacing unit */
  --spacing-unit: 0.25rem;

  /* Core spacing scale (multiples of the base unit) */
  --spacing-xxs: calc(var(--spacing-unit) * 1); /* 0.25rem / 4px */
  --spacing-xs: calc(var(--spacing-unit) * 2); /* 0.5rem / 8px */
  --spacing-sm: calc(var(--spacing-unit) * 4); /* 1rem / 16px */
  --spacing-md: calc(var(--spacing-unit) * 8); /* 2rem / 32px */
  --spacing-lg: calc(var(--spacing-unit) * 16); /* 4rem / 64px */
  --spacing-xl: calc(var(--spacing-unit) * 32); /* 8rem / 128px */

  /* Extended spacing scale for more precise control */
  --spacing-2xs: calc(var(--spacing-unit) * 1.5); /* 0.375rem / 6px */
  --spacing-3xs: calc(var(--spacing-unit) * 0.5); /* 0.125rem / 2px */
  --spacing-2sm: calc(var(--spacing-unit) * 6); /* 1.5rem / 24px */
  --spacing-2md: calc(var(--spacing-unit) * 12); /* 3rem / 48px */
  --spacing-2lg: calc(var(--spacing-unit) * 24); /* 6rem / 96px */
  --spacing-2xl: calc(var(--spacing-unit) * 40); /* 10rem / 160px */

  /* Section spacing - for consistent vertical rhythm between page sections */
  --section-spacing-sm: 3rem;
  --section-spacing-md: 5rem;
  --section-spacing-lg: 8rem;
  --section-spacing-inner: 2rem; /* For spacing inside sections */

  /* Component-specific spacing */
  --card-padding: 3rem;
  --card-padding-mobile: 2rem;
  --card-margin-bottom: 2rem;
  --button-padding: 1rem 1.5rem;
  --button-padding-small: 0.8rem 1.2rem;
  --form-element-margin: 1.5rem;
  --input-padding: 0.8rem;

  /* Box shadows - standardized across components */
  --shadow-sm: 0 2px 5px rgba(28, 28, 28, 0.06);
  --shadow-md: 0 4px 20px rgba(28, 28, 28, 0.08);
  --shadow-lg: 0 8px 28px rgba(28, 28, 28, 0.12);
  --shadow-inner: inset 0 2px 4px rgba(28, 28, 28, 0.06);
  --shadow-button: 0 4px 20px rgba(28, 28, 28, 0.15);
  --shadow-card-hover: 0 2px 10px rgba(28, 28, 28, 0.15);
  --shadow-modal: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Border radius - standardized across components */
  --radius-none: 0;
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-card-top: 8px 8px 0 0;

  /* Standard blur values */
  --blur-sm: 2px;
  --blur-md: 4px;
  --blur-lg: 8px;

  /* Form elements */
  --checkbox-size: 18px;
  --form-border-color: #ddd;
  --form-focus-shadow: 0 0 0 2px rgba(236, 139, 94, 0.2);

  /* Card dimensions */
  --card-min-width: 180px;
  --card-image-height: 200px;
  --toast-max-width: 350px;
  --toast-offset: 50px;

  /* Container and element widths */
  --container-max-width: 1400px;
  --content-max-width: 1200px;
  --text-container-width: 600px;
  --form-max-width: 600px;
  --modal-max-width: 500px;

  /* Border styles */
  --border-width-thin: 1px;
  --border-width-medium: 2px;
  --border-width-thick: 3px;
  --border-accent-width: 3px;
  --border-color-light: var(--light-grey);
  --border-color-medium: var(--medium-grey);
  --border-color-dark: var(--rich-grey);

  /* Z-index layers */
  --z-index-base: 1;
  --z-index-dropdown: 100;
  --z-index-sticky: 200;
  --z-index-fixed: 300;
  --z-index-modal-backdrop: 1000;
  --z-index-modal: 1001;
  --z-index-popover: 2000;
  --z-index-tooltip: 3000;

  /* Aspect ratios */
  --aspect-ratio-wide: 3/1;    /* Hero on desktop */
  --aspect-ratio-landscape: 16/10;  /* Hero on medium screens */
  --aspect-ratio-square: 1/1;
  --aspect-ratio-portrait: 3/4;  /* Hero on tablets */
  --aspect-ratio-tall: 2/3;    /* Hero on mobile */

  /* Typography refinements */
  --letter-spacing-tight: 0.3px;
  --letter-spacing-normal: 0.5px;
  --letter-spacing-wide: 1px;
  --letter-spacing-wider: 1.5px;

  /* Element heights */
  --min-tap-height: 44px;  /* Minimum for touch targets */
  --footer-item-height: 4rem;
  --nav-height: 60px;
  --nav-height-scrolled: 50px;

  /* Quote styling */
  --quote-font-size: 100px;
  --quote-opacity: 0.05;

  /* Standard padding values for components */
  --modal-padding: 3rem;
  --modal-padding-mobile: 1.5rem;
  --content-padding: 1.5rem;

  /*
   * BASELINE SIZING
   * Used for consistent vertical rhythm
   * Simplified from the previous complex calculations
   */
  --baseline-fixed: 1.5rem;
  --baseline: var(--baseline-fixed);

  /* ============================
   * ANIMATION VARIABLES
   * ============================ */

  /*
   * Current animation timings (intentionally slow)
   * These values will be adjusted later but are kept slow for testing
   */
  --anim-duration-fast: 0.3s; /* 5 seconds - will be 0.3s in production */
  --anim-duration-medium: 0.75s; /* 10 seconds - will be 0.75s in production */
  --anim-duration-slow: 1.2s; /* 15 seconds - will be 1.2s in production */

  /* Delay Variables */
  --anim-delay-short: 0.1s; /* 1 second - will be 0.1s in production */
  --anim-delay-medium: 0.2s; /* 2 seconds - will be 0.2s in production */
  --anim-delay-long: 0.3s; /* 3 seconds - will be 0.3s in production */

  /* Easing Functions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-standard: ease-in-out;
  --ease-bounce: cubic-bezier(0.68, -0.6, 0.32, 1.6);

  /* Transform Distances */
  --slide-distance-small: 10px;
  --slide-distance-medium: 30px;
  --slide-distance-large: 50px;

  /* Opacity Levels */
  --opacity-hidden: 0;
  --opacity-visible: 1;
  --opacity-semi: 0.7;
}

/* Apply tablet typography (md) */
@media screen and (min-width: 768px) {
  :root {
    --text-xxs: var(--text-xxs-md);
    --text-xs: var(--text-xs-md);
    --text-sm: var(--text-sm-md);
    --text-base: var(--text-base-md);
    --text-md: var(--text-md-md);
    --text-lg: var(--text-lg-md);
    --text-xl: var(--text-xl-md);
    --text-xxl: var(--text-xxl-md);
    --text-jumbo: var(--text-jumbo-md);
  }
}

/* Apply desktop typography (lg) */
@media screen and (min-width: 1200px) {
  :root {
    --text-xxs: var(--text-xxs-lg);
    --text-xs: var(--text-xs-lg);
    --text-sm: var(--text-sm-lg);
    --text-base: var(--text-base-lg);
    --text-md: var(--text-md-lg);
    --text-lg: var(--text-lg-lg);
    --text-xl: var(--text-xl-lg);
    --text-xxl: var(--text-xxl-lg);
    --text-jumbo: var(--text-jumbo-lg);
  }
}
*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-optical-sizing: auto;
  font-style: normal;
  color: var(--medium-grey);
  background-color: var(--light-grey);
  font-size: var(--text-base);
  line-height: var(--line-normal);
  letter-spacing: 0.3px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style-type: none;
}

/* Headings base styles */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}
/*
 * TYPOGRAPHY.CSS
 * Typography styles and text-related utilities
 */

/* ----- TYPOGRAPHY IMPLEMENTATION ----- */

/* Heading styles */
h1,
.h1 {
  font-size: var(--text-jumbo);
  line-height: var(--line-tight);
  font-weight: 300;
}

h2,
.h2 {
  font-size: var(--text-xxl);
  line-height: var(--line-tight);
  font-weight: 300;
}

h3,
.h3 {
  font-size: var(--text-xl);
  line-height: var(--line-snug);
  font-weight: 300;
}

h4,
.h4 {
  font-size: var(--text-lg);
  line-height: var(--line-snug);
  font-weight: 300;
}

h5,
.h5 {
  font-size: var(--text-md);
  line-height: var(--line-normal);
  font-weight: 300;
}

h6,
.h6 {
  font-size: var(--text-base);
  line-height: var(--line-normal);
  font-weight: 300;
}

/* Paragraphs */
p {
  margin-bottom: var(--baseline);
  font-size: var(--text-base);
  line-height: var(--line-normal);
}

/* Small text elements */
.small,
.caption,
figcaption {
  font-size: var(--text-xs);
}

.tiny {
  font-size: var(--text-xxs);
}

/* Text links */
.text-link {
  color: var(--rich-grey);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.text-link::after {
  content: "";
  position: absolute;
  bottom: calc(-1 * var(--spacing-2xs));
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width var(--anim-duration-fast) var(--ease-standard);
}

.text-link:hover::after {
  width: 100%;
}

/* Section titles */
.section-title {
  font-size: var(--text-xl);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.section-subtitle {
  font-size: var(--text-base);
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.6;
  color: var(--slate-grey);
    font-size: var(--text-base-md);
  }
}

/* ----- RESPONSIVE TYPOGRAPHY ----- */

/*
 * Fluid typography for screens between 320px and 1200px
 * Base font size scales gradually between these breakpoints
 *
 * NOTE: Media queries use hardcoded pixel values instead of CSS variables
 * because browsers don't reliably support CSS variables in media query definitions.
 * Do not attempt to replace these with var(--breakpoint-*) variables.
 */
@media screen and (min-width: 320px) and (max-width: 1200px) {
  :root {
    font-size: var(--text-base-md);
  }
}

/* Maximum font size for large viewports */
@media screen and (min-width: 1200px) {
  :root {
    font-size: var(--text-base-md);
  }
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/*
 * LAYOUT_UTILITIES.CSS
 * Utility classes and helper styles
 */

/*
 * BREAKPOINT REFERENCE
 *
 * Standard breakpoints for the site:
 * - Mobile: max-width: 480px
 * - Tablet: max-width: 768px
 * - Medium: max-width: 900px
 * - Desktop: max-width: 1200px
 *
 * Example usage:
 * @media (max-width: 768px) { ... }
 */

/* Utility classes for common patterns */
.card-shadow {
  box-shadow: var(--shadow-md);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Text alignment utilities */
.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

/* SPACING UTILITIES
 * A comprehensive set of margin and padding utilities
 * ---------------------------------------------------------------- */

/* Margin utilities */
.m-0 {
  margin: 0;
}
.m-auto {
  margin: auto;
}
.m-xxs {
  margin: var(--spacing-xxs);
}
.m-xs {
  margin: var(--spacing-xs);
}
.m-sm {
  margin: var(--spacing-sm);
}
.m-md {
  margin: var(--spacing-md);
}
.m-lg {
  margin: var(--spacing-lg);
}
.m-xl {
  margin: var(--spacing-xl);
}

/* Extended margin utilities */
.m-2xs {
  margin: var(--spacing-2xs);
}
.m-3xs {
  margin: var(--spacing-3xs);
}
.m-2sm {
  margin: var(--spacing-2sm);
}
.m-2md {
  margin: var(--spacing-2md);
}
.m-2lg {
  margin: var(--spacing-2lg);
}
.m-2xl {
  margin: var(--spacing-2xl);
}

/* Margin top utilities */
.mt-0 {
  margin-top: 0;
}
.mt-auto {
  margin-top: auto;
}
.mt-xxs {
  margin-top: var(--spacing-xxs);
}
.mt-xs {
  margin-top: var(--spacing-xs);
}
.mt-sm {
  margin-top: var(--spacing-sm);
}
.mt-md {
  margin-top: var(--spacing-md);
}
.mt-lg {
  margin-top: var(--spacing-lg);
}
.mt-xl {
  margin-top: var(--spacing-xl);
}

/* Extended margin top utilities */
.mt-2xs {
  margin-top: var(--spacing-2xs);
}
.mt-3xs {
  margin-top: var(--spacing-3xs);
}
.mt-2sm {
  margin-top: var(--spacing-2sm);
}
.mt-2md {
  margin-top: var(--spacing-2md);
}
.mt-2lg {
  margin-top: var(--spacing-2lg);
}
.mt-2xl {
  margin-top: var(--spacing-2xl);
}

/* Margin bottom utilities */
.mb-0 {
  margin-bottom: 0;
}
.mb-auto {
  margin-bottom: auto;
}
.mb-xxs {
  margin-bottom: var(--spacing-xxs);
}
.mb-xs {
  margin-bottom: var(--spacing-xs);
}
.mb-sm {
  margin-bottom: var(--spacing-sm);
}
.mb-md {
  margin-bottom: var(--spacing-md);
}
.mb-lg {
  margin-bottom: var(--spacing-lg);
}
.mb-xl {
  margin-bottom: var(--spacing-xl);
}

/* Extended margin bottom utilities */
.mb-2xs {
  margin-bottom: var(--spacing-2xs);
}
.mb-3xs {
  margin-bottom: var(--spacing-3xs);
}
.mb-2sm {
  margin-bottom: var(--spacing-2sm);
}
.mb-2md {
  margin-bottom: var(--spacing-2md);
}
.mb-2lg {
  margin-bottom: var(--spacing-2lg);
}
.mb-2xl {
  margin-bottom: var(--spacing-2xl);
}

/* Margin left utilities */
.ml-0 {
  margin-left: 0;
}
.ml-auto {
  margin-left: auto;
}
.ml-xxs {
  margin-left: var(--spacing-xxs);
}
.ml-xs {
  margin-left: var(--spacing-xs);
}
.ml-sm {
  margin-left: var(--spacing-sm);
}
.ml-md {
  margin-left: var(--spacing-md);
}
.ml-lg {
  margin-left: var(--spacing-lg);
}
.ml-xl {
  margin-left: var(--spacing-xl);
}

/* Margin right utilities */
.mr-0 {
  margin-right: 0;
}
.mr-auto {
  margin-right: auto;
}
.mr-xxs {
  margin-right: var(--spacing-xxs);
}
.mr-xs {
  margin-right: var(--spacing-xs);
}
.mr-sm {
  margin-right: var(--spacing-sm);
}
.mr-md {
  margin-right: var(--spacing-md);
}
.mr-lg {
  margin-right: var(--spacing-lg);
}
.mr-xl {
  margin-right: var(--spacing-xl);
}

/* Margin x-axis (left & right) utilities */
.mx-0 {
  margin-left: 0;
  margin-right: 0;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mx-xxs {
  margin-left: var(--spacing-xxs);
  margin-right: var(--spacing-xxs);
}
.mx-xs {
  margin-left: var(--spacing-xs);
  margin-right: var(--spacing-xs);
}
.mx-sm {
  margin-left: var(--spacing-sm);
  margin-right: var(--spacing-sm);
}
.mx-md {
  margin-left: var(--spacing-md);
  margin-right: var(--spacing-md);
}
.mx-lg {
  margin-left: var(--spacing-lg);
  margin-right: var(--spacing-lg);
}
.mx-xl {
  margin-left: var(--spacing-xl);
  margin-right: var(--spacing-xl);
}

/* Margin y-axis (top & bottom) utilities */
.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}
.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}
.my-xxs {
  margin-top: var(--spacing-xxs);
  margin-bottom: var(--spacing-xxs);
}
.my-xs {
  margin-top: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
}
.my-sm {
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}
.my-md {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}
.my-lg {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}
.my-xl {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

/* Padding utilities */
.p-0 {
  padding: 0;
}
.p-xxs {
  padding: var(--spacing-xxs);
}
.p-xs {
  padding: var(--spacing-xs);
}
.p-sm {
  padding: var(--spacing-sm);
}
.p-md {
  padding: var(--spacing-md);
}
.p-lg {
  padding: var(--spacing-lg);
}
.p-xl {
  padding: var(--spacing-xl);
}

/* Extended padding utilities */
.p-2xs {
  padding: var(--spacing-2xs);
}
.p-3xs {
  padding: var(--spacing-3xs);
}
.p-2sm {
  padding: var(--spacing-2sm);
}
.p-2md {
  padding: var(--spacing-2md);
}
.p-2lg {
  padding: var(--spacing-2lg);
}
.p-2xl {
  padding: var(--spacing-2xl);
}

/* Padding top utilities */
.pt-0 {
  padding-top: 0;
}
.pt-xxs {
  padding-top: var(--spacing-xxs);
}
.pt-xs {
  padding-top: var(--spacing-xs);
}
.pt-sm {
  padding-top: var(--spacing-sm);
}
.pt-md {
  padding-top: var(--spacing-md);
}
.pt-lg {
  padding-top: var(--spacing-lg);
}
.pt-xl {
  padding-top: var(--spacing-xl);
}

/* Padding bottom utilities */
.pb-0 {
  padding-bottom: 0;
}
.pb-xxs {
  padding-bottom: var(--spacing-xxs);
}
.pb-xs {
  padding-bottom: var(--spacing-xs);
}
.pb-sm {
  padding-bottom: var(--spacing-sm);
}
.pb-md {
  padding-bottom: var(--spacing-md);
}
.pb-lg {
  padding-bottom: var(--spacing-lg);
}
.pb-xl {
  padding-bottom: var(--spacing-xl);
}

/* Padding left utilities */
.pl-0 {
  padding-left: 0;
}
.pl-xxs {
  padding-left: var(--spacing-xxs);
}
.pl-xs {
  padding-left: var(--spacing-xs);
}
.pl-sm {
  padding-left: var(--spacing-sm);
}
.pl-md {
  padding-left: var(--spacing-md);
}
.pl-lg {
  padding-left: var(--spacing-lg);
}
.pl-xl {
  padding-left: var(--spacing-xl);
}

/* Padding right utilities */
.pr-0 {
  padding-right: 0;
}
.pr-xxs {
  padding-right: var(--spacing-xxs);
}
.pr-xs {
  padding-right: var(--spacing-xs);
}
.pr-sm {
  padding-right: var(--spacing-sm);
}
.pr-md {
  padding-right: var(--spacing-md);
}
.pr-lg {
  padding-right: var(--spacing-lg);
}
.pr-xl {
  padding-right: var(--spacing-xl);
}

/* Padding x-axis (left & right) utilities */
.px-0 {
  padding-left: 0;
  padding-right: 0;
}
.px-xxs {
  padding-left: var(--spacing-xxs);
  padding-right: var(--spacing-xxs);
}
.px-xs {
  padding-left: var(--spacing-xs);
  padding-right: var(--spacing-xs);
}
.px-sm {
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
}
.px-md {
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}
.px-lg {
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}
.px-xl {
  padding-left: var(--spacing-xl);
  padding-right: var(--spacing-xl);
}

/* Padding y-axis (top & bottom) utilities */
.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}
.py-xxs {
  padding-top: var(--spacing-xxs);
  padding-bottom: var(--spacing-xxs);
}
.py-xs {
  padding-top: var(--spacing-xs);
  padding-bottom: var(--spacing-xs);
}
.py-sm {
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
}
.py-md {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}
.py-lg {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}
.py-xl {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

/* Gap utilities for flex and grid layouts */
.gap-0 {
  gap: 0;
}
.gap-xxs {
  gap: var(--spacing-xxs);
}
.gap-xs {
  gap: var(--spacing-xs);
}
.gap-sm {
  gap: var(--spacing-sm);
}
.gap-md {
  gap: var(--spacing-md);
}
.gap-lg {
  gap: var(--spacing-lg);
}
.gap-xl {
  gap: var(--spacing-xl);
}

/* Display utilities */
.d-flex {
  display: flex;
}
.d-block {
  display: block;
}
.d-inline-block {
  display: inline-block;
}
.d-none {
  display: none;
}

/* Flexbox utilities */
.flex-column {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-end {
  justify-content: flex-end;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.align-end {
  align-items: flex-end;
}

/* Width utilities */
.w-100 {
  width: 100%;
}
.w-75 {
  width: 75%;
}
.w-50 {
  width: 50%;
}
.w-25 {
  width: 25%;
}

/* Responsive hide utilities */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .hide-tablet {
    display: none !important;
  }
}

@media (min-width: 1201px) {
  .hide-desktop {
    display: none !important;
  }
}

/* NOTIFICATION SYSTEM
 * Standardized notification, success, error, and warning messages
 * ---------------------------------------------------------------- */

/* Base notification style */
.notification {
  padding: var(--spacing-sm) var(--spacing-2sm);
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
}

.notification-content {
  flex-grow: 1;
}

.notification-title {
  font-weight: 500;
  margin-bottom: var(--spacing-xxs);
}

.notification-message {
  font-size: var(--text-sm);
  margin: 0;
}

.notification-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: var(--spacing-xxs);
  opacity: 0.5;
  transition: opacity var(--anim-duration-fast) var(--ease-standard);
}

.notification-close:hover {
  opacity: 1;
}

/* Success notification */
.notification-success {
  background-color: var(--color-success-bg);
  border-left-color: var(--color-success);
  color: var(--color-success-dark);
}

/* Error notification */
.notification-error {
  background-color: var(--color-error-bg);
  border-left-color: var(--color-error);
  color: var(--color-error-dark);
}

/* Warning notification */
.notification-warning {
  background-color: var(--color-warning-bg);
  border-left-color: var(--color-warning);
  color: var(--color-warning-dark);
}

/* Info notification */
.notification-info {
  background-color: var(--color-info-bg);
  border-left-color: var(--color-info);
  color: var(--color-info-dark);
}

/* Inline form validation messages */
.form-success {
  color: var(--color-success);
  font-size: var(--text-sm);
  margin-top: calc(-1 * var(--spacing-xs));
  margin-bottom: var(--spacing-sm);
  display: block;
}

.form-warning {
  color: var(--color-warning);
  font-size: var(--text-sm);
  margin-top: calc(-1 * var(--spacing-xs));
  margin-bottom: var(--spacing-sm);
  display: block;
}

/* Toast notifications (pop-up) */
.toast-container {
  position: fixed;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  max-width: var(--toast-max-width);
}

.toast {
  opacity: 0;
  transform: translateX(var(--toast-offset));
  transition: opacity var(--anim-duration-medium) var(--ease-out),
    transform var(--anim-duration-medium) var(--ease-out);
  box-shadow: var(--shadow-md);
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

/* RESPONSIVE UTILITY CLASSES
 * These classes provide quick responsive layout adjustments
 * ---------------------------------------------------------------- */

/* Responsive text alignment */
@media (max-width: 768px) {
  .text-center-mobile {
    text-align: center !important;
  }

  .text-left-mobile {
    text-align: left !important;
  }

  .text-right-mobile {
    text-align: right !important;
  }
}

/* Responsive spacing adjustments */
@media (max-width: 768px) {
  .mt-0-mobile {
    margin-top: 0 !important;
  }

  .mb-0-mobile {
    margin-bottom: 0 !important;
  }

  .mx-auto-mobile {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/*
 * ANIMATION-UTILITIES.CSS
 * Animation utility classes and reusable animation components
 *
 * This file contains:
 * 1. Animation variables
 * 2. Reusable transition utilities
 * 3. Animation utility classes
 * 4. Scroll-based animations
 * 5. Stagger animations
 * 6. Keyframe definitions
 * 7. Component-specific animations
 *
 * JAVASCRIPT COORDINATION:
 * The animation system uses both CSS and JavaScript:
 * - CSS handles transitions, keyframes, and standard animations
 * - JavaScript (animations.js) handles:
 *   - Scroll detection for .animate-on-scroll elements
 *   - Dynamic staggered animations via .stagger-item-{n} classes
 *   - Navbar scroll behavior via .scrolled class
 *
 * USING SCROLL ANIMATIONS:
 * 1. Add .animate-on-scroll to any element you want to animate on scroll
 * 2. The element will receive .fade-in class when scrolled into view
 * 3. For staggered child animations, use .stagger-children on the parent
 *
 */

/* ============================
 * ANIMATION VARIABLES
 * ============================ */

 :root {
  /* Timing Variables */
  --anim-duration-fast: 0.3s;
  --anim-duration-medium: 0.6s;
  --anim-duration-slow: 0.9s;

  /* Delay Variables */
  --anim-delay-short: 0.1s;
  --anim-delay-medium: 0.2s;
  --anim-delay-long: 0.3s;

  /* Easing Functions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-standard: ease-in-out;
  --ease-bounce: cubic-bezier(0.68, -0.6, 0.32, 1.6);

  /* Transform Distances */
  --slide-distance-small: 10px;
  --slide-distance-medium: 20px;
  --slide-distance-large: 30px;

  /* Opacity Levels */
  --opacity-hidden: 0;
  --opacity-visible: 1;
  --opacity-semi: 0.7;
}

/* ============================
 * TRANSITION UTILITIES
 * ============================ */

/* Standard transitions for common properties */
.transition-all {
  transition: all var(--anim-duration-medium) var(--ease-standard);
  will-change: auto;
}

.transition-transform {
  transition: transform var(--anim-duration-medium) var(--ease-out);
  will-change: transform;
}

.transition-opacity {
  transition: opacity var(--anim-duration-medium) var(--ease-standard);
  will-change: opacity;
}

.transition-colors {
  transition: background-color var(--anim-duration-fast) var(--ease-standard),
    color var(--anim-duration-fast) var(--ease-standard);
  will-change: background-color, color;
}

/* Transitions with different speeds */
.transition-fast {
  transition: all var(--anim-duration-fast) var(--ease-standard);
  will-change: auto;
}

.transition-medium {
  transition: all var(--anim-duration-medium) var(--ease-standard);
  will-change: auto;
}

.transition-slow {
  transition: all var(--anim-duration-slow) var(--ease-standard);
  will-change: auto;
}

/* Property-specific transitions */
.transition-background {
  transition: background-color var(--anim-duration-medium) var(--ease-standard);
  will-change: background-color;
}

.transition-size {
  transition: width var(--anim-duration-medium) var(--ease-out),
    height var(--anim-duration-medium) var(--ease-out),
    font-size var(--anim-duration-medium) var(--ease-out);
  will-change: width, height;
}

.transition-shadow {
  transition: box-shadow var(--anim-duration-fast) var(--ease-out);
  will-change: box-shadow;
}

/* Combined transitions for common patterns */
.transition-nav {
  transition: background-color var(--anim-duration-slow) var(--ease-out),
    padding var(--anim-duration-slow) var(--ease-out),
    backdrop-filter var(--anim-duration-slow) var(--ease-out);
  will-change: background-color, padding, backdrop-filter;
}

.transition-card {
  transition: transform var(--anim-duration-fast) var(--ease-out),
    box-shadow var(--anim-duration-fast) var(--ease-out);
  will-change: transform, box-shadow;
}

/* Component-specific transition mixins */
.transition-header {
  transition: height var(--anim-duration-medium) var(--ease-out),
    background-color var(--anim-duration-medium) var(--ease-out),
    box-shadow var(--anim-duration-medium) var(--ease-out);
  will-change: height, background-color, box-shadow;
}

.transition-menu {
  transition: transform var(--anim-duration-medium) var(--ease-out),
    opacity var(--anim-duration-medium) var(--ease-out),
    visibility var(--anim-duration-medium) var(--ease-out);
  will-change: transform, opacity, visibility;
}

.transition-accordion {
  transition: max-height var(--anim-duration-medium) var(--ease-out),
    opacity var(--anim-duration-fast) var(--ease-out),
    visibility var(--anim-duration-fast) var(--ease-out);
  will-change: max-height, opacity;
}

.transition-modal {
  transition: opacity var(--anim-duration-medium) var(--ease-standard),
    transform var(--anim-duration-medium) var(--ease-standard),
    visibility var(--anim-duration-medium) var(--ease-standard);
  will-change: opacity, transform, visibility;
}

.transition-button {
  transition: background-color var(--anim-duration-fast) var(--ease-standard),
    color var(--anim-duration-fast) var(--ease-standard),
    transform var(--anim-duration-fast) var(--ease-out),
    box-shadow var(--anim-duration-fast) var(--ease-out);
  will-change: background-color, color, transform, box-shadow;
}

.transition-image {
  transition: transform var(--anim-duration-medium) var(--ease-out),
    filter var(--anim-duration-medium) var(--ease-out);
  will-change: transform, filter;
}

/* Interactive element optimizations */
.hover-optimized {
  will-change: transform, box-shadow;
}

.scroll-optimized {
  will-change: transform, opacity;
}

.sticky-optimized {
  will-change: position, transform;
}

/* ============================
 * ANIMATION UTILITIES
 * ============================ */

/* Fade animations */
.fade-in {
  opacity: 0;
  animation: fadeIn var(--anim-duration-medium) var(--ease-standard) forwards;
  will-change: opacity, transform;
}

.fade-out {
  animation: fadeOut var(--anim-duration-medium) var(--ease-standard) forwards;
}

.fade-up {
  animation: fadeUp var(--anim-duration-medium) var(--ease-out) forwards;
  will-change: opacity, transform;
}

/* Movement animations */
.slide-in-left {
  animation: slideInLeft var(--anim-duration-medium) var(--ease-out) forwards;
  will-change: transform;
}

.slide-in-right {
  animation: slideInRight var(--anim-duration-medium) var(--ease-out) forwards;
  will-change: transform;
}

/* ============================
 * SCROLL-BASED ANIMATIONS
 * ============================ */

/*
 * Base class for scroll animations
 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(var(--slide-distance-large));
  visibility: hidden; /* Completely hide until animation starts */
  will-change: opacity, transform;
}

.animate-on-scroll.fade-in {
  visibility: visible; /* Make visible when animation starts */
}

/* Class specifically for keyframe animations */
.animate-on-scroll.use-keyframes {
  transition: none; /* Disable transitions when using keyframes */
}

/* ============================
 * STAGGER ANIMATIONS
 * ============================ */

/* Stagger delays for child elements */
.stagger-children > *:nth-child(1) {
  animation-delay: 0s;
}

.stagger-children > *:nth-child(2) {
  animation-delay: calc(var(--anim-delay-medium) * 1);
}

.stagger-children > *:nth-child(3) {
  animation-delay: calc(var(--anim-delay-medium) * 2);
}

.stagger-children > *:nth-child(4) {
  animation-delay: calc(var(--anim-delay-medium) * 3);
}

.stagger-children > *:nth-child(5) {
  animation-delay: calc(var(--anim-delay-medium) * 4);
}

/* Card Stagger Delays (moved from animations.css) */
.preview-card.animate-on-scroll,
.testimonial-card.animate-on-scroll,
.blog-card.animate-on-scroll,
.credential-item.animate-on-scroll {
  transition-delay: calc(var(--anim-delay-medium) * var(--order, 1));
}

/* Set order for staggered animations (moved from animations.css) */
.preview-card:nth-child(1),
.testimonial-card:nth-child(1),
.blog-card:nth-child(1),
.credential-item:nth-child(1) {
  --order: 1;
}

.preview-card:nth-child(2),
.testimonial-card:nth-child(2),
.blog-card:nth-child(2),
.credential-item:nth-child(2) {
  --order: 2;
}

.preview-card:nth-child(3),
.testimonial-card:nth-child(3),
.blog-card:nth-child(3),
.credential-item:nth-child(3) {
  --order: 3;
}

.credential-item:nth-child(4) {
  --order: 4;
}

/* ============================
 * KEYFRAMES
 * ============================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: var(--opacity-visible);
    transform: translateY(50px);
  }
  to {
    opacity: var(--opacity-hidden);
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: var(--opacity-hidden);
    transform: translateY(var(--slide-distance-medium));
  }
  to {
    opacity: var(--opacity-visible);
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(calc(-1 * var(--slide-distance-medium)));
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(var(--slide-distance-medium));
  }
  to {
    transform: translateX(0);
  }
}

/* ============================
 * STANDARD HOVER UTILITIES
 * ============================ */

/*
 * Card hover animations
 * This is the preferred way to add hover effects to cards
 * Example usage: <div class="blog-card card-hover">...</div>
 */
.card-hover {
  transition: transform var(--anim-duration-fast) var(--ease-out),
    box-shadow var(--anim-duration-fast) var(--ease-out);
  will-change: transform, box-shadow;
}

/* Standard card hover effect */
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Smaller hover effect variant */
.card-hover-sm:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Minimal hover effect variant */
.card-hover-xs:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Button hover animations */
.btn-hover {
  transition: transform var(--anim-duration-fast) var(--ease-out),
    background-color var(--anim-duration-fast) var(--ease-standard),
    color var(--anim-duration-fast) var(--ease-standard);
  will-change: transform;
}

.btn-hover:hover {
  transform: translateY(-2px);
}

/* Inversion button hover effect - inverts background/text colors on hover */
.btn-hover-invert {
  transition: transform var(--anim-duration-fast) var(--ease-out),
    background-color var(--anim-duration-fast) var(--ease-standard),
    color var(--anim-duration-fast) var(--ease-standard),
    border-color var(--anim-duration-fast) var(--ease-standard);
  will-change: transform, background-color, color;
}

/* For light buttons (dark text on light background) */
.btn-hover-invert.light:hover {
  background-color: var(--rich-grey);
  color: var(--pure-white);
  transform: translateY(-2px);
}

/* For dark buttons (light text on dark background) */
.btn-hover-invert.dark:hover {
  background-color: var(--pure-white);
  color: var(--rich-grey);
  transform: translateY(-2px);
}

/* Transparent button hover effect - makes background transparent on hover */
.btn-hover-transparent {
  transition: transform var(--anim-duration-fast) var(--ease-out),
    background-color var(--anim-duration-fast) var(--ease-standard),
    color var(--anim-duration-fast) var(--ease-standard),
    border-color var(--anim-duration-fast) var(--ease-standard),
    opacity var(--anim-duration-fast) var(--ease-standard);
  will-change: transform, background-color, color, opacity;
  border: 1px solid transparent; /* Adding border to maintain shape when background becomes transparent */
}

/* For light buttons (dark text on light background) */
.btn-hover-transparent.light:hover {
  background-color: transparent;
  color: var(--pure-white);
  border-color: var(--pure-white);
  transform: translateY(-2px);
}

/* For dark buttons (light text on dark background) */
.btn-hover-transparent.dark:hover {
  background-color: transparent;
  color: var(--rich-grey);
  border-color: var(--rich-grey);
  transform: translateY(-2px);
}

/* Form input focus animations */
.input-focus {
  transition: border-color var(--anim-duration-fast) var(--ease-standard),
    box-shadow var(--anim-duration-fast) var(--ease-standard);
}

/* Add a new utility class that combines fade-in and slide-up for use anywhere */
.fade-slide-up {
  animation: fadeUp var(--anim-duration-medium) var(--ease-out) forwards;
  will-change: opacity, transform;
}


/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/
/*
 * LAYOUT.CSS
 * Layout styles, grids, containers, and structural elements
 */

/* Main Content */
.content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-md);
}

/* Section Layout */
.section {
  margin-bottom: var(--section-spacing-sm);
}

/* Section with more spacing */
.section-lg {
  margin-bottom: var(--section-spacing-md);
}

/* Section with maximum spacing */
.section-xl {
  margin-bottom: var(--section-spacing-lg);
}

/* Inner section spacing */
.section-inner {
  margin-bottom: var(--section-spacing-inner);
}

/* Section with background color */
.section-background {
  background-color: var(--ghost-grey);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-inner);
}

/* Blog Preview Section - Add more spacing and separation */
.blog-preview {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  padding-top: var(--spacing-2md);
  position: relative;
}

.blog-preview .section-title {
  margin-bottom: var(--spacing-2md);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2md);
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Credentials List */
.credentials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin: var(--spacing-2md) 0;
}

/* Availability Grid */
.availability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

/* Content area with background image */
.content-with-bg {
  position: relative;
  z-index: 2;
  padding: var(--spacing-md);
  background-color: var(--overlay-light);
  border-radius: var(--radius-md);
}

/* Improve header overlay for better readability */
.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-light);
  z-index: -1;
}

/* ----- RESPONSIVE LAYOUTS ----- */
/*
 * Mobile-first approach with progressive enhancements
 * Default styles are for mobile, then we add styles for larger screens
 *
 * NOTE: Media queries use hardcoded pixel values instead of CSS variables
 * because browsers don't reliably support CSS variables in media query definitions.
 * Do not attempt to replace these with var(--breakpoint-*) variables.
 */

/* Large screens */
@media (max-width: 1200px) {
  /* Hero styles moved to module */
}

/* Mobile phones */
@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}

/* Credentials Section */
.credentials {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-2md) var(--spacing-md);
  position: relative;
}

.credentials-content {
  max-width: 1000px;
  margin: 0 auto;
}

.credentials-motto {
  font-size: var(--text-md);
  font-style: italic;
  text-align: center;
  color: var(--slate-grey);
  margin-bottom: var(--spacing-2md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

/* .widget-span */
/* .widget-type-cell */

/* Elements
Base HMTL elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: #D0D0D0;
  border-color: #D0D0D0;
  color: #E6E6E6;
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}
/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.7rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: #FFF;
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: #FFF;
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: #EF6B51;
}

.hs-input.invalid.error {
  border-color: #EF6B51;
}

.hs-error-msg {
  color: #EF6B51;
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: #fff;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: #494A52;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }

/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* Header DND sections */

.header .dnd-section {
  padding: 0;
}

/* Header container */

.header__container {
  display: flex;
  justify-content: space-between;
}

.header__row-1 {
  padding-top: 1rem;
}

.header__row-1,
.header__row-2 {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 1150px) and (min-width: 767px) {
  .header__column {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .header__container {
    flex-direction: column;
    padding: 1rem 0 0;
  }

  .header__column {
    position: relative;
  }

  .header__row-1 {
    padding-top: 0;
  }

  .header__row-2 {
    justify-content: center;
    padding: 1.05rem;
  }
}

/* Navigation skipper */

.header__skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}

.header__skip:hover,
.header__skip:focus,
.header__skip:active {
  height: auto;
  left: 0;
  overflow: visible;
  top: 0;
  width: auto;
}

/* Logo */

.header__logo {
  align-items: center;
  display: flex;
  height: auto;
  margin-right: auto;
  max-width: 200px;
  overflow: hidden;
}

.header__logo-small {
  align-items: center;
  display: flex;
  height: auto;
  margin-right: auto;
  max-width: 20px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .header__logo {
    margin: 0 auto;
    width: 100%;
  }
}

.header__logo img {
  max-width: 100%;
}

.header__logo .logo-company-name {
  font-size: 1.167rem;
  margin-top: 0.7rem;
}

.header__logo--main {
  padding-top: 1rem;
}

/* Search bar */

.header__search {
  padding: 0 1rem;
  width: auto;
}



  .hs-search-field__form {
    position: relative;
  }

  .header__search .hs-search-field__label {
    flex-basis: auto;
  }



.header__search .hs-search-field__input {
  
  height: 45px;
  padding: 0 0.7rem;
}



  .header__search .hs-search-field__button {
    padding: 0;
    fill: #000;
    background-color: transparent;
    border: none;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
  }

  .header__search .hs-search-field__button svg {
    height: 25px;
  }


.header__search .hs-search-field--open .hs-search-field__input {
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  max-width: 100%;
}

.header__search .hs-search-field--open .hs-search-field__suggestions {
  background-color: #FFF;
  border: 2px solid #D1D6DC;
  border-radius: 0 0 6px 6px;
  border-top-width: 1px;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.header__search .hs-search-field__suggestions li {
  border-top: 1px solid #D1D6DC;
  font-size: 0.875rem;
}

.header__search .hs-search-field__suggestions li a {
  color: #494A52;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.header__search .hs-search-field__suggestions #results-for {
  display: none;
}

@media (min-width: 767px) {
  .header__search form {
    align-items: center;
    display: flex;
    flex-direction: row;
  }

  .header__search label {
    margin: 0 1rem 0 0;
  }

  .header__search .hs-search-field__input {
    width: auto;
  }
}

@media (max-width: 767px) {
  .header__search {
    border-top: 2px solid #CED4DB;
    order: 1;
    padding: 1.05rem;
  }
}

/* Language switcher */

.header__language-switcher {
  cursor: pointer;
  padding-right: 1.4rem;
}

.header__language-switcher .lang_switcher_class {
  position: static;
}

.header__language-switcher .lang_list_class {
  border: 2px solid;
  border-radius: 3px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  display: block;
  left: calc(100% - 24px);
  opacity: 0;
  min-width: 100px;
  padding-top: 0;
  text-align: left;
  top: 100%;
  transition: opacity 0.3s;
  visibility: hidden;
}

.header__language-switcher:hover .lang_list_class,
.header__language-switcher:focus .lang_list_class {
  opacity: 1;
  transition: opacity 0.3s;
  visibility: visible;
}

.header__language-switcher .lang_list_class:before {
  left: 70%;
  top: -25px;
}

.header__language-switcher .lang_list_class:after {
  left: 70%;
  top: -22px;
}

.header__language-switcher .lang_list_class.first-active::after {
  top: -22px;
  transition: 0.3s;
}

.header__language-switcher .lang_list_class li {
  border: none;
  font-size: 18px;
  padding: 0.35rem 0.7rem;
}

.header__language-switcher .lang_list_class li:first-child {
  border-radius: 6px 6px 0 0;
  border-top: none;
}

.header__language-switcher .lang_list_class li:last-child {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}

.header__language-switcher .lang_list_class li:hover {
  transition: background-color 0.3s;
}

.header__language-switcher--label {
  display: flex;
  position: relative;
}

.header__language-switcher--label-current {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  margin-bottom: 0.175rem;
  margin-left: 0.7rem;
}

.header__language-switcher--label-current:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #494A52;
  content: "";
  display: block;
  height: 0px;
  margin-left: 0.7rem;
  margin-top: 0.175rem;
  width: 0px;
}

@media (max-width: 767px) {
  .header__language-switcher {
    border-top: 2px solid #CED4DB;
    padding-left: 1.05rem;
    padding-right: 0;
  }

  .header__language-switcher .lang_list_class {
    border: none;
    box-shadow: unset;
    display: block;
    left: 30px;
    opacity: 1;
    padding: 0 1.05rem;
    top: 0;
    visibility: visible;
  }

  .header__language-switcher .lang_list_class li {
    background-color: inherit;
    font-size: 0.917rem;
  }

  .header__language-switcher--label-current {
    display: none;
  }

  .header__language-switcher .globe_class {
    background-image: none;
  }

  .header__language-switcher .lang_list_class li:hover{
    background-color: inherit;
  }

  .header__language-switcher .lang_list_class:before,
  .header__language-switcher .lang_list_class:after {
    content: none;
  }
    /* V1 lang switcher updates to keep "in line" w/ v0 mobile styles */
    .header__language-switcher .hs-language-switcher__menu {
        display: block;
        box-shadow:none!important;
        background: transparent;
    }
    .header__language-switcher .hs-language-switcher__menu a {
        font-size: 20px!important;
    }
    .header__language-switcher .hs-language-switcher__button {
        display: none;
    }
  }

/* Navigation */

#nav-toggle {
  display: none;
}

/* Mobile toggles */

@media (max-width: 767px) {
  .header__navigation,
  .header__search,
  .header__language-switcher {
    display: none;
    width: 100%;
  }

  .header__navigation.open,
  .header__search.open,
  .header__language-switcher.open {
    background-color: #F8FAFC;
    display: block;
    left: 0;
    min-height: calc(100vh - 115px);
    position: absolute;
    right: 0;
    top: 75px;
    z-index: 2;
  }

  .header__navigation--toggle,
  .header__search--toggle,
  .header__language-switcher--toggle,
  .header__close--toggle {
    cursor: pointer;
    margin: 0 5vw;
    position: relative;
  }

  .header__navigation--toggle.hide,
  .header__search--toggle.hide,
  .header__language-switcher--toggle.hide {
    display: none;
  }

  .header__navigation--toggle.open,
  .header__search--toggle.open,
  .header__language-switcher--toggle.open {
    display: block;
    margin-left: 0;
    margin-right: auto;
  }

  .header__navigation--toggle:after,
  .header__search--toggle:after,
  .header__language-switcher--toggle:after {
    display: none;
    font-size: 1.083rem;
    font-weight: 600;
    position: absolute;
    left: 40px;
    text-transform: uppercase;
    top: -10px;
  }

  .header__navigation--toggle.open:after,
  .header__search--toggle.open:after,
  .header__language-switcher--toggle.open:after {
    display: block;
    word-break: normal;
  }

  .header__navigation--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5oYW1idXJnZXI8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGcgaWQ9ImhhbWJ1cmdlciIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iR3JvdXAiIHN0cm9rZT0iIzQ5NEE1MiIgc3Ryb2tlLXdpZHRoPSIzIj4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIxLjUiIHk9IjEuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNCIgeD0iMS41IiB5PSI5LjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS1Db3B5LTUiIHg9IjEuNSIgeT0iMTcuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__navigation--toggle:after {
    content: "Menu";
  }

  .header__language-switcher--toggle {
    background-image: url(//static.hsappstatic.net/cos-LanguageSwitcher/static-1.1/img/globe.png);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__language-switcher--toggle:after {
    content: "Language";
  }

  .header__search--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5TZWFyY2g8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+ICAgICAgICA8cGF0aCBkPSJNOS4xMzg2MTUzNCwxNS44OTI1Njg1IEM1LjQxMzk1NzQyLDE1Ljg5MjU2ODUgMi4zODM4ODUyNywxMi44NjM0NDc1IDIuMzgzODg1MjcsOS4xMzkwMDM3NiBDMi4zODM4ODUyNyw1LjQxNDU2MDA1IDUuNDEzOTU3NDIsMi4zODM4ODUyNyA5LjEzODYxNTM0LDIuMzgzODg1MjcgQzEyLjg2MzI3MzMsMi4zODM4ODUyNyAxNS44OTI1Njg1LDUuNDE0NTYwMDUgMTUuODkyNTY4NSw5LjEzOTAwMzc2IEMxNS44OTI1Njg1LDEyLjg2MzQ0NzUgMTIuODYzMjczMywxNS44OTI1Njg1IDkuMTM4NjE1MzQsMTUuODkyNTY4NSBNOS4xMzg3NTI0NSwyLjQzMzYwODg3ZS0xMyBDMTQuMTc3OTk1NSwyLjQzMzYwODg3ZS0xMyAxOC4yNzY0NTM3LDQuMTAwMzI0NzEgMTguMjc2NDUzNyw5LjEzOTI3Nzk2IEMxOC4yNzY0NTM3LDExLjIyOTgyMTEgMTcuNTcxMDE2OSwxMy4xNTg0NDM0IDE2LjM4NTYzMTMsMTQuNjk5NjY5NiBMMjMuNjUwODg4MSwyMS45NjUyMjY2IEMyNC4xMTYzNzA2LDIyLjQzMDcwOTIgMjQuMTE2MzcwNiwyMy4xODU0MDU1IDIzLjY1MDg4ODEsMjMuNjUwODg4MSBDMjMuMTg1NDA1NSwyNC4xMTYzNzA2IDIyLjQzMDcwOTIsMjQuMTE2MzcwNiAyMS45NjUyMjY2LDIzLjY1MDg4ODEgTDE0LjY5OTgxMzMsMTYuMzg1NDcxMyBDMTMuMTU4NDQwNSwxNy41NzA5NTA5IDExLjIyOTU3MzgsMTguMjc2NDUzNyA5LjEzODc1MjQ1LDE4LjI3NjQ1MzcgQzQuMDk5NTA5MzgsMTguMjc2NDUzNyAtMy43MzAzNDkzNmUtMTQsMTQuMTc4MjMxMiAtMy43MzAzNDkzNmUtMTQsOS4xMzkyNzc5NiBDLTMuNzMwMzQ5MzZlLTE0LDQuMTAwMzI0NzEgNC4wOTk1MDkzOCwyLjQzMzYwODg3ZS0xMyA5LjEzODc1MjQ1LDIuNDMzNjA4ODdlLTEzIFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4gICAgPC9kZWZzPiAgICA8ZyBpZD0iU2VhcmNoIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4gICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICAgICAgPC9tYXNrPiAgICAgICAgPHVzZSBpZD0iSWNvbnMvQWN0aW9ucy9TZWFyY2giIGZpbGw9IiM0OTRBNTIiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICA8L2c+PC9zdmc+);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__search--toggle:after {
    content: "Search";
  }

  .header__close--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjE5cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5jbG9zZTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZyBpZD0iY2xvc2UiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9Ikdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjAwMDAwMCwgLTEuMDAwMDAwKSIgc3Ryb2tlPSIjNDk0QTUyIiBzdHJva2Utd2lkdGg9IjMiPiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwLjAwMDAwMCwgMTAuNTAwMDAwKSByb3RhdGUoLTQ1LjAwMDAwMCkgdHJhbnNsYXRlKC0xMC4wMDAwMDAsIC0xMC41MDAwMDApICIgeD0iLTAuNSIgeT0iMTAuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCAxMC41MDAwMDApIHJvdGF0ZSg0NS4wMDAwMDApIHRyYW5zbGF0ZSgtMTAuMDAwMDAwLCAtMTAuNTAwMDAwKSAiIHg9Ii0wLjUiIHk9IjEwLjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-size: 110%;
    display: none;
    height: 25px;
    margin-right: 0;
    width: 25px;
  }

  .header__close--toggle.show {
    display: block;
  }
}
/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}

/* Rich text module fixes */
.hs_cos_wrapper_type_rich_text {
  /* Ensure proper content flow */
  display: block;
}

.hs_cos_wrapper_type_rich_text > span {
  /* Fix for nested spans */
  display: block;
}

.hs_cos_wrapper_type_rich_text ul,
.hs_cos_wrapper_type_rich_text ol {
  /* Restore proper list styling */
  list-style-position: outside;
  padding-left: 1.5em;
  margin-bottom: var(--spacing-md);
}

.hs_cos_wrapper_type_rich_text ul {
  list-style-type: disc;
}

.hs_cos_wrapper_type_rich_text ol {
  list-style-type: decimal;
}

.hs_cos_wrapper_type_rich_text p + ul,
.hs_cos_wrapper_type_rich_text p + ol {
  margin-top: calc(-1 * var(--spacing-sm));
}

/* Handle text that's not in paragraphs */
.hs_cos_wrapper_type_rich_text > span > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(ul):not(ol):not(p):not(blockquote):not(pre) {
  display: block;
  margin-bottom: var(--spacing-md);
}

/* Fix for unwrapped text without proper container elements */
.hs_cos_wrapper_type_rich_text > span {
  white-space: normal;
}

.hs_cos_wrapper_type_rich_text > span > br {
  display: none;
}

/* Force unwrapped text to be treated as paragraphs */
.hs_cos_wrapper_type_rich_text > span:not(:empty) > br ~ text,
.hs_cos_wrapper_type_rich_text > span > text:not(:only-child) {
  display: block;
  margin-bottom: var(--spacing-md);
}
/*
 * COMPARISON COLUMNS
 * Styling for the comparison columns section (myth vs reality)
 */

/* Section title styling */
.dnd-section h2 {
  color: var(--rich-grey);
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.dnd-section h2 + p {
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  text-align: center;
  color: var(--medium-grey);
}

/* Add animation for rows in sections */
.dnd-section .dnd-row {
  opacity: 0;
  transform: translateY(var(--slide-distance-small));
  animation: fadeSlideUp var(--anim-duration-medium) var(--ease-out) forwards;
}

.dnd-section .dnd-row:nth-child(1) { animation-delay: 0s; }
.dnd-section .dnd-row:nth-child(2) { animation-delay: calc(var(--anim-delay-short) * 1); }
.dnd-section .dnd-row:nth-child(3) { animation-delay: calc(var(--anim-delay-short) * 2); }
.dnd-section .dnd-row:nth-child(4) { animation-delay: calc(var(--anim-delay-short) * 3); }
.dnd-section .dnd-row:nth-child(5) { animation-delay: calc(var(--anim-delay-short) * 4); }
.dnd-section .dnd-row:nth-child(6) { animation-delay: calc(var(--anim-delay-short) * 5); }

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section spacing */
.dnd-section .dnd-row:last-child {
  margin-bottom: var(--section-spacing-sm);
}

/* Spacing for mobile */
@media (max-width: 767px) {
  .dnd-section h2 + p {
    margin-bottom: var(--spacing-md);
  }
}

/* Wrapper for comparison row */
.comparison-wrapper {
  display: flex;
  margin-bottom: var(--spacing-md);
  position: relative;
}

/* Comparison item container */
.comparison-item {
  background-color: var(--off-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--anim-duration-fast) var(--ease-standard),
              box-shadow var(--anim-duration-fast) var(--ease-standard);
}

.comparison-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Style for the myth column */
.comparison-myth {
  background-color: var(--ghost-grey);
  border-right: var(--border-width-thin) solid var(--light-grey);
  position: relative;
}

.comparison-myth::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--pure-white);
  border: 1px solid var(--light-grey);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23595959' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Style for the reality column */
.comparison-reality {
  background-color: var(--off-white);
}

/* Heading styles */
.comparison-item h3 {
  font-size: var(--text-md);
  margin-bottom: var(--spacing-xs);
  font-weight: var(--font-weight-semibold);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.comparison-item h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: currentColor;
  opacity: 0.5;
}

.comparison-myth h3 {
  color: var(--medium-grey);
}

.comparison-reality h3 {
  color: var(--rich-grey);
}

/* Paragraph styles */
.comparison-item p {
  font-size: var(--text-base);
  line-height: var(--line-height-base);
  margin-bottom: 0;
}

.comparison-myth p {
  font-style: italic;
  color: var(--slate-grey);
}

.comparison-reality p {
  color: var(--rich-grey);
}

/* Strong text emphasis */
.comparison-item strong {
  font-weight: var(--font-weight-bold);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .comparison-wrapper {
    flex-direction: column;
    margin-bottom: var(--spacing-lg);
  }

  .comparison-myth {
    border-right: none;
    border-bottom: var(--border-width-thin) solid var(--light-grey);
    margin-bottom: var(--spacing-md);
  }

  .comparison-myth::after {
    top: auto;
    right: 50%;
    bottom: -15px;
    transform: translateX(50%) rotate(90deg);
  }

  .comparison-item {
    margin-bottom: var(--spacing-sm);
  }
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}

/* Rich text custom wrapper
   A targeted wrapper class to style rich text content consistently without
   global overrides to HubSpot's default styling.
*/
.rich-text-custom-wrapper {
  font-size: var(--text-base);
  line-height: var(--line-normal);
  color: var(--medium-grey);
}

.rich-text-custom-wrapper p {
  margin-bottom: var(--spacing-md);
  white-space: normal;
}

.rich-text-custom-wrapper ul,
.rich-text-custom-wrapper ol {
  margin-bottom: var(--spacing-md);
  padding-left: 1.5em;
}

.rich-text-custom-wrapper ul {
  list-style-type: disc;
}

.rich-text-custom-wrapper ol {
  list-style-type: decimal;
}

.rich-text-custom-wrapper li {
  margin-bottom: var(--spacing-xxs);
}

.rich-text-custom-wrapper li:last-child {
  margin-bottom: 0;
}

.rich-text-custom-wrapper p + ul,
.rich-text-custom-wrapper p + ol {
  margin-top: calc(-1 * var(--spacing-sm));
}

/* Format links that appear in unwrapped text */
.rich-text-custom-wrapper > :not(p) a {
  color: var(--rich-grey);
  text-decoration: underline;
}

.rich-text-custom-wrapper strong {
  font-weight: var(--font-weight-bold);
  color: var(--rich-grey);
}

.rich-text-custom-wrapper em {
  font-style: italic;
}

.rich-text-custom-wrapper a {
  color: var(--rich-grey);
  text-decoration: underline;
}

.rich-text-custom-wrapper a:hover {
  color: var(--dark-grey);
}