/* #region =============== RESET ===============*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
html {
    scroll-behavior: smooth;
}
* {
    box-sizing: border-box;
}
body {
    min-height: 100vh;
    line-height: 1.5;
    background: var(--color-white);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
    'Open Sans', 'Helvetica Neue', sans-serif;
}
/* Improved list styling */
ul, ol {
  margin: var(--space-lg) 0;
  padding-left: var(--space-2xl);
  line-height: 1.8;
  font-size: var(--font-size-lg);
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

li {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-xs);
}

/* Nested lists */
ul ul, ol ol, ul ol, ol ul {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-xl);
}

ul ul {
  list-style-type: circle;
}

ul ul ul {
  list-style-type: square;
}

/* Task lists (checkboxes) */
ul li[style*="list-style-type: none"] {
  list-style-type: none;
  margin-left: -var(--space-lg);
}

/* Bold and italic text styling */
strong, b {
  font-weight: bold;
}

em, i {
  font-style: italic;
}

/* Modern Hero Section - Full Width Background with Contained Content */
.hero-modern {
  width: 100%;
  background: linear-gradient(135deg, var(--success-color-600) 0%, var(--success-color-700) 100%);
  color: white;
  padding: var(--space-3xl) 0;
  margin: 0;
  position: relative;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-modern__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-modern__breadcrumb {
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

.hero-modern__breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.hero-modern__breadcrumb a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.hero-modern__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-lg) 0;
  max-width: 800px;
  color: white;
}

.hero-modern__strapline {
  font-size: clamp(1rem, 5vw, 2rem);
  line-height: 1.6;
  margin: 0 0 var(--space-2xl) 0;
  opacity: 0.95;
  max-width: 600px;
  font-weight: 400;
}

.hero-modern__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.hero-modern__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

.hero-modern__meta-item svg {
  opacity: 0.8;
}

.hero-modern__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
}

.share-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.share-button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: var(--space-sm) var(--space-md);
  border-radius: 6px;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-modern {
    padding: var(--space-2xl) 0;
  }
  
  .hero-modern__container {
    padding: 0 var(--space-lg);
  }
  
  .hero-modern__meta {
    gap: var(--space-md);
  }
  
  .hero-modern__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .share-buttons {
    width: 100%;
  }
}

/* Ensure proper spacing between list items and content */
li p {
  margin-bottom: var(--space-sm);
}

li p:last-child {
  margin-bottom: 0;
}
/* Blockquote styling */
blockquote {
  border-left: 4px solid var(--success-color-500);
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--success-color-100);
  font-style: italic;
  color: var(--gray-color-800);
  border-radius: 0 6px 6px 0;
}

blockquote p {
  margin: 0 0 var(--space-md) 0;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote blockquote {
  margin-left: var(--space-lg);
  border-left-color: var(--success-color-300);
  background-color: var(--success-color-200);
}

q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
/* Table styling */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: var(--space-xl) 0;
    background-color: var(--color-white);
    border: 1px solid var(--gray-color-300);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

thead {
    background-color: var(--success-color-600);
}

th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-weight: 600;
    color: var(--color-white);
    border-bottom: 2px solid var(--success-color-700);
}

td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--gray-color-200);
    vertical-align: top;
}

tbody tr:hover {
    background-color: var(--success-color-100);
}

tbody tr:last-child td {
    border-bottom: none;
}
a {
  color: var(--success-color-600);
  text-decoration: underline;
  text-decoration-color: var(--success-color-300);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover {
  color: var(--success-color-800);
  text-decoration-color: var(--success-color-600);
}
a:focus {
  outline: 2px solid var(--success-color-500);
  outline-offset: 2px;
  border-radius: 2px;
}
p {
  font-size: var(--font-size-xl);
  font-weight: 400;
  margin-bottom: var(--space-lg);
  margin-top: 0;
  line-height: 1.8;
}
/* Consistent header hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  line-height: 1.2;
  margin: var(--space-xl) 0 var(--space-lg) 0;
  color: var(--success-color-700);
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--success-color-500);
  margin: var(--space-2xl) 0 var(--space-xl) 0;
}

h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--success-color-600);
}

h3 {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--success-color-700);
}

h4 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--success-color-700);
}

h5 {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--success-color-800);
}

h6 {
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--success-color-800);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Code blocks and inline code styling */
code {
  font-family: 'Monaco', 'Menlo', 'Roboto Mono', 'Ubuntu Mono', 'Courier New', monospace;
  font-size: 0.9em;
  background-color: var(--gray-color-200);
  color: var(--gray-color-900);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  border: 1px solid var(--gray-color-300);
}

pre {
  background-color: var(--gray-color-200);
  border: 1px solid var(--gray-color-300);
  border-radius: 6px;
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  overflow-x: auto;
  font-family: 'Monaco', 'Menlo', 'Roboto Mono', 'Ubuntu Mono', 'Courier New', monospace;
  font-size: 0.875em;
  line-height: 1.5;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: var(--gray-color-900);
}

/* HTML elements styling */
kbd {
  background-color: var(--gray-color-200);
  border: 1px solid var(--gray-color-400);
  border-radius: 3px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  color: var(--gray-color-900);
  display: inline-block;
  font-family: 'Monaco', 'Menlo', 'Roboto Mono', 'Ubuntu Mono', 'Courier New', monospace;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1;
  padding: 2px 4px;
  white-space: nowrap;
}

mark {
  background-color: var(--warning-color-200);
  color: var(--gray-color-900);
  padding: 0.1em 0.2em;
  border-radius: 2px;
}

small {
  font-size: 0.8em;
  color: var(--gray-color-600);
}

del {
  text-decoration: line-through;
  color: var(--error-color-600);
  background-color: var(--error-color-100);
  padding: 0.1em 0.2em;
  border-radius: 2px;
}

ins {
  text-decoration: underline;
  color: var(--success-color-700);
  background-color: var(--success-color-100);
  padding: 0.1em 0.2em;
  border-radius: 2px;
}

/* Horizontal rule styling */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, var(--success-color-300), var(--success-color-500), var(--success-color-300));
  margin: var(--space-2xl) 0;
  border-radius: 1px;
}

