/* Self-hosted fonts (no external round-trip) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tailwind CSS v3.4.18 | MIT License | https://tailwindcss.com */

/* ============================================================
   TAILWIND CSS RESET & BASE STYLES
   ============================================================ */

/* Universal Selector - CSS Custom Properties Reset */
*,
:after,
:before {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(59, 130, 246, .5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}

/* Backdrop Pseudo-element */
::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(59, 130, 246, .5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}

/* Box Sizing Reset */
*,
:after,
:before {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}

/* Pseudo-elements Content Reset */
:after,
:before {
  --tw-content: "";
}

/* HTML & Host Element Base Styles */
:host,
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

/* Body Reset */
body {
  margin: 0;
  line-height: inherit;
}

/* Horizontal Rule */
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

/* Abbreviation with Title */
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/* Heading Reset */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* Anchor Reset */
a {
  color: inherit;
  text-decoration: inherit;
}

/* Bold & Strong */
b,
strong {
  font-weight: bolder;
}

/* Code, Keyboard, Preformatted, Sample */
code,
kbd,
pre,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}

/* Small Text */
small {
  font-size: 80%;
}

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

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

/* Table Reset */
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

/* Form Elements Reset */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}
.text-primary { color: #4169E1; }
.text-danger { color: #dc2626; }

/* Button & Select Transformation */
button,
select {
  text-transform: none;
}

/* Button Appearance Reset */
button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

/* Firefox Focus Ring */
:-moz-focusring {
  outline: auto;
}

/* Firefox Invalid UI */
:-moz-ui-invalid {
  box-shadow: none;
}

/* Progress Vertical Alignment */
progress {
  vertical-align: baseline;
}

/* Number Input Spin Buttons */
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/* Search Input Appearance */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/* Search Input Decoration */
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* File Upload Button */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Summary Display */
summary {
  display: list-item;
}

/* Margin Reset for Block Elements */
blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
  margin: 0;
}

/* Fieldset Reset */
fieldset {
  margin: 0;
  padding: 0;
}

/* Legend Padding */
legend {
  padding: 0;
}

/* List Reset */
menu,
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Dialog Padding */
dialog {
  padding: 0;
}

/* Textarea Resize */
textarea {
  resize: vertical;
}

/* Placeholder Styles */
input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}

/* Button Cursor */
[role=button],
button {
  cursor: pointer;
}

/* Disabled Cursor */
:disabled {
  cursor: default;
}

/* Media Elements Display */
audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
  display: block;
  vertical-align: middle;
}

/* Image & Video Responsive */
img,
video {
  max-width: 100%;
  height: auto;
}

/* Hidden Elements */
[hidden]:where(:not([hidden=until-found])) {
  display: none;
}


/* ============================================================
   CUSTOM CSS VARIABLES (THEME COLORS & DESIGN TOKENS)
   ============================================================ */

:root {
  /* Color Palette - Matched to Royal Blue Theme */
  --background: 225 100% 99.5%; /* Premium near-white with faint royal blue touch */
  --foreground: 220 25% 15%;
  --card: 0 0% 100%;
  --card-foreground: 220 25% 15%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 25% 15%;
  --primary: 225 72.7% 56.9%; /* Royal Blue #4169E1 as Primary */
  --primary-foreground: 0 0% 100%;
  --secondary: 225 70% 95%; /* Soft blue-white secondary */
  --secondary-foreground: 220 25% 20%;
  --muted: 220 40% 93%;
  --muted-foreground: 220 15% 45%;
  --accent: 225 80% 64%; /* Lighter royal blue as Accent instead of Warm Orange */
  --accent-foreground: 0 0% 100%;
  --brand-red: 0.8 100% 45.5%; /* Exact Logo Crimson Red #E80300 */
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 30% 90%;
  --input: 220 30% 90%;
  --ring: 225 72.7% 56.9%;

  /* Design Tokens */
  --radius: 0.75rem;
  --hero-gradient: linear-gradient(135deg, #4169E1, #5B84FF);
  --brand-gradient: #4169E1;
  --glass-bg: hsla(0, 0%, 100%, .85);
  --glass-border: hsla(225, 72.7%, 56.9%, .2);

  /* Shadow Tokens */
  --shadow-soft: 0 4px 20px -4px rgba(65, 105, 225, .12);
  --shadow-card: 0 8px 30px -8px rgba(65, 105, 225, .15);
  --shadow-elevated: 0 20px 40px -12px rgba(65, 105, 225, .2);
  --shadow-glow: 0 0 40px rgba(65, 105, 225, .25);
  --shadow-3d: 0 20px 40px -10px rgba(65, 105, 225, 0.25), 0 10px 20px -5px rgba(65, 105, 225, 0.2);

  /* Typography */
  --font-display: "Playfair Display", serif;
  --font-body: "DM Sans", sans-serif;

  /* Sidebar Variables */
  --sidebar-background: 0 0% 98%;
  --sidebar-foreground: 240 5.3% 26.1%;
  --sidebar-primary: 240 5.9% 10%;
  --sidebar-primary-foreground: 0 0% 98%;
  --sidebar-accent: 240 4.8% 95.9%;
  --sidebar-accent-foreground: 240 5.9% 10%;
  --sidebar-border: 220 13% 91%;
  --sidebar-ring: 225 72.7% 56.9%;
}


/* ============================================================
   DARK MODE COLOR SCHEME
   ============================================================ */

.dark {
  /* Dark Mode Color Palette */
  --background: 225 25% 9%; /* Dark blue-toned background */
  --foreground: 225 15% 95%;
  --card: 225 24% 12%;
  --card-foreground: 225 15% 95%;
  --popover: 225 24% 12%;
  --popover-foreground: 225 15% 95%;
  --primary: 225 80% 64%; /* Lighter royal blue for dark mode readability */
  --primary-foreground: 0 0% 100%;
  --secondary: 225 20% 18%;
  --secondary-foreground: 225 15% 90%;
  --muted: 225 20% 18%;
  --muted-foreground: 225 15% 60%;
  --accent: 225 80% 64%; /* Lighter royal blue as Accent for dark mode */
  --accent-foreground: 0 0% 100%;
  --destructive: 0 62% 50%;
  --destructive-foreground: 0 0% 100%;
  --border: 225 20% 20%;
  --input: 225 20% 20%;
  --ring: 225 80% 64%;

  /* Dark Mode Gradients */
  --hero-gradient: linear-gradient(135deg, rgba(65, 105, 225, .95), rgba(30, 58, 138, .9));
  --glass-bg: rgba(20, 22, 30, .8);
  --glass-border: hsla(225, 72.7%, 56.9%, .2);

  /* Dark Mode Sidebar */
  --sidebar-background: 240 5.9% 10%;
  --sidebar-foreground: 240 4.8% 95.9%;
  --sidebar-primary: 225 72.7% 56.9%;
  --sidebar-primary-foreground: 0 0% 98%;
  --sidebar-accent: 240 3.7% 15.9%;
  --sidebar-accent-foreground: 240 4.8% 95.9%;
  --sidebar-border: 240 3.7% 15.9%;
  --sidebar-ring: 225 72.7% 56.9%;
}


/* ============================================================
   GLOBAL STYLES & BEHAVIOR
   ============================================================ */

/* Border Color from CSS Variable */
* {
  border-color: hsl(var(--border));
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  :after,
  :before {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Body Base Styles */
body {
  background-color: hsl(var(--background));
  font-family: var(--font-body), sans-serif;
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display), serif;
}


/* ============================================================
   CONTAINER SYSTEM
   ============================================================ */

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}


/* ============================================================
   CUSTOM UTILITY CLASSES
   ============================================================ */

/* Glass Morphism Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

/* Hero Gradient Background */
.hero-gradient {
  background: var(--hero-gradient);
}

/* Custom Shadow Utilities */
.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-card {
  box-shadow: var(--shadow-card);
}

.shadow-elevated {
  box-shadow: var(--shadow-elevated);
}


/* ============================================================
   SCREEN READER ONLY
   ============================================================ */

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


/* ============================================================
   POINTER EVENTS
   ============================================================ */

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}