/* Image styling */
img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: var(--space-lg) 0;
  display: block;
}

/* Images with links */
a img {
  transition: opacity 0.3s ease;
}

a img:hover {
  opacity: 0.9;
}

/* Image captions (if using figure/figcaption) */
figure {
  margin: var(--space-xl) 0;
  text-align: center;
}

figcaption {
  font-size: var(--font-size-sm);
  color: var(--gray-color-600);
  margin-top: var(--space-sm);
  font-style: italic;
}

/* Column layouts for markdown content */
.columns {
  display: grid;
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

/* Default: single column on mobile */
.columns {
  grid-template-columns: 1fr;
}

/* Two columns on tablets and up */
@media (min-width: 768px) {
  .columns-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Auto-fit columns (responsive) */
  .columns {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* Three columns on desktop */
@media (min-width: 1024px) {
  .columns-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .columns-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Column styling */
.column {
  background-color: var(--success-color-100);
  padding: var(--space-lg);
  border-radius: 6px;
  border: 1px solid var(--success-color-300);
}

/* Alternative column styles */
.column-flat {
  background: none;
  border: none;
  padding: 0;
}

.column-bordered {
  background: none;
  border: 1px solid var(--gray-color-300);
}

/* Special column widths */
.column-wide {
  grid-column: span 2;
}

.column-full {
  grid-column: 1 / -1;
}

/* Subscript and superscript styling */
sub, sup {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}
/* Base button styles */
.primary-button,
.outline-button {
  display: inline-block;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-md);
  border: 1px solid;
  border-radius: 4px;
  font-size: var(--font-size-base);
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.primary-button {
  background-color: var(--success-color-900);
  color: white;
  border-color: var(--success-color-700);
}

.primary-button:hover {
  background-color: var(--success-color-800);
}

.primary-button:focus {
  outline: 2px solid var(--success-color-500);
  outline-offset: 2px;
}

.outline-button {
  background-color: white;
  color: var(--success-color-900);
  border-color: var(--success-color-700);
}

.outline-button:hover {
  background-color: var(--success-color-200);
  color: var(--success-color-900);
}

.outline-button:focus {
  outline: 2px solid var(--success-color-500);
  outline-offset: 2px;
}
/* #endregion */

/* #region =============== VARIABLES ===============*/
:root {
  /*========== Measurements ==========*/
  --header-height: 50px;
  --lg-header-height: 80px;

  /*========== Spacing Scale ==========*/
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /*========== Typography Scale ==========*/
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /*========== Colors ==========*/
  --color-white: #ffffff;
  --color-black: #000000;
  --success-color-100: #e7fff4;
  --success-color-200: #A6E4C9;
  --success-color-300: #80C8A9;
  --success-color-400: #60BB94;
  --success-color-500: #369B70;
  --success-color-600: #268D61;
  --success-color-700: #13744A;
  --success-color-800: #08653D;
  --success-color-900: #004225;

  --warning-color-100: #FAE9D0;
  --warning-color-200: #E7CDA7;
  --warning-color-300: #E8BC7C;
  --warning-color-400: #D29D4D;
  --warning-color-500: #C48931;
  --warning-color-600: #AB7523;
  --warning-color-700: #8B5A11;
  --warning-color-800: #68420A;
  --warning-color-900: #3E2500;

  --error-color-100: #FFE4E4;
  --error-color-200: #E2A5A5;
  --error-color-300: #E18181;
  --error-color-400: #C34545;
  --error-color-500: #C43131;
  --error-color-600: #9B1A1A;
  --error-color-700: #7B0F0F;
  --error-color-800: #530404;
  --error-color-900: #3f0202;

  --information-color-100: #D5E1F4;
  --information-color-200: #B4CDF2;
  --information-color-300: #6D9ADD;
  --information-color-400: #5586CF;
  --information-color-500: #316CC4;
  --information-color-600: #215BB2;
  --information-color-700: #0C3E88;
  --information-color-800: #093270;
  --information-color-900: #00255C;

  --gray-color-100: #E8E8E8;
  --gray-color-200: #D9D9D9;
  --gray-color-300: #BABABA;
  --gray-color-400: #A1A1A1;
  --gray-color-500: #7E7E7E;
  --gray-color-600: #666666;
  --gray-color-700: #464646;
  --gray-color-800: #2F2F2F;
  --gray-color-900: #001402;

  --text-dark-gray: #282323;
  --text-light-gray: #474747;

  --accent-color: #ffd485;
}
/* #endregion */

/* #region =============== BASE LAYOUT =============*/
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

main {
    padding: 0px;
    flex: 1;
}

/* Layout Variants */

/* 1. Reading Layout - 800px max for blog posts */
.layout-reading {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

.layout-reading .content {
    font-size: var(--font-size-xl);
    line-height: 1.8;
}

/* 2. Wide Layout - 1200px for homepages, features */
.layout-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* 3. Layout with Left Sidebar */
.layout-left-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .layout-left-sidebar {
        grid-template-columns: 280px 1fr;
    }
}

.layout-left-sidebar .sidebar {
    background-color: var(--success-color-200);
    padding: var(--space-xl);
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: var(--space-xl);
}

.layout-left-sidebar .main-content {
    min-width: 0; /* Prevents content overflow */
}

/* 4. Layout with Right Sidebar */
.layout-right-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .layout-right-sidebar {
        grid-template-columns: 1fr 320px;
    }
}

.layout-right-sidebar .sidebar {
   /* background-color: var(--gray-color-100); */
    padding: var(--space-xl);
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: var(--space-xl);
}

.layout-right-sidebar .main-content {
    min-width: 0; /* Prevents content overflow */
}

/* Sidebar content styling */
.sidebar h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
    color: var(--success-color-700);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: var(--space-sm);
    padding-left: 0;
}

.sidebar a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.sidebar a:hover {
    background-color: var(--success-color-200);
    text-decoration: none;
}

/* Optional: Table of Contents styling for sidebars */
.toc {
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
    margin-bottom: var(--space-xl);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gray-color-200);
    border-radius: 8px;
    padding: var(--space-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.toc-title {
    font-weight: 500;
    margin-bottom: var(--space-md);
    color: var(--gray-color-600);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--gray-color-200);
    padding-bottom: var(--space-xs);
}

.toc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: var(--space-2xs);
}

.toc-list a {
    color: var(--gray-color-500);
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.toc-list a:hover {
    color: var(--gray-color-800);
}

/* TOC link styling */
.toc-link {
    display: block;
    padding: var(--space-xs) var(--space-sm);
    color: var(--gray-color-500);
    text-decoration: none;
    font-size: var(--font-size-sm);
    line-height: 1.4;
    border-radius: 4px;
    transition: all 0.15s ease;
    margin: 0 calc(-1 * var(--space-sm));
}

.toc-link:hover {
    color: var(--gray-color-800);
}

.toc-link.active {
    outline: 1px solid var(--success-color-600);
    outline-offset: 2px;
}

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, var(--success-color-600) 0%, var(--success-color-700) 100%);
    color: white;
    padding: var(--space-4xl) var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.blog-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero__category {
    margin-bottom: var(--space-md);
}

.blog-hero__tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 var(--space-lg) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-hero__subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 var(--space-lg) 0;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.blog-hero__date, 
.blog-hero__updated {
    font-weight: 500;
}

.blog-hero__separator {
    opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-hero {
        padding: var(--space-2xl) var(--space-lg);
    }
    
    .blog-hero__meta {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .blog-hero__separator {
        display: none;
    }
}

/* Page metadata styling */
.page-meta {
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background-color: var(--gray-color-100);
    border-radius: 6px;
    border: 1px solid var(--gray-color-200);
}

.page-meta h3 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-color-800);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-meta p {
    font-size: var(--font-size-sm);
    color: var(--gray-color-600);
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

.page-meta p:last-child {
    margin-bottom: 0;
}

/* Template-specific styles */

/* Breadcrumb navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--gray-color-600);
    margin-bottom: var(--space-lg);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-color-200);
}

.breadcrumb-separator {
    color: var(--gray-color-400);
}

.breadcrumb-item {
    color: var(--gray-color-700);
}

/* Tags styling */
.tags {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}

.tag, .sidebar-tag {
    background-color: var(--success-color-200);
    color: var(--success-color-800);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.sidebar-tag {
    font-size: var(--font-size-xs);
    margin-bottom: var(--space-xs);
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

/* Documentation navigation */
.doc-navigation {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-color-200);
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    gap: var(--space-lg);
}

.nav-button {
    display: flex;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background-color: var(--success-color-100);
    border: 1px solid var(--success-color-300);
    border-radius: 6px;
    text-decoration: none;
    color: var(--success-color-800);
    font-weight: 500;
    transition: all 0.2s ease;
    max-width: 45%;
}

.nav-button:hover {
    background-color: var(--success-color-200);
    transform: translateY(-1px);
}

.nav-button--prev {
    margin-right: auto;
}

.nav-button--next {
    margin-left: auto;
}

/* CTA Section for landing pages */
.cta-section {
    text-align: center;
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--success-color-100), var(--success-color-200));
    border-radius: 12px;
    margin: var(--space-2xl) 0;
}

/* Article meta improvements */
.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--gray-color-600);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

/* Article footer improvements */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-color-200);
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* #endregion */

/* #region =============== COMPONENTS ===============*/

.top-ribbon {
  background-color: var(--success-color-600)
}
.container--single-column {
  max-width: 700px;
}

.container--padded {
  padding: 1rem;
}

.section--light {
  background-color: white;
}

.section--dark {
  background-color: var(--success-color-600);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  min-height: var(--header-height);
  background-color: var(--success-color-600);
  width: 100%;
}
.section-title {
  color: var(--success-color-900);
  font-weight: 500;
  line-height: 2.5rem;
  font-size: 2.5rem;;
  margin-bottom: 1rem;
  padding: 2rem;
  letter-spacing: -2px;  text-align: center;
}
.section-title--light {
  color: var(--success-color-800);
}
.text--light{
  color: #fff;
}

/* #region =============== card ===============*/
.card {
  background-color: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  padding: var(--space-xl);
  container-type: inline-size;
}
.card__header {
  margin-block-end: var(--space-lg);
}
.card__title {
  font-size: var(--font-size-2xl);
  font-weight: bold;
  margin: 0;
}
.card__content {
  font-size: var(--font-size-base);
}

/* Container query for responsive card title */
@container (min-width: 400px) {
  .card__title {
    font-size: var(--font-size-3xl);
  }
}
.card__footer {
  display: flex;
}
.card--featured {
  border: 2px solid #007bff;
}
.card--square {
  border-radius: 0px;
}
.card--flat {
  box-shadow: 0 0 0 0;
}
.card--bordered {
  border: 2px solid var(--gray-color-100)
}
/* #endregion */