/* ============================================================
   VISIBILITY
   ============================================================ */

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}


/* ============================================================
   POSITION UTILITIES
   ============================================================ */

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}


/* ============================================================
   INSET POSITIONING
   ============================================================ */

.inset-0 {
  inset: 0;
}

.inset-4 {
  inset: 1rem;
}

.inset-x-0 {
  left: 0;
  right: 0;
}

.inset-y-0 {
  top: 0;
  bottom: 0;
}


/* ============================================================
   BOTTOM POSITIONING
   ============================================================ */

.-bottom-12 {
  bottom: -3rem;
}

.-bottom-4 {
  bottom: -1rem;
}

.-bottom-6 {
  bottom: -1.5rem;
}

.bottom-0 {
  bottom: 0;
}

.bottom-4 {
  bottom: 1rem;
}

.bottom-6 {
  bottom: 1.5rem;
}

.bottom-8 {
  bottom: 2rem;
}


/* ============================================================
   LEFT POSITIONING
   ============================================================ */

.-left-12 {
  left: -3rem;
}

.-left-6 {
  left: -1.5rem;
}

.left-0 {
  left: 0;
}

.left-1 {
  left: .25rem;
}

.left-1\/2 {
  left: 50%;
}

.left-1\/4 {
  left: 25%;
}

.left-2 {
  left: .5rem;
}

.left-4 {
  left: 1rem;
}

.left-6 {
  left: 1.5rem;
}

.left-\[50\%\] {
  left: 50%;
}


/* ============================================================
   RIGHT POSITIONING
   ============================================================ */

.-right-12 {
  right: -3rem;
}

.-right-4 {
  right: -1rem;
}

.-right-6 {
  right: -1.5rem;
}

.right-0 {
  right: 0;
}

.right-1 {
  right: .25rem;
}

.right-1\/4 {
  right: 25%;
}

.right-2 {
  right: .5rem;
}

.right-3 {
  right: .75rem;
}

.right-4 {
  right: 1rem;
}

.right-6 {
  right: 1.5rem;
}


/* ============================================================
   TOP POSITIONING
   ============================================================ */

.-top-12 {
  top: -3rem;
}

.-top-4 {
  top: -1rem;
}

.top-0 {
  top: 0;
}

.top-1\.5 {
  top: .375rem;
}

.top-1\/2 {
  top: 50%;
}

.top-2 {
  top: .5rem;
}

.top-3 {
  top: .75rem;
}

.top-3\.5 {
  top: .875rem;
}

.top-4 {
  top: 1rem;
}

.top-\[1px\] {
  top: 1px;
}

.top-\[50\%\] {
  top: 50%;
}

.top-\[60\%\] {
  top: 60%;
}

.top-full {
  top: 100%;
}


/* ============================================================
   Z-INDEX
   ============================================================ */

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

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

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.z-\[100\] {
  z-index: 100;
}

.z-\[1\] {
  z-index: 1;
}


/* ============================================================
   MARGIN UTILITIES
   ============================================================ */

/* Negative X Margin */
.-mx-1 {
  margin-left: -.25rem;
  margin-right: -.25rem;
}

/* X-Axis Margin */
.mx-2 {
  margin-left: .5rem;
  margin-right: .5rem;
}