/* #region =============== figure ===============*/
.figure {
  margin: 0 auto;

}

.figure__container {
  color:inherit;
}

.figure__image-wrapper {
  color:inherit;
}

.figure__image {
  max-width: 600px;
  margin: 0 auto;
  display: block; /* Ensures the image is centered */
}
/* #endregion */


/* #region =============== nav ===============*/
.nav__container {
  max-width: 1200px;
  height: 100%; /* Take full height of the parent */

}
.nav__header {
  padding: 1.6rem;
  display: flex;
  justify-content: space-between;
}
.nav__icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height:1.5rem;
  cursor: pointer;
}
.nav__icon span {
  display: block;
  height: 4px;
  width: 100%;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
}
.nav__logo {
  font-size: 1.2rem;
  font-weight: 400;
  color: white;
}
.nav__logo--highlight {
  font-size: 1.6rem;
  color:  white;
  font-weight: 900;
}
.nav__list {
  display: none;
  list-style-type: none;
  padding: 0;
  margin: 1rem 0 0;
}
.nav__list.active {
  display: block;
}
.nav__item {
  margin-bottom: 0.5rem;
  position: relative;
}
.nav__toggle {
  font-size: var(--font-size-lg);
  cursor: pointer;
  padding: var(--space-md);
  block-size: 100%;
  color: var(--color-white);
  transition: background-color 0.2s ease;
}
.nav__toggle:hover {
  background-color: var(--success-color-600);
  color: var(--success-color-300);
}
.nav__toggle:focus {
  outline: 2px solid var(--success-color-300);
  outline-offset: 2px;
}
.nav__toggle--call-us {
  font-size: 1rem;
  cursor: pointer;
  padding: 1rem 1rem;
  height:100%;
  color: #fff;
}
.nav__submenu {
  z-index: 10;
  display: none;
  list-style-type: none;
  padding-top: 0px
}
.nav__submenu.active {
  display: block;
}
.nav__sublink {
  text-decoration: none;
  color: var(--success-color-700);
  display: block;
  padding: 0.5rem 0;
}
.nav__sublink:hover {
  color: var(--success-color-900);
}
.megamenu__columns {
  display: flex;
  flex-direction:  column;
}
.megamenu__column {
  display: block;
  margin: 0.5rem;
}
.megamenu__column h3 {
  color: var(--success-color-700);
  font-weight: 600;
  padding-top: 0px;
}
.megamenu__column ul { 
  text-decoration: none;
  margin: 0px;
  line-height:1.5rem;
}
.megamenu__column ul li a{
  text-decoration: none;
  color: #000;
}
.megamenu__column ul li a:hover{
  color: var(--success-color-800);
}
/* #endregion */

/* #region =============== hero ===============*/

.hero {
  max-width: 1200px;
  min-height: 150px;
  margin: 0 auto;
  position: relative;
  display: flex;
  text-align: center;
  justify-content: center;
}
.hero--home {
  background-color: var(--success-color-600);
}
.hero__title {
  font-size: var(--font-size-4xl);
  margin: var(--space-2xl);
  letter-spacing: -1px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.25;
  max-inline-size: 450px;
}
.hero__subtitle {
  font-size: var(--font-size-2xl);
  margin: var(--space-2xl);
  letter-spacing: -1px;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.25;
  padding-block-end: 120px;
  max-inline-size: 450px;
}

/* Container queries for hero */
@container (min-width: 600px) {
  .hero__title {
    font-size: var(--font-size-5xl);
  }
  .hero__subtitle {
    font-size: var(--font-size-3xl);
  }
}
.hero__panel {
  position: absolute;
  bottom: -100px;
  border-radius: .5rem;;
  height: 200px;
  width: 350px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
  /* background-image: url('images/rothko1.png'); */
  background-size: cover;
  /* width: 90%; */
}

.home-hero-old {
  position: relative; /* Enables the pseudo-element positioning */
  width: 100%;
  height: 600px; /* Set the desired height of your hero section */
  margin: 0 auto;
  background-image: url('images/pexels-jimmy-liao-3615017-13396916.webp');
  background-size: cover; /* Ensures the image covers the section */
  background-position: center;
}
.home-hero-old::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #268d61; /* Same color */
  opacity: 0.7; /* Apply 25% opacity */
  z-index: 1;
}
.home-hero-content-old {
  position: relative;
  z-index: 2; /* Makes sure the content appears on top of the background */
  color: white; /* Ensure your text is readable */
  text-align: left;
  padding: 2rem;
}
.home-hero__title-old {
  font-size: 3em;
  text-align: left;
  color: white;
  font-weight: 700;
  margin: 20px auto 30px;
  letter-spacing: -4px;
}
.home-hero__strapline-old {
  /* max-width: 250px; */
  font-size: 1.5em;
  text-align: left;
  color: white;
  font-weight: 400;
  margin-bottom: 50px;
  letter-spacing: 0px;
}
.home-hero__cta-button-old{
  display: block; /* Changed from inline-block to block */
  width: fit-content; /* Added to ensure the button only takes up as much width as needed */
  padding: 10px 20px;
  border: 2px solid white; /* Button border color */
  border-radius: 4px;
  background-color: transparent;
  color: white;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: 15px;
}
.home-hero__cta-button-old:hover, .home-hero__cta-button-old:focus {
  background-color: var(--accent-color);
  color: var(--success-color-900);
  text-decoration: none;
}





/* #endregion */

/* #region =============== problem-solved-section ===============*/
.problem-solved {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1rem;
  margin: 0 auto;
}

.problem-solved__video-column {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}
.problem-solved__video-column iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.problem-solved__title {
  color: var(--success-color-900);
  font-weight: 500;
  line-height: 2.5rem;
  font-size: 2.5rem;;
  margin-bottom: 1rem;
  text-align: center;
  padding: 2rem;
  letter-spacing: -2px;
}
.problem-solved__intro-para {
  color: var(--gray-color-800);
  line-height: 1.3;
  font-size: 1.3rem;;
  margin-bottom: 1rem;
}
.problem-solved__intro-para span,
.problem-solved__para span {
  font-weight: 600;
  font-style: italic;
}
/* .problem-solved__para {
  color: var(--gray-color-800);
  line-height: 1.6;
  font-size: 1.1rem;;
  margin-bottom: 1rem;
} */

/* #endregion */

/* #region =============== client-benefits-section ===============*/
.client-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1rem;
  margin: 0 auto;
}
.client-benefits__title {
  color: red;
  font-weight: 500;
  line-height: 2.5rem;
  font-size: 2.5rem;;
  margin-top: 3rem;
  text-align: center;
  grid-column: 1 / -1;
  letter-spacing: -2px;
}
.client-benefits__benefits-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.client-benefits__benefit-item {
  text-align: center;
  padding: 0 0 3rem 0;
}
.client-benefits__benefit-icon{
  height:100px;
  color: white;
  display:block;
}
.client-benefits__benefit-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: white;
}
.client-benefits__benefit-description {
  font-size: 1.2rem;
  line-height: 1.6rem;
  max-width:450px;
  margin: 0 auto;
  color: white;
}