.mx-3\.5 {
  margin-left: .875rem;
  margin-right: .875rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Y-Axis Margin */
.my-0\.5 {
  margin-top: .125rem;
  margin-bottom: .125rem;
}

.my-1 {
  margin-top: .25rem;
  margin-bottom: .25rem;
}

/* Individual Margins */
.-ml-4 {
  margin-left: -1rem;
}

.-mt-4 {
  margin-top: -1rem;
}

.mb-1 {
  margin-bottom: .25rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-2 {
  margin-bottom: .5rem;
}

.mb-3 {
  margin-bottom: .75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-1 {
  margin-left: .25rem;
}

.ml-auto {
  margin-left: auto;
}

.mr-2 {
  margin-right: .5rem;
}

.mt-0\.5 {
  margin-top: .125rem;
}

.mt-1 {
  margin-top: .25rem;
}

.mt-1\.5 {
  margin-top: .375rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-2 {
  margin-top: .5rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mt-24 {
  margin-top: 6rem;
}

.mt-3 {
  margin-top: .75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-auto {
  margin-top: auto;
}


/* ============================================================
   LINE CLAMP
   ============================================================ */

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


/* ============================================================
   DISPLAY UTILITIES
   ============================================================ */

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}


/* ============================================================
   ASPECT RATIO
   ============================================================ */

.aspect-\[16\/10\] {
  aspect-ratio: 16/10;
}

.aspect-\[4\/3\] {
  aspect-ratio: 4/3;
}

.aspect-\[4\/5\] {
  aspect-ratio: 4/5;
}

.aspect-square {
  aspect-ratio: 1/1;
}

.aspect-video {
  aspect-ratio: 16/9;
}


/* ============================================================
   SIZE UTILITIES
   ============================================================ */

.size-4 {
  width: 1rem;
  height: 1rem;
}


/* ============================================================
   HEIGHT UTILITIES
   ============================================================ */

.h-1\.5 {
  height: .375rem;
}

.h-10 {
  height: 2.5rem;
}

.h-11 {
  height: 2.75rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-16 {
  height: 4rem;
}

.h-2 {
  height: .5rem;
}

.h-2\.5 {
  height: .625rem;
}

.h-20 {
  height: 5rem;
}

.h-3 {
  height: .75rem;
}

.h-3\.5 {
  height: .875rem;
}

.h-32 {
  height: 8rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-7 {
  height: 1.75rem;
}

.h-8 {
  height: 2rem;
}

.h-9 {
  height: 2.25rem;
}

.h-96 {
  height: 24rem;
}

.h-\[1px\] {
  height: 1px;
}

.h-\[400px\] {
  height: 400px;
}

.h-\[var\(--radix-navigation-menu-viewport-height\)\] {
  height: var(--radix-navigation-menu-viewport-height);
}

.h-\[var\(--radix-select-trigger-height\)\] {
  height: var(--radix-select-trigger-height);
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.h-px {
  height: 1px;
}

.h-svh {
  height: 100svh;
}


/* ============================================================
   MAX HEIGHT
   ============================================================ */

.max-h-96 {
  max-height: 24rem;
}

.max-h-\[300px\] {
  max-height: 300px;
}

.max-h-\[75vh\] {
  max-height: 75vh;
}

.max-h-\[80vh\] {
  max-height: 80vh;
}

.max-h-\[90vh\] {
  max-height: 90vh;
}

.max-h-screen {
  max-height: 100vh;
}


/* ============================================================
   MIN HEIGHT
   ============================================================ */

.min-h-0 {
  min-height: 0;
}

.min-h-\[80px\] {
  min-height: 80px;
}

.min-h-screen {
  min-height: 100vh;
}

.min-h-svh {
  min-height: 100svh;
}


/* ============================================================
   WIDTH UTILITIES
   ============================================================ */

.w-0 {
  width: 0;
}

.w-0\.5 {
  width: .125rem;
}

.w-1 {
  width: .25rem;
}

.w-1\.5 {
  width: .375rem;
}

.w-10 {
  width: 2.5rem;
}

.w-11 {
  width: 2.75rem;
}

.w-12 {
  width: 3rem;
}

.w-14 {
  width: 3.5rem;
}

.w-16 {
  width: 4rem;
}

.w-2 {
  width: .5rem;
}

.w-2\.5 {
  width: .625rem;
}

.w-20 {
  width: 5rem;
}

.w-3 {
  width: .75rem;
}

.w-3\.5 {
  width: .875rem;
}

.w-3\/4 {
  width: 75%;
}

.w-32 {
  width: 8rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-64 {
  width: 16rem;
}

.w-7 {
  width: 1.75rem;
}

.w-72 {
  width: 18rem;
}

.w-8 {
  width: 2rem;
}

.w-9 {
  width: 2.25rem;
}

.w-96 {
  width: 24rem;
}

.w-\[--sidebar-width\] {
  width: var(--sidebar-width);
}

.w-\[100px\] {
  width: 100px;
}

.w-\[1px\] {
  width: 1px;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.w-max {
  width: -moz-max-content;
  width: max-content;
}

.w-px {
  width: 1px;
}


/* ============================================================
   MIN WIDTH
   ============================================================ */

.min-w-0 {
  min-width: 0;
}

.min-w-5 {
  min-width: 1.25rem;
}

.min-w-\[12rem\] {
  min-width: 12rem;
}

.min-w-\[8rem\] {
  min-width: 8rem;
}

.min-w-\[var\(--radix-select-trigger-width\)\] {
  min-width: var(--radix-select-trigger-width);
}


/* ============================================================
   MAX WIDTH
   ============================================================ */

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-\[--skeleton-width\] {
  max-width: var(--skeleton-width);
}

.max-w-full {
  max-width: 100%;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-max {
  max-width: -moz-max-content;
  max-width: max-content;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-none {
  max-width: none;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-xs {
  max-width: 20rem;
}


/* ============================================================
   FLEX UTILITIES
   ============================================================ */

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0,
.shrink-0 {
  flex-shrink: 0;
}

.grow {
  flex-grow: 1;
}

.grow-0 {
  flex-grow: 0;
}

.basis-full {
  flex-basis: 100%;
}


/* ============================================================
   TABLE UTILITIES
   ============================================================ */

.caption-bottom {
  caption-side: bottom;
}

.border-collapse {
  border-collapse: collapse;
}


/* ============================================================
   TRANSFORM UTILITIES
   ============================================================ */

/* Translate X */
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-px {
  --tw-translate-x: -1px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Translate Y */
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-\[-50\%\] {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-px {
  --tw-translate-x: 1px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-\[-50\%\] {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Rotate */
.rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.rotate-45 {
  --tw-rotate: 45deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.rotate-90 {
  --tw-rotate: 90deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


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

/* Pulse Animation */
@keyframes pulse {
  50% {
    opacity: .5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}

/* Spin Animation */
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}


/* ============================================================
   CURSOR UTILITIES
   ============================================================ */

.cursor-default {
  cursor: default;
}

.cursor-ew-resize {
  cursor: ew-resize;
}

.cursor-pointer {
  cursor: pointer;
}


/* ============================================================
   TOUCH & USER SELECT
   ============================================================ */

.touch-none {
  touch-action: none;
}

.select-none {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}


/* ============================================================
   LIST STYLES
   ============================================================ */

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

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


/* ============================================================
   GRID UTILITIES
   ============================================================ */

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* ============================================================
   FLEXBOX UTILITIES
   ============================================================ */

/* Flex Direction */
.flex-row {
  flex-direction: row;
}

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

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

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

/* Align Items */
.items-start {
  align-items: flex-start;
}

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

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

.items-stretch {
  align-items: stretch;
}

/* Justify Content */
.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}


/* ============================================================
   GAP UTILITIES
   ============================================================ */

.gap-0\.5 {
  gap: .125rem;
}

.gap-1 {
  gap: .25rem;
}

.gap-1\.5 {
  gap: .375rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-2 {
  gap: .5rem;
}

.gap-3 {
  gap: .75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}


/* ============================================================
   SPACE UTILITIES
   ============================================================ */

/* Space X (Horizontal Spacing) */
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(.25rem * var(--tw-space-x-reverse));
  margin-left: calc(.25rem * (1 - var(--tw-space-x-reverse)));
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * (1 - var(--tw-space-x-reverse)));
}

/* Space Y (Vertical Spacing) */
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(.25rem * (1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(.25rem * var(--tw-space-y-reverse));
}

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(.375rem * (1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(.375rem * var(--tw-space-y-reverse));
}

.space-y-16 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(4rem * (1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(4rem * var(--tw-space-y-reverse));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(.5rem * (1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(.75rem * (1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(.75rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * (1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * (1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * (1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}


/* ============================================================
   OVERFLOW UTILITIES
   ============================================================ */

.overflow-auto {
  overflow: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

.overflow-x-hidden {
  overflow-x: hidden;
}


/* ============================================================
   TEXT UTILITIES
   ============================================================ */

.whitespace-nowrap {
  white-space: nowrap;
}

.break-words {
  overflow-wrap: break-word;
}


/* ============================================================
   BORDER RADIUS
   ============================================================ */

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-\[2px\] {
  border-radius: 2px;
}

.rounded-\[inherit\] {
  border-radius: inherit;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: var(--radius);
}

.rounded-md {
  border-radius: calc(var(--radius) - 2px);
}

.rounded-sm {
  border-radius: calc(var(--radius) - 4px);
}

.rounded-xl {
  border-radius: .75rem;
}

/* Directional Border Radius */
.rounded-t-2xl {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.rounded-t-\[10px\] {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.rounded-tl-sm {
  border-top-left-radius: calc(var(--radius) - 4px);
}


/* ============================================================
   BORDER WIDTH
   ============================================================ */

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-\[1\.5px\] {
  border-width: 1.5px;
}

/* Directional Borders */
.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l {
  border-left-width: 1px;
}

.border-r {
  border-right-width: 1px;
}

.border-t {
  border-top-width: 1px;
}


/* ============================================================
   BORDER STYLE
   ============================================================ */

.border-dashed {
  border-style: dashed;
}


/* ============================================================
   BORDER COLOR
   ============================================================ */

.border-\[--color-border\] {
  border-color: var(--color-border);
}

.border-background\/10 {
  border-color: hsl(var(--background) / .1);
}

.border-background\/20 {
  border-color: hsl(var(--background) / .2);
}

.border-background\/30 {
  border-color: hsl(var(--background) / .3);
}

.border-border {
  border-color: hsl(var(--border));
}

.border-border\/50 {
  border-color: hsl(var(--border) / .5);
}

.border-destructive {
  border-color: hsl(var(--destructive));
}

.border-destructive\/50 {
  border-color: hsl(var(--destructive) / .5);
}

.border-input {
  border-color: hsl(var(--input));
}

.border-primary {
  border-color: hsl(var(--primary));
}

.border-primary-foreground\/30 {
  border-color: hsl(var(--primary-foreground) / .3);
}

.border-primary\/30 {
  border-color: hsl(var(--primary) / .3);
}

.border-sidebar-border {
  border-color: hsl(var(--sidebar-border));
}

.border-transparent {
  border-color: transparent;
}

/* Directional Border Colors */
.border-l-transparent {
  border-left-color: transparent;
}

.border-t-transparent {
  border-top-color: transparent;
}


/* ============================================================
   BACKGROUND COLOR
   ============================================================ */

.bg-\[--color-bg\] {
  background-color: var(--color-bg);
}

.bg-\[hsl\(142\2c 70\%\2c 45\%\)\] {
  --tw-bg-opacity: 1;
  background-color: hsl(142 70% 45% / var(--tw-bg-opacity, 1));
}

.bg-accent {
  background-color: hsl(var(--accent));
}

.bg-accent\/10 {
  background-color: hsl(var(--accent) / .1);
}

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

.bg-background\/10 {
  background-color: hsl(var(--background) / .1);
}

.bg-background\/60 {
  background-color: hsl(var(--background) / .6);
}

.bg-background\/80 {
  background-color: hsl(var(--background) / .8);
}

.bg-black\/80 {
  background-color: rgba(0, 0, 0, .8);
}

.bg-blue-500\/10 {
  background-color: rgba(59, 130, 246, .1);
}

.bg-border {
  background-color: hsl(var(--border));
}

.bg-card {
  background-color: hsl(var(--card));
}

.bg-destructive {
  background-color: hsl(var(--destructive));
}

.bg-foreground {
  background-color: hsl(var(--foreground));
}

.bg-foreground\/60 {
  background-color: hsl(var(--foreground) / .6);
}

.bg-foreground\/80 {
  background-color: hsl(var(--foreground) / .8);
}

.bg-foreground\/95 {
  background-color: hsl(var(--foreground) / .95);
}

.bg-green-500\/10 {
  background-color: rgba(34, 197, 94, .1);
}

.bg-muted {
  background-color: hsl(var(--muted));
}

.bg-muted\/30 {
  background-color: hsl(var(--muted) / .3);
}

.bg-muted\/50 {
  background-color: hsl(var(--muted) / .5);
}

.bg-pink-500\/10 {
  background-color: rgba(236, 72, 153, .1);
}

.bg-popover {
  background-color: hsl(var(--popover));
}

.bg-primary {
  background-color: hsl(var(--primary));
}

.bg-primary-foreground\/10 {
  background-color: hsl(var(--primary-foreground) / .1);
}

.bg-primary-foreground\/5 {
  background-color: hsl(var(--primary-foreground) / .05);
}

.bg-primary\/10 {
  background-color: #ffffff;
}

.bg-primary\/20 {
  background-color: hsl(var(--primary) / .2);
}

.bg-primary\/30 {
  background-color: hsl(var(--primary) / .3);
}

.bg-primary\/5 {
  background-color: hsl(var(--primary) / .05);
}

.bg-primary\/90 {
  background-color: hsl(var(--primary) / .9);
}

.bg-secondary {
  background-color: hsl(var(--secondary));
}

.bg-sidebar {
  background-color: hsl(var(--sidebar-background));
}

.bg-sidebar-border {
  background-color: hsl(var(--sidebar-border));
}

.bg-transparent {
  background-color: transparent;
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}


/* ============================================================
   GRADIENT BACKGROUNDS
   ============================================================ */

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

/* Gradient Color Stops */
.from-foreground\/80 {
  --tw-gradient-from: hsl(var(--foreground) / 0.8) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-foreground\/95 {
  --tw-gradient-from: hsl(var(--foreground) / 0.95) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-muted\/50 {
  --tw-gradient-from: hsl(var(--muted) / 0.5) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--muted) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-primary\/20 {
  --tw-gradient-from: hsl(var(--primary) / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-foreground\/80 {
  --tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), hsl(var(--foreground) / 0.8) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-accent\/20 {
  --tw-gradient-to: hsl(var(--accent) / 0.2) var(--tw-gradient-to-position);
}

.to-background {
  --tw-gradient-to: hsl(var(--background)) var(--tw-gradient-to-position);
}

.to-foreground\/60 {
  --tw-gradient-to: hsl(var(--foreground) / 0.6) var(--tw-gradient-to-position);
}

.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}


/* ============================================================
   FILL UTILITIES
   ============================================================ */

.fill-accent {
  fill: hsl(var(--accent));
}

.fill-current {
  fill: currentColor;
}


/* ============================================================
   OBJECT FIT
   ============================================================ */

.object-contain {
  -o-object-fit: contain;
  object-fit: contain;
}

.object-cover {
  -o-object-fit: cover;
  object-fit: cover;
}


/* ============================================================
   PADDING UTILITIES
   ============================================================ */

/* All Sides Padding */
.p-0 {
  padding: 0;
}

.p-1 {
  padding: .25rem;
}

.p-12 {
  padding: 3rem;
}

.p-2 {
  padding: .5rem;
}

.p-3 {
  padding: .75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-\[1px\] {
  padding: 1px;
}

/* Horizontal Padding */
.px-1 {
  padding-left: .25rem;
  padding-right: .25rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.px-2 {
  padding-left: .5rem;
  padding-right: .5rem;
}

.px-2\.5 {
  padding-left: .625rem;
  padding-right: .625rem;
}

.px-3 {
  padding-left: .75rem;
  padding-right: .75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Vertical Padding */
.py-0\.5 {
  padding-top: .125rem;
  padding-bottom: .125rem;
}

.py-1 {
  padding-top: .25rem;
  padding-bottom: .25rem;
}

.py-1\.5 {
  padding-top: .375rem;
  padding-bottom: .375rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-3 {
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Individual Padding */
.pb-16 {
  padding-bottom: 4rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.pb-3 {
  padding-bottom: .75rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-5 {
  padding-bottom: 1.25rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pl-12 {
  padding-left: 3rem;
}

.pl-16 {
  padding-left: 4rem;
}

.pl-2\.5 {
  padding-left: .625rem;
}

.pl-4 {
  padding-left: 1rem;
}

.pl-6 {
  padding-left: 1.5rem;
}

.pl-8 {
  padding-left: 2rem;
}

.pr-2 {
  padding-right: .5rem;
}

.pr-2\.5 {
  padding-right: .625rem;
}

.pr-8 {
  padding-right: 2rem;
}

.pt-0 {
  padding-top: 0;
}

.pt-1 {
  padding-top: .25rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pt-28 {
  padding-top: 7rem;
}

.pt-3 {
  padding-top: .75rem;
}

.pt-4 {
  padding-top: 1rem;
}


/* ============================================================
   TEXT ALIGNMENT
   ============================================================ */

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

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


/* ============================================================
   VERTICAL ALIGNMENT
   ============================================================ */

.align-middle {
  vertical-align: middle;
}


/* ============================================================
   FONT FAMILY
   ============================================================ */

.font-display {
  font-family: var(--font-display), serif;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
}


/* ============================================================
   FONT SIZE
   ============================================================ */

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-\[0\.8rem\] {
  font-size: .8rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: .875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: .75rem;
  line-height: 1rem;
}


/* ============================================================
   FONT WEIGHT
   ============================================================ */

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}


/* ============================================================
   TEXT TRANSFORM
   ============================================================ */

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}


/* ============================================================
   FONT VARIANT
   ============================================================ */

.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}


/* ============================================================
   LINE HEIGHT
   ============================================================ */

.leading-none {
  line-height: 1;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-tight {
  line-height: 1.25;
}


/* ============================================================
   LETTER SPACING
   ============================================================ */

.tracking-tight {
  letter-spacing: -.025em;
}

.tracking-wider {
  letter-spacing: .05em;
}

.tracking-widest {
  letter-spacing: .1em;
}


/* ============================================================
   TEXT COLOR
   ============================================================ */

.text-accent {
  color: hsl(var(--accent));
}

.text-accent-foreground {
  color: hsl(var(--accent-foreground));
}

.text-background {
  color: hsl(var(--background));
}

.text-background\/60 {
  color: hsl(var(--background) / .6);
}

.text-background\/70 {
  color: hsl(var(--background) / .7);
}

.text-background\/80 {
  color: hsl(var(--background) / .8);
}

.text-background\/90 {
  color: hsl(var(--background) / .9);
}

.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.text-card-foreground {
  color: hsl(var(--card-foreground));
}

.text-current {
  color: currentColor;
}

.text-destructive {
  color: hsl(var(--destructive));
}

.text-destructive-foreground {
  color: hsl(var(--destructive-foreground));
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-foreground\/50 {
  color: hsl(var(--foreground) / .5);
}

.text-foreground\/70 {
  color: hsl(var(--foreground) / .7);
}

.text-foreground\/80 {
  color: hsl(var(--foreground) / .8);
}

.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.text-pink-600 {
  --tw-text-opacity: 1;
  color: rgb(219 39 119 / var(--tw-text-opacity, 1));
}

.text-popover-foreground {
  color: hsl(var(--popover-foreground));
}

.text-primary {
  color: hsl(var(--primary));
}

.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}

.text-white {
  color: #ffffff !important;
}

.text-primary-foreground\/60 {
  color: hsl(var(--primary-foreground) / .6);
}

.text-primary-foreground\/80 {
  color: hsl(var(--primary-foreground) / .8);
}

.text-primary-foreground\/90 {
  color: hsl(var(--primary-foreground) / .9);
}

.text-primary\/20 {
  color: hsl(var(--primary) / .2);
}

.text-primary\/40 {
  color: hsl(var(--primary) / .4);
}

.text-secondary-foreground {
  color: hsl(var(--secondary-foreground));
}

.text-sidebar-foreground {
  color: hsl(var(--sidebar-foreground));
}

.text-sidebar-foreground\/70 {
  color: hsl(var(--sidebar-foreground) / .7);
}


/* ============================================================
   TEXT DECORATION
   ============================================================ */

.underline {
  text-decoration-line: underline;
}

.underline-offset-4 {
  text-underline-offset: 4px;
}


/* ============================================================
   OPACITY
   ============================================================ */

.opacity-0 {
  opacity: 0;
}

.opacity-50 {
  opacity: .5;
}

.opacity-60 {
  opacity: .6;
}

.opacity-70 {
  opacity: .7;
}

.opacity-90 {
  opacity: .9;
}


/* ============================================================
   BOX SHADOW
   ============================================================ */

.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\] {
  --tw-shadow: 0 0 0 1px hsl(var(--sidebar-border));
  --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-none {
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-card {
  --tw-shadow-color: hsl(var(--card));
  --tw-shadow: var(--tw-shadow-colored);
}


/* ============================================================
   OUTLINE
   ============================================================ */

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.outline {
  outline-style: solid;
}


/* ============================================================
   RING (FOCUS STATES)
   ============================================================ */

.ring-0 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-ring {
  --tw-ring-color: hsl(var(--ring));
}

.ring-sidebar-ring {
  --tw-ring-color: hsl(var(--sidebar-ring));
}

.ring-offset-background {
  --tw-ring-offset-color: hsl(var(--background));
}


/* ============================================================
   FILTERS
   ============================================================ */

.blur-3xl {
  --tw-blur: blur(64px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}


/* ============================================================
   BACKDROP FILTERS
   ============================================================ */

.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}


/* ============================================================
   TRANSITIONS
   ============================================================ */

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.transition-\[left\2c right\2c width\] {
  transition-property: left, right, width;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.transition-\[margin\2c opa\] {
  transition-property: margin, opa;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.transition-\[width\2c height\2c padding\] {
  transition-property: width, height, padding;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.transition-\[width\] {
  transition-property: width;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

/* Transition Duration */
.duration-1000 {
  transition-duration: 1s;
}

.duration-200 {
  transition-duration: .2s;
}

.duration-300 {
  transition-duration: .3s;
}

/* Timing Functions */
.ease-in-out {
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.ease-linear {
  transition-timing-function: linear;
}


/* ============================================================
   CUSTOM KEYFRAME ANIMATIONS
   ============================================================ */

/* Enter Animation */
@keyframes enter {
  0% {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}

/* Exit Animation */
@keyframes exit {
  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}

.animate-in {
  animation-name: enter;
  animation-duration: .15s;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}

.fade-in-0 {
  --tw-enter-opacity: 0;
}

.fade-in-80 {
  --tw-enter-opacity: 0.8;
}

.zoom-in-95 {
  --tw-enter-scale: .95;
}


/* Float Animation */
@keyframes float {
  0%, to {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Pulse Soft Animation */
@keyframes pulse-soft {
  0%, to {
    opacity: 1;
  }
  50% {
    opacity: .7;
  }
}

/* Slide Up Animation */
@keyframes slide-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Animation */
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* ============================================================
   HOVER STATES
   ============================================================ */

/* Hover Shadows */
.hover\:shadow-soft:hover {
  box-shadow: var(--shadow-soft);
}

.hover\:shadow-card:hover {
  box-shadow: var(--shadow-card);
}

.hover\:shadow-glow:hover {
  box-shadow: var(--shadow-glow);
}

/* File Upload Button Hover States */
.file\:border-0::file-selector-button {
  border-width: 0;
}

.file\:bg-transparent::file-selector-button {
  background-color: transparent;
}

.file\:text-sm::file-selector-button {
  font-size: .875rem;
  line-height: 1.25rem;
}

.file\:font-medium::file-selector-button {
  font-weight: 500;
}

.file\:text-foreground::file-selector-button {
  color: hsl(var(--foreground));
}


/* ============================================================
   PLACEHOLDER STYLES
   ============================================================ */

.placeholder\:text-background\/50::-moz-placeholder {
  color: hsl(var(--background) / .5);
}

.placeholder\:text-background\/50::placeholder {
  color: hsl(var(--background) / .5);
}

.placeholder\:text-muted-foreground::-moz-placeholder {
  color: hsl(var(--muted-foreground));
}

.placeholder\:text-muted-foreground::placeholder {
  color: hsl(var(--muted-foreground));
}


/* ============================================================
   PSEUDO-ELEMENT STYLES (::after)
   ============================================================ */

.after\:absolute:after {
  content: var(--tw-content);
  position: absolute;
}

.after\:-inset-2:after {
  content: var(--tw-content);
  inset: -.5rem;
}

.after\:inset-y-0:after {
  content: var(--tw-content);
  top: 0;
  bottom: 0;
}

.after\:left-1\/2:after {
  content: var(--tw-content);
  left: 50%;
}

.after\:w-1:after {
  content: var(--tw-content);
  width: .25rem;
}

.after\:w-\[2px\]:after {
  content: var(--tw-content);
  width: 2px;
}

.after\:-translate-x-1\/2:after {
  content: var(--tw-content);
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}


/* ============================================================
   FIRST/LAST CHILD UTILITIES
   ============================================================ */

.first\:rounded-l-md:first-child {
  border-top-left-radius: calc(var(--radius) - 2px);
  border-bottom-left-radius: calc(var(--radius) - 2px);
}

.first\:border-l:first-child {
  border-left-width: 1px;
}

.last\:rounded-r-md:last-child {
  border-top-right-radius: calc(var(--radius) - 2px);
  border-bottom-right-radius: calc(var(--radius) - 2px);
}

.last\:border-0:last-child {
  border-width: 0;
}

.last\:pb-0:last-child {
  padding-bottom: 0;
}


/* ============================================================
   FOCUS-WITHIN STATES
   ============================================================ */

.focus-within\:relative:focus-within {
  position: relative;
}

.focus-within\:z-20:focus-within {
  z-index: 20;
}


/* ============================================================
   RESPONSIVE UTILITIES - SMALL SCREENS (sm: 640px+)
   ============================================================ */

@media (min-width: 640px) {
  .sm\:bottom-0 {
    bottom: 0;
  }

  .sm\:right-0 {
    right: 0;
  }

  .sm\:top-auto {
    top: auto;
  }

  .sm\:mt-0 {
    margin-top: 0;
  }

  .sm\:block {
    display: block;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:max-w-sm {
    max-width: 24rem;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:flex-row {
    flex-direction: row;
  }

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

  .sm\:justify-end {
    justify-content: flex-end;
  }

  .sm\:gap-2\.5 {
    gap: .625rem;
  }

  .sm\:space-x-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(.5rem * var(--tw-space-x-reverse));
    margin-left: calc(.5rem * (1 - var(--tw-space-x-reverse)));
  }

  .sm\:space-x-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1rem * var(--tw-space-x-reverse));
    margin-left: calc(1rem * (1 - var(--tw-space-x-reverse)));
  }

  .sm\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0px * (1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0px * var(--tw-space-y-reverse));
  }

  .sm\:rounded-lg {
    border-radius: var(--radius);
  }

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

  .data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open] {
    --tw-enter-translate-y: 100%;
  }
}


/* ============================================================
   RESPONSIVE UTILITIES - MEDIUM SCREENS (md: 768px+)
   ============================================================ */

@media (min-width: 768px) {
  .md\:absolute {
    position: absolute;
  }

  .md\:left-4 {
    left: 1rem;
  }

  .md\:left-8 {
    left: 2rem;
  }

  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:w-\[var\(--radix-navigation-menu-viewport-width\)\] {
    width: var(--radix-navigation-menu-viewport-width);
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:max-w-\[420px\] {
    max-width: 420px;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:pl-20 {
    padding-left: 5rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
  }

  .md\:opacity-0 {
    opacity: 0;
  }

  .after\:md\:hidden:after {
    content: var(--tw-content);
    display: none;
  }
}


/* ============================================================
   RESPONSIVE UTILITIES - LARGE SCREENS (lg: 1024px+)
   ============================================================ */

@media (min-width: 1024px) {
  .lg\:sticky {
    position: sticky;
  }

  .lg\:top-28 {
    top: 7rem;
  }

  .lg\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }

  .lg\:block {
    display: block;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .lg\:gap-16 {
    gap: 4rem;
  }

  .lg\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .lg\:py-28 {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

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

  .lg\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}


/* ============================================================
   RESPONSIVE UTILITIES - EXTRA LARGE SCREENS (xl: 1280px+)
   ============================================================ */

@media (min-width: 1280px) {
  .xl\:inline {
    display: inline;
  }
}


/* ============================================================
   ACCORDION ANIMATIONS
   ============================================================ */

@keyframes accordion-up {
  0% {
    height: var(--radix-accordion-content-height);
  }
  to {
    height: 0;
  }
}

.data-\[state\=closed\]\:animate-accordion-up[data-state=closed] {
  animation: accordion-up .2s ease-out;
}

@keyframes accordion-down {
  0% {
    height: 0;
  }
  to {
    height: var(--radix-accordion-content-height);
  }
}

.data-\[state\=open\]\:animate-accordion-down[data-state=open] {
  animation: accordion-down .2s ease-out;
}


/* ============================================================
   END OF STYLESHEET
   ============================================================ */


/* --- Touch-target expansion -------------------------------------------
   Enlarges the clickable area of small controls without altering layout
   or visuals (WCAG 2.5.5 / 2.5.8). The pseudo-element is transparent.
   Variants keep expanded areas from overlapping in tightly-spaced lists. */
.tap-target { position: relative; }
.tap-target::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max(100%, 44px);
  height: max(100%, 44px);
}
/* tight vertical lists (footer nav): 24px meets WCAG 2.5.8 without overlap */
.tap-target-sm::after { width: max(100%, 24px); height: max(100%, 24px); }
/* carousel dots: single row, so height can grow freely */
.tap-target-dot::after { width: max(100%, 24px); height: max(100%, 44px); }


/* ============================================================
   3D ANIMATIONS & LOGO-MATCHED UTILITIES
   ============================================================ */

/* 3D Perspective & Tilt Engine Classes */
.tilt-3d {
  perspective: 1200px;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-3d-card {
  position: relative;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.4, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.tilt-3d-card:hover {
  box-shadow: 0 20px 45px rgba(65, 105, 225, 0.35), 0 0 25px rgba(65, 105, 225, 0.3), inset 0 0 15px rgba(65, 105, 225, 0.1) !important;
  border-color: #4169E1 !important;
}

/* Dynamic Royal Blue Glare Sheen overlay for 3D Tilt */
.tilt-3d-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(65, 105, 225, 0.45) 0%, rgba(65, 105, 225, 0) 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 10;
  mix-blend-mode: color-dodge;
}

/* 3D Depth Badge Layer */
.depth-3d {
  transform: translateZ(30px);
  transition: transform 0.3s ease;
}

.tilt-3d-card:hover .depth-3d {
  transform: translateZ(45px) scale(1.03);
}

/* 3D Levitation Float Animation */
@keyframes float3D {
  0% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-12px) rotateX(4deg) rotateY(-4deg);
  }
  100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }
}

.animate-float-3d {
  animation: float3D 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

/* Category Banner Animated Dot Matrix & Lightning Energy Orbs */
.category-dots-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(65, 105, 225, 0.45) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.55;
  animation: lightningDotsPulse 3.5s ease-in-out infinite alternate;
  z-index: 1;
}

.category-lightning-orb {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65, 105, 225, 0.5) 0%, rgba(65, 105, 225, 0) 70%);
  filter: blur(28px);
  pointer-events: none;
  animation: lightningOrbMove 5s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes lightningDotsPulse {
  0% {
    opacity: 0.35;
    background-size: 22px 22px;
  }
  50% {
    opacity: 0.8;
    background-size: 25px 25px;
  }
  100% {
    opacity: 0.45;
    background-size: 22px 22px;
  }
}

@keyframes lightningOrbMove {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-35px, 25px) scale(1.35);
    opacity: 0.85;
  }
  100% {
    transform: translate(25px, -20px) scale(0.95);
    opacity: 0.5;
  }
}

/* Glowing Ambient 3D Backlight */
.glow-3d-blue {
  position: relative;
}
.glow-3d-blue::before {
  content: '';
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(65, 105, 225, 0.35) 0%, rgba(65, 105, 225, 0.15) 50%, transparent 75%);
  filter: blur(20px);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.8;
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.glow-3d-blue:hover::before {
  opacity: 1;
  filter: blur(28px);
}

/* Brand Gradient Utilities */
.bg-gradient-brand {
  background: #4169E1;
}

.text-gradient-brand {
  color: #4169E1 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #4169E1 !important;
}

.border-gradient-brand {
  border-image: linear-gradient(135deg, #4169E1, #4169E1) 1;
}

/* 3D Canvas Container */
.hero-3d-canvas-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

#hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}


/* ============================================================
   PROFESSIONAL GALLERY & BEFORE/AFTER STYLES
   ============================================================ */

/* Gallery Category Filter Tabs */
.gallery-tab-btn {
  position: relative;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(65, 105, 225, 0.15);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.gallery-tab-btn:hover {
  border-color: rgba(65, 105, 225, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(65, 105, 225, 0.12);
}

.gallery-tab-btn.active {
  background: #4169E1;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(65, 105, 225, 0.4);
}

.gallery-tab-badge {
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  transition: background 0.3s ease;
}

.gallery-tab-btn.active .gallery-tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Enhanced Patient Result Cards Styling */
.result-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-card:hover {
  transform: translateY(-4px);
}

.result-cat-btn.active {
  box-shadow: 0 4px 14px rgba(65, 105, 225, 0.3);
}

/* Gallery Card Hover Sheen */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 15, 25, 0.9) 0%, rgba(20, 15, 25, 0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  z-index: 10;
}

.gallery-card-container:hover .gallery-card-overlay {
  opacity: 1;
}

/* Lightbox Modal Enhancements */
.lightbox-thumb-strip {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  max-width: 90vw;
  scrollbar-width: thin;
}

.lightbox-thumb-item {
  width: 64px;
  height: 48px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lightbox-thumb-item:hover,
.lightbox-thumb-item.active {
  opacity: 1;
  border-color: #4169E1;
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(65, 105, 225, 0.4);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* ==========================================================================
   Inside Kakkar Clinic Gallery Section Custom Styles
   ========================================================================== */

/* ==========================================================================
   Services Section Custom Styles (Beauty Studio Style)
   ========================================================================== */
#services h2 {
  color: #ffffff !important;
}

#services > div > div > p,
#services > .container > div > p {
  color: #cbd5e1 !important;
}

#services .bg-white h3,
#services .tilt-3d-card h3,
#services .services-clinic-card h3 {
  color: #0f172a !important;
}

#services .bg-white p,
#services .tilt-3d-card p,
#services .services-clinic-card p {
  color: #475569 !important;
}

#services .bg-white li,
#services .tilt-3d-card li,
#services .services-clinic-card li,
#services .bg-white span,
#services .tilt-3d-card span {
  color: #334155 !important;
}

.services-clinic-card {
  position: relative;
  background-color: #ffffff !important;
  border-radius: 24px;
  padding: 85px 28px 36px 28px; /* Room for overlapping circle image at the top */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.services-clinic-card * {
  color: #000000 !important;
}

.services-clinic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04);
  border-color: rgba(65, 105, 225, 0.3); /* brand blue border glow on hover */
}

.services-clinic-img-container {
  position: absolute;
  top: -55px; /* Shift up half the height */
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #ffffff;
  background-color: #f8fafc;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.services-clinic-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-clinic-card:hover .services-clinic-img-container {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 15px 30px rgba(65, 105, 225, 0.25); /* brand blue soft glow */
}

.services-clinic-card:hover .services-clinic-img-container img {
  transform: scale(1.08);
}

.services-clinic-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #000000 !important;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.services-clinic-desc {
  font-family: 'DM Sans', sans-serif;
  color: #000000 !important;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.services-clinic-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  width: 100%;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  align-items: center;
}

.services-clinic-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #000000 !important;
}

.services-clinic-list li .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #000000 !important; /* black bullet dots */
  flex-shrink: 0;
}

.services-clinic-learn-more {
  margin-top: auto;
  padding-top: 0.5rem;
}

.services-clinic-learn-more a {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #4169E1 !important;
  padding-bottom: 6px;
  position: relative;
  transition: color 0.3s ease;
}

.services-clinic-learn-more a:hover {
  color: #2563eb !important;
}

.services-clinic-learn-more .accent-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 25px; /* small default line */
  height: 2px;
  background-color: #4169E1 !important; /* brand blue accent line */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-clinic-learn-more a:hover .accent-line {
  width: 100%;
  background-color: #2563eb !important; /* blue on hover */
}

/* About Section Grid Layout & Doctor Portrait styling */
.about-clinic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-clinic-grid {
    grid-template-columns: 5fr 7fr !important;
    gap: 4rem !important;
  }
}

.about-clinic-portrait {
  position: relative;
  width: 100%;
  max-w-md;
  margin: 0 auto;
}

.about-clinic-img-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-clinic-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-clinic-img-wrapper img:hover {
  transform: scale(1.02);
}

.about-clinic-stats-floater {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: #4169E1 !important; /* brand blue background */
  color: #ffffff !important;
  border-radius: 16px;
  padding: 1.25rem 1.5rem !important;
  box-shadow: 0 10px 30px rgba(65, 105, 225, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-clinic-stats-floater .stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff !important; /* white number */
  line-height: 1;
}

.about-clinic-stats-floater .stat-text {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff !important;
  margin-top: 0.25rem;
  white-space: nowrap;
}

/* ===================== CONTACT SECTION PREMIUM STYLES & INTERACTIVITY ===================== */

.contact-clinic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-clinic-grid {
    grid-template-columns: 5.5fr 6.5fr;
    align-items: stretch;
  }
}

.contact-detail-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.contact-detail-card:hover {
  transform: translateX(8px) !important;
  border-color: rgba(65, 105, 225, 0.25) !important;
  border-left-color: #4169E1 !important;
  box-shadow: 0 10px 25px rgba(65, 105, 225, 0.08) !important;
  background-color: #f8fafc !important;
}

.contact-detail-card:hover .contact-icon-box {
  transform: scale(1.1) rotate(5deg) !important;
  background-color: #4169E1 !important;
  color: #ffffff !important;
}

.contact-map-wrapper {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}


.contact-map-wrapper:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(65, 105, 225, 0.25) !important;
}

/* ===================== CONTACT FORM PRO 2-COLUMN LAYOUT ===================== */

.contact-form-pro-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(30, 58, 138, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  .contact-form-pro-wrapper {
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
  }
}

.contact-form-info-panel {
  border-radius: 0 !important;
}

.contact-form-fields-panel {
  border-radius: 0 !important;
}

/* Mobile: stack panels with rounded corners only on outer edges */
@media (max-width: 767px) {
  .contact-form-info-panel {
    border-radius: 1.5rem 1.5rem 0 0 !important;
  }
  .contact-form-fields-panel {
    border-radius: 0 0 1.5rem 1.5rem !important;
    border-top: none !important;
  }
}

/* ===================== GALLERY PAGE STYLES ===================== */

.gallery-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  background-color: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-tab-btn:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

.gallery-tab-btn.active {
  background-color: #4169E1 !important;
  color: #ffffff !important;
  border-color: #4169E1 !important;
  box-shadow: 0 4px 12px rgba(65, 105, 225, 0.25);
}

.gallery-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.08);
  color: currentColor;
}

.gallery-tab-btn.active .gallery-tab-badge {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card-container:hover .gallery-card-overlay {
  opacity: 1;
}

/* ============================================================
   3D COVERFLOW POLAROID GALLERY STYLES (DARK THEME & PERFECT ALIGNMENT)
   ============================================================ */

.clinic-gallery-section {
  background: linear-gradient(180deg, #050a17 0%, #0c1630 50%, #050a17 100%) !important;
  color: #ffffff !important;
  padding: 4.5rem 0 !important;
  position: relative;
  overflow: hidden;
}

.clinic-gallery-section .clinic-title {
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.clinic-gallery-section .clinic-subtitle {
  color: #94a3b8 !important;
}

.coverflow-stage {
  position: relative;
  width: 100%;
  max-width: 1050px;
  height: 440px;
  margin: 2rem auto;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  overflow: visible;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.coverflow-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 310px;
  height: 360px;
  margin: 0;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  box-sizing: border-box;
}

/* Polaroid Photo Frame Design */
.polaroid-frame {
  width: 100%;
  height: 100%;
  background: #ffffff;
  padding: 12px 12px 14px 12px;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.coverflow-card[data-depth="0"] .polaroid-frame {
  box-shadow: 0 30px 60px rgba(65, 105, 225, 0.45), 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(65, 105, 225, 0.6);
}

.polaroid-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.polaroid-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.polaroid-caption {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px 0 6px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

.polaroid-caption span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}

.coverflow-play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(65, 105, 225, 0.92);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(65, 105, 225, 0.4);
  transition: transform 0.3s ease;
}

.coverflow-card:hover .coverflow-play-badge {
  transform: scale(1.12);
}

/* Nav Arrows */
.coverflow-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.coverflow-nav-btn:hover {
  background: #4169E1;
  color: #ffffff;
  border-color: #4169E1;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 15px 35px rgba(65, 105, 225, 0.5);
}

.coverflow-prev { left: 10px; }
.coverflow-next { right: 10px; }

/* Active Center Caption Box */
.coverflow-active-caption-box {
  text-align: center;
  max-width: 650px;
  margin: 1.5rem auto 0 auto;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .coverflow-stage { height: 380px; margin: 1.5rem auto; }
  .coverflow-card { width: 260px; height: 310px; margin: 0; }
  .coverflow-prev { left: 0px; width: 42px; height: 42px; }
  .coverflow-next { right: 0px; width: 42px; height: 42px; }
}

/* Video Card Item Responsive 3-per-row layout */
.video-card-item {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 640px) {
  .video-card-item {
    flex: 0 0 calc(50% - 12px) !important;
    width: calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
  }
}

@media (min-width: 1024px) {
  .video-card-item {
    flex: 0 0 calc(33.333% - 16px) !important;
    width: calc(33.333% - 16px) !important;
    max-width: calc(33.333% - 16px) !important;
  }
}

/* ============================================================
   BLOG 3D TILT & MEDICAL VISUALIZATION STYLES
   ============================================================ */

.blog-post-card {
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-post-card:hover {
  border-color: #4169E1 !important;
  box-shadow: 0 22px 50px -10px rgba(65, 105, 225, 0.3), 0 0 25px 2px rgba(56, 189, 248, 0.15) !important;
}

.blog-post-card .depth-3d {
  transform: translateZ(28px);
  transition: transform 0.3s ease;
}

.blog-post-card:hover .depth-3d {
  transform: translateZ(42px) scale(1.02);
}

/* 3D Entry Animation for Full Article Modal */
@keyframes modal3DIn {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateX(10deg) translateY(30px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
  }
}

#blogArticleModal:not(.hidden) > div:nth-child(3) {
  animation: modal3DIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Smooth Category Filter Button Transitions */
.blog-filter-btn {
  cursor: pointer;
  user-select: none;
}

.blog-filter-btn.active {
  background: linear-gradient(135deg, #4169E1 0%, #1e40af 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(65, 105, 225, 0.35) !important;
}

/* Custom Scrollbar for Modal Reader */
#modalArticleScroll::-webkit-scrollbar {
  width: 7px;
}

#modalArticleScroll::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

#modalArticleScroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

#modalArticleScroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ============================================================
   BLOG CARD UNIFORM SPACING & VERTICAL ALIGNMENT
   ============================================================ */

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.45) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

.blog-post-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02) !important;
  overflow: hidden !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.blog-post-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(65, 105, 225, 0.45) !important;
  box-shadow: 0 20px 40px -10px rgba(65, 105, 225, 0.2), 0 4px 12px -2px rgba(15, 23, 42, 0.06) !important;
}

.blog-card-media {
  position: relative !important;
  width: 100% !important;
  height: 230px !important;
  overflow: hidden !important;
  background-color: #0f172a !important;
  flex-shrink: 0 !important;
}

.blog-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.blog-post-card:hover .blog-card-media img {
  transform: scale(1.05) !important;
}

.blog-badge-vlog {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 13px !important;
  border-radius: 10px !important;
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  z-index: 5 !important;
}

.blog-badge-category {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 12px !important;
  border-radius: 10px !important;
  background: rgba(15, 23, 42, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #f8fafc !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  z-index: 5 !important;
}

.blog-badge-meta-row {
  position: absolute !important;
  bottom: 12px !important;
  left: 14px !important;
  right: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

.blog-badge-readtime {
  padding: 4px 11px !important;
  border-radius: 8px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  color: #e2e8f0 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.blog-badge-stat {
  padding: 4px 11px !important;
  border-radius: 8px !important;
  background: #0284c7 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4) !important;
}

.blog-card-body {
  padding: 24px 22px 20px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: space-between !important;
  background: #ffffff !important;
}

.blog-card-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #0f172a !important;
  margin-bottom: 10px !important;
}

.blog-card-title a {
  color: #0f172a !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.blog-card-title a:hover {
  color: #0284c7 !important;
}

.blog-card-summary {
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  color: #64748b !important;
  margin-bottom: 16px !important;
}

.blog-takeaway-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
  margin-bottom: 20px !important;
}

.blog-takeaway-box li {
  color: #334155 !important;
  font-size: 0.8125rem !important;
  line-height: 1.5 !important;
}

.blog-card-footer {
  padding-top: 16px !important;
  border-top: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: auto !important;
}

.blog-card-footer .author-name {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

.blog-card-footer .author-exp {
  font-size: 0.6875rem !important;
  color: #64748b !important;
  margin-top: 2px !important;
}

.blog-card-footer .btn-read-guide {
  padding: 9px 18px !important;
  border-radius: 12px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  color: #ffffff !important;
}

@media (min-width: 768px) {
  .blog-card-title {
    min-height: 3.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .blog-card-summary {
    min-height: 4.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .blog-takeaway-box {
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .blog-card-title {
    min-height: auto;
  }

  .blog-card-summary {
    min-height: auto;
  }

  .blog-takeaway-box {
    min-height: auto;
  }
}

/* Bottom CTA banner styling */
.blog-bottom-cta {
  background: linear-gradient(135deg, #050a17 0%, #0c1630 60%, #050a17 100%) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 20px 45px -10px rgba(5, 10, 23, 0.6) !important;
  padding: 38px 34px !important;
  color: #ffffff !important;
}

.blog-bottom-cta h4 {
  color: #ffffff !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.blog-bottom-cta p {
  color: #cbd5e1 !important;
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
}

.blog-bottom-cta .cta-badge {
  display: inline-block !important;
  background: rgba(56, 189, 248, 0.16) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 5px 14px !important;
  border-radius: 8px !important;
  margin-bottom: 12px !important;
}

.blog-bottom-cta .btn-outline-white {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  padding: 13px 24px !important;
  border-radius: 12px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.blog-bottom-cta .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
}

/* Grid layout for blog posts */
#blog-posts-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 32px !important;
}

@media (min-width: 768px) {
  #blog-posts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  #blog-posts-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Spotlight Card Side-by-Side on Desktop */
.blog-spotlight-card {
  display: flex !important;
  flex-direction: column !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  overflow: hidden !important;
  box-shadow: 0 14px 35px -8px rgba(15, 23, 42, 0.08) !important;
}

@media (min-width: 1024px) {
  .blog-spotlight-card {
    flex-direction: row !important;
    align-items: stretch !important;
  }

  .blog-spotlight-media {
    width: 50% !important;
    flex-shrink: 0 !important;
    min-height: 480px !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: #0f172a !important;
  }

  .blog-spotlight-content {
    width: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 44px 40px !important;
  }
}

@media (max-width: 1023px) {
  .blog-spotlight-media {
    width: 100% !important;
    height: 320px !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: #0f172a !important;
  }

  .blog-spotlight-content {
    width: 100% !important;
    padding: 28px 24px !important;
  }
}

.blog-spotlight-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.blog-spotlight-card:hover .blog-spotlight-media img {
  transform: scale(1.04) !important;
}