/* #endregion */

/* #region =============== testimonials-section ===============*/
.testimonials {
  padding: 2rem 1rem;
  margin: 0 auto;
}
/* .testimonials__title {
  color: var(--success-color-900);
  font-weight: 500;
  line-height: 2.5rem;
  font-size: 2.5rem;;
  margin-bottom: 1rem;
  text-align: center;
  padding: 2rem;
  letter-spacing: -2px;
} */
.testimonials__testimonials-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.testimonials__testimonial-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* background-color: var(--gray-color-200); */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  padding: 1.5rem;
  min-height: 250px;
}
.testimonials__testimonial-content {
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.3rem;
  font-size: 1.2rem;
  color: var(--gray-color-800)
}


/* #endregion */

/* #region =============== features-section ===============*/
.features {
  padding: 2rem 1rem;
  margin: 0 auto;
}
.features__h2 {
  color: white;
  font-weight: 500;
  line-height: 2.5rem;
  font-size: 2.5rem;;
  margin-bottom: 1rem;
  text-align: center;
  padding: 2rem;
  letter-spacing: -2px;
}
.features__list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.features__item {
  display: flex;
  flex-direction: column;
  /* background-color: #f9f9f9; */
  padding: 1rem;
  /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}
.features__icon {
  flex-shrink: 0;
  height: 3rem;
  margin: 0 auto 30px;
}
.features__title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-right: 1rem;
  white-space: nowrap;
  color: white;
  text-align: center;
  width: 100%;
}
.features__description {
  font-size: 1.2rem;
  color: white;
  flex-grow: 1;
  text-align: center;
}
@media (min-width: 768px) {
  .features__list {
      grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .features__item {
      flex-direction: column;
      align-items: flex-start;
  }
  .features__title {
      margin: 0.5rem 0;
  }
}
/* #endregion */

/* #region =============== faq-section ===============*/
.faq {
  padding: 2rem 1rem;
  margin: 0 auto;
}
.faq__h2 {
  color: var(--success-color-900);
  font-weight: 500;
  line-height: 2.5rem;
  font-size: 2.5rem;;
  margin-bottom: 1rem;
  text-align: center;
  padding: 2rem;
  letter-spacing: -2px;
}
.faq__h3 {
  color: var(--success-color-900);
  font-weight: 500;
  line-height: 1.8rem;
  font-size: 1.1rem;;
  padding: 1rem;
}
.faq__accordion {
  background-color: var(--success-color-100);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.faq__accordion-item {
  border-bottom: 1px solid #e0e0e0;
}
.faq__accordion-item:last-child {
  border-bottom: none;
}
.faq__accordion-header {
  background-color: var(--gray-color-100);
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}
.faq__accordion-header:hover {
  background-color: var(--success-color-700);
}
.faq__accordion-header:hover h3{
  color: white;
}
.faq__accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.faq__accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}
.faq__accordion-content p {
  padding: 20px 0;
  line-height: 1.6rem;
}
.faq__active .faq__accordion-header {
  background-color: var(--success-color-700);
  color: var(--success-color-300);
}
.faq__active .faq__accordion-icon {
  transform: rotate(180deg);
}
.faq__active .faq__accordion-content {
  max-height: 1000px;
}


/* #endregion */

/* #region =============== cta-section ===============*/

.cta {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  margin: 0 auto;
  background-image: url('images/pexels-jimmy-liao-3615017-13396916.webp');
  background-color: #268d61; /* Fallback color */
  background-size: cover;
  background-position: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(38, 141, 97, 0.7); /* Adjust color and opacity as needed */
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1.1rem;
  text-decoration: none;
  color: #fff;
  background-color: #268d61;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #1a6b49;
}

.newsletter-form {
  margin-top: 20px;
}

.newsletter-form input[type="email"] {
  padding: 10px;
  width: 60%;
  max-width: 300px;
  font-size: 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
}

.newsletter-form button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #268d61;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #1a6b49;
}


/* #endregion */

/* #region =============== footer-section ===============*/

.footer {
  background-color: #f8f8f8;
  padding: 40px 20px;
  color: #333;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #268d61;
}

.footer-column p,
.footer-column ul {
  font-size: 0.9rem;
}

.footer-column ul {
  list-style-type: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #333;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: #268d61;
}

/* Mobile styles */
@media (max-width: 767px) {
  .footer-content {
      grid-template-columns: 1fr;
  }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 959px) {
  .footer-content {
      grid-template-columns: 1fr 1fr;
  }
}

/* Desktop styles */
@media (min-width: 960px) {
  .footer-content {
      grid-template-columns: repeat(4, 1fr);
  }
}


/* #endregion */

/* #region =============== writer ================*/
.author {
  display: flex;
  align-items: center;
}
.author__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  overflow: hidden;
}
.author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author__info {
  display: flex;
  flex-direction: column;
}
.author__name {
  font-weight: bold;
}
.author__company {
  font-size: 0.9em;
  color: #666;
}
.author__star-rating {
  color: gold;
  font-size: 1rem;
  margin-top: 0.25rem;
}
.commenter {
  display: flex;
  align-items: center;
}
.testimonials-section__author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  overflow: hidden;
}
.testimonials-section__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonials-section__author-info {
  display: flex;
  flex-direction: column;
}
.testimonials-section__author-name {
  font-weight: bold;
}
.testimonials-section__author-company {
  font-size: 0.9em;
  color: #666;
}

/* #endregion end of author */


/* #endregion end of BASE STYLES*/

/* #region =============== MIN 768px STYLES ===============*/
@media screen and (min-width: 768px) {

/* #region =============== general ===============*/
/* .header {
  position: relative;
  height: var(--lg-header-height);
} */
/* #endregion */

/* #region =============== hero ===============*/

.hero__subtitle {
  padding-bottom: 145px;
}
.hero__panel {
  bottom: -100px;
  height: 225px;
  width: 430px;
}


/* #endregion end of hero */

/* #region =============== nav ===============*/
.nav__header {
  padding: 25px;
  display: flex;
  justify-content: space-between;

}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin: 0 auto;
  height: var(--lg-header-height);
  position: relative;
}

.nav__icon {
  display: none; /* Hide hamburger menu on larger screens */
}

.nav__list {
  display: flex;
  margin: 0;
  height: 100%;
}
.nav__list:hover .nav__item:not(:hover) .nav__submenu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition-delay: .5s;
}

.nav__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin: 0;
  position: relative;
  transition: background-color 0.3s ease;
}

.nav__toggle {
  display: flex;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
  padding: 0 1rem;
  height: 100%;
  color: white;
  transition: color 0.3s ease;
}
.nav__toggle--call-us-mobile {
  display: none;
}
.nav__toggle--call-us {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 1.2rem;
  padding: 0 1rem;
  height: 100%;
  border-radius: 5px;
  background-color: var(--success-color-500);
  transition: color 0.3s ease;
}

.nav__toggle--call-us:hover {
  background-color: var(--warning-color-800);
  color:#fff;
}

.nav__submenu {
  position: fixed;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.nav__submenu:hover {
  background-color: #fff;
}

.nav__item:hover .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.1s;
}

.nav__item--megamenu .nav__submenu {
  background-color: #fff;
  display: flex;
  position: fixed;
  top: var(--lg-header-height);
  left: 0;
  right: 0;
  width: 100vw;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.nav__item--megamenu:hover .nav__submenu {
  display: flex;
  justify-content: center;
  transform: translateY(0);
  transition-delay: 0.1s;

}

.nav__list:hover .nav__item:not(:hover) .nav__submenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  pointer-events: none;
  transition-delay: 0s;
}

/* Add this new rule for smoother transitions */
.nav__submenu {
  will-change: transform, opacity, visibility;
}

.nav__item--megamenu .megamenu__columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.megamenu__column {
  flex: 1;
  padding: 0 1rem;
}

.megamenu__column ul {
  display: flex;
  flex-direction: column;
  list-style-type: none;
}

.megamenu__column li {
  margin-bottom: 0.5rem;

}

.megamenu__column a {
  text-decoration: none;
  transition: color 0.3s ease;
}


.megamenu__column a:hover {
  color: var(--highlight-color);
}


/* #endregion end of nav */

/* #region =============== client-benefits-section ===============*/
.client-benefits-section__benefits-grid {
  grid-template-columns: repeat(3, 1fr);
}
/* #endregion */

/* #region =============== testimonials ===============*/

.testimonials-section__testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* #endregion */

}
/* #endregion */

/* #region =============== MIN 980px STYLES ===============*/




@media screen and (min-width: 980px) {

/* #region =============== nav ===============*/
/* .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;

} */



/* #endregion */

/* #region =============== hero ===============*/

.hero__title {
  font-size: 3rem;
  max-width: 700px;
}
.hero__subtitle {
  padding-bottom: 200px;
  font-size: 2rem;
  max-width: 700px;
}
.hero__panel {
  bottom: -167px;
  height: 335px;
  width: 700px;
}

/* #endregion end of hero */

/* #region =============== problem-solved-section ===============*/
.problem-solved-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.problem-solved-section__video-column {
  margin: auto 0;
}
/* #endregion */




}
/* #endregion */

/* #region =============== ADDITIONAL STYLES ===============*/


/* Form Elements */
label {
  display: block;
  margin-bottom: 5px;
}

input[type="number"], select {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 10px;
} */

/* button:hover {
  background-color: #45a049;
} */

/* Results Display */
#result, #results, #compareResult {
  margin-top: 20px;
  padding: 10px;
  background-color: #e7f3fe;
  border: 1px solid #c2e0ff;
  border-radius: 4px;
}

.scenario {
  background-color: #e7f3fe;
  border: 1px solid #c2e0ff;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
}

#compareResult {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
}



/* Responsive grid container */
.form-container {
  display: grid;
  grid-template-columns: 1fr;  /* Single column by default */
  gap: 20px;
  padding-bottom:30px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
}

.form-label--light {
  color: var(--success-color-800);
}

.form-label--dark {
  color: white;
}


/* Medium width - two columns */
@media screen and (min-width: 768px) {
  .form-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Input styling */
.form-input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--success-color-500);
  box-shadow: 0 0 0 2px rgba(54, 155, 112, 0.2);
}

.form-input:invalid {
  border-color: var(--error-color-500);
}

.form-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: var(--gray-color-200);
}

.form-input::placeholder {
  color: var(--gray-color-500);
  opacity: 1;
}

/* Textarea specific styling */
.form-input[type="textarea"], textarea.form-input {
  min-height: 400px;
  resize: vertical;
  font-family: 'Courier New', monospace;
  line-height: 1.5;
}

/* Form group layout for content editing */
.form-group-3-5 {
  margin: var(--space-xl) 0;
}

.form-group-3-5 .form-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media screen and (min-width: 768px) {
  .form-group-3-5 .form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

/* Error states */
.form-input--error {
  border-color: var(--error-color-500);
  background-color: var(--error-color-100);
}

.form-input--error:focus {
  border-color: var(--error-color-600);
  box-shadow: 0 0 0 2px rgba(196, 49, 49, 0.2);
}

.form-error {
  color: var(--error-color-700);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Large width - four columns */
@media screen and (min-width: 980px) {
  .form-container {
    grid-template-columns: repeat(4, 1fr);
  }
  .form-group-3-5 {
    grid-column: 3 / 5;
    min-height: 600px;
  }
  .form-group-3-5 .form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    height: 100%;
  }
  .form-group-3-5 textarea {
    min-height: 500px;
  }
}

.preview-container {
  width: 100%;
  height: 800px;
  border: 1px solid #e5e7eb;  /* This is Tailwind's default border color */
  border-radius: 0.5rem;      /* lg = 0.5rem in Tailwind */
  overflow: hidden;
  background-color: #f3f4f6;  /* Tailwind's gray-100 */
}




select[multiple] {
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-height: 200px;
}

optgroup {
  font-weight: bold;
}







.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    padding: 0px 0;
    background-color: var(--success-color-700);
}

.service-item--label {
    display: flex;
    align-items: center;
    gap: 0px;
    height:30px;
    color:white;
}

.service-item--input[type="number"] {
    width: 50px;
    padding: 0px;
    height:30px;
    margin-bottom: 0px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: right;
}

.pdf-generator-buttons {
  display: flex;
  justify-content:space-evenly;
}

.place-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.gap-4 {
  gap: 1rem;
}

.m-0 {
  margin: 0;
}

.p-0 {
  padding: 0;
}

/* Additional utility classes */
.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

/* PDF Viewer Styles - Match container width */
.pdf-viewer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--success-color-500);
}

.pdf-viewer-header h2 {
    margin: 0;
    color: var(--success-color-800);
}

.pdf-viewer-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auto-update-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.auto-update-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.auto-update-toggle span {
    font-size: 0.9rem;
    user-select: none;
}

.update-indicator {
    font-size: 0.85rem;
    color: var(--success-color-600);
    font-style: italic;
}

.pdf-viewer-frame {
    background-color: #666;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.pdf-iframe {
    width: 100%;
    height: 800px;
    border: none;
    display: block;
    background-color: white;
}

.pdf-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background-color: white;
    color: var(--success-color-600);
    font-size: 1.2rem;
}

.pdf-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background-color: #f8f9fa;
    color: #666;
    font-size: 1.1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--success-color-600);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive PDF viewer */
@media (max-width: 768px) {
    .pdf-viewer-container {
        padding: 1rem;
    }
    
    .pdf-viewer-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .pdf-viewer-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pdf-iframe {
        height: 600px;
    }
}

/* #endregion */

/* #region =============== USER NAVIGATION ===============*/
.nav__item--user {
    margin-left: auto;
}

.nav__user {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--success-color-700);
    font-size: var(--font-size-md);
}

.nav__user span {
    margin-right: 1rem;
    font-weight: 500;
}

.nav__logout-btn {
    background-color: var(--success-color-700);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.nav__logout-btn:hover {
    background-color: var(--success-color-800);
}

/* Make sure user info is visible on smaller screens */
@media (max-width: 768px) {
    .nav__user {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .nav__user span {
        margin-right: 0;
    }
}
/* #endregion */
