/* ============================================================================
   AI ADVANTAGE THEME - "ASYMMETRIC COLLAGE"
   Modern Bootstrap 5 custom theme
   ============================================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:wght@600;700;800&display=swap');

/* ============================================================================
   DESIGN TOKENS - CSS Custom Properties
   ============================================================================ */

:root,
[data-bs-theme='light'] {
  /* Brand Colors - Client Palette */
  --brand-blue: #427898;
  --brand-blue-light: #5d8ca9;
  --brand-sage: #8ba49c;
  --brand-coral: #cc9f8b;
  --brand-gold: #e6ac58;
  --brand-cream: #eacc97;

  /* Extended Palette (derived from brand) */
  --brand-blue-600: #325774;
  --brand-blue-700: #264255;
  --brand-sage-light: #c8d9d0;
  --brand-cream-light: #f7edd8;

  /* Functional Colors (for backgrounds/accents) */
  --brand-mint: #e8f4f0;
  --brand-beige: var(--brand-cream);
  --brand-mint-dark: #c5d9d0;

  /* Neutrals - with warm tint */
  --bg: #FDFCFA;
  --surface: #FFFFFF;
  --surface-warm: #FAF8F5;
  --surface-subtle: #F7F5F2;
  --border-color: rgba(67, 121, 151, 0.12);
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;

  /* Accents */
  --accent: var(--brand-blue);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: var(--brand-mint);

  /* Radii - Consistent modern system */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows - Neutral, modern */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);

  /* Spacing - Fluid */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2.5rem);
  --space-xl: clamp(2rem, 4vw, 4rem);
  --space-2xl: clamp(3rem, 6vw, 6rem);

  /* Type Scale - Fluid */
  --text-display: clamp(2.25rem, 4vw, 3.5rem);
  --text-h1: clamp(1.875rem, 3.5vw, 2.75rem);
  --text-h2: clamp(1.5rem, 3vw, 2.25rem);
  --text-h3: clamp(1.25rem, 2.5vw, 1.75rem);
  --text-h4: clamp(1.125rem, 2vw, 1.5rem);
  --text-body-lg: clamp(1.0625rem, 1.5vw, 1.125rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  /* Font Families */
  --font-display: 'Fraunces', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Container Max */
  --container-max: 1280px;

  /* Modern 2-Color Gradients */
  --gradient-primary: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  --gradient-warm: linear-gradient(135deg, var(--brand-cream-light) 0%, var(--brand-cream) 100%);
  --gradient-cool: linear-gradient(135deg, var(--brand-mint) 0%, var(--brand-sage-light) 100%);
  --gradient-hero: linear-gradient(160deg, var(--brand-sage) 0%, var(--brand-blue) 100%);
}

[data-bs-theme='dark'] {
  --bg: #111827;
  --surface: #1F2937;
  --surface-subtle: #374151;
  --border-color: rgba(156, 163, 175, 0.2);
  --text-primary: #F9FAFB;
  --text-secondary: #D1D5DB;
  --text-muted: #9CA3AF;

  --brand-mint: #1E3A3C;
  --brand-beige: #4A3A28;
  --brand-blue: #5d8ca9;
  --brand-blue-light: #7aa3ba;
  --brand-sage: #6b847a;
  --brand-coral: #a67f6f;
  --brand-gold: #c49848;
  --brand-cream: #524428;
}

/* ============================================================================
   BOOTSTRAP OVERRIDES
   ============================================================================ */

/* Bootstrap Variable Overrides */
:root {
  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: var(--text-body);
  --bs-body-line-height: 1.6;
  --bs-body-color: var(--text-primary);
  --bs-body-bg: var(--bg);

  --bs-primary: var(--brand-blue);
  --bs-primary-rgb: 67, 121, 151;
  --bs-secondary: var(--brand-beige);
  --bs-success: var(--success);
  --bs-warning: var(--warning);
  --bs-danger: var(--danger);
  --bs-info: var(--info);

  --bs-border-radius: var(--radius-md);
  --bs-border-radius-sm: var(--radius-sm);
  --bs-border-radius-lg: var(--radius-lg);
  --bs-border-radius-xl: var(--radius-xl);
  --bs-border-radius-2xl: var(--radius-2xl);

  --bs-link-color: var(--brand-blue);
  --bs-link-hover-color: var(--brand-blue-600);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.display-1 { font-size: var(--text-display); font-weight: 800; }
.display-2 { font-size: var(--text-h1); font-weight: 800; }
h1, .h1 { font-size: var(--text-h1); }
h2, .h2 { font-size: var(--text-h2); }
h3, .h3 { font-size: var(--text-h3); }
h4, .h4 { font-size: var(--text-h4); }

.lead {
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 1.7;
}

/* ============================================================================
   COMPONENTS
   ============================================================================ */

/* ============================================================
   NAVIGATION - Floating on scroll
   ============================================================ */

.navbar-collage {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.22, 0.75, 0.25, 1);
  padding: 0;
}

.navbar-collage.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.625rem 0;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--brand-blue) !important;
  letter-spacing: -0.02em;
}

.navbar .nav-link {
  color: var(--brand-blue);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
}

.navbar .nav-link:hover {
  color: var(--brand-blue);
  background: var(--brand-mint);
}
nav a {
  font-family: var(--font-display);
  font-size: 1.1rem !important;
}

/* ============================================================
   MEGAMENU
   ============================================================ */

.megamenu.dropdown-menu {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  top: 100%;
  width: 90vw;
  max-width: 900px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: var(--space-lg);
  margin-top: 0.5rem;
}

.megamenu-section-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand-mint);
}

.megamenu-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.megamenu-item:hover {
  background: var(--brand-mint);
  transform: translateX(4px);
}

.megamenu-item-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.megamenu-item-content {
  flex: 1;
  min-width: 0;
}

.megamenu-item-title {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-between;
  gap: 0.5rem;
}

.megamenu-item-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.megamenu-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.megamenu-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

/* Mobile Megamenu Styles */
@media (max-width: 991.98px) {
  .offcanvas .megamenu {
    position: static !important;
    transform: none !important;
    width: 100%;
    max-width: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    display: block !important;
  }

  .megamenu-section {
    margin-bottom: 1rem;
  }

  .megamenu-section-title {
    font-size: var(--text-xs);
    margin-bottom: 0.5rem;
  }

  .megamenu-item {
    padding: 0.5rem;
  }

  .megamenu-item-image {
    width: 48px;
    height: 48px;
  }

  .megamenu-item-description {
    display: none;
  }

  .megamenu-footer {
    display: none;
  }
}

/* ============================================================
   HERO - Asymmetric Collage Layout
   ============================================================ */

.hero-collage {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: var(--space-xl) 0;
  background: var(--gradient-hero);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-collage-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
background: linear-gradient( 160deg, rgba(234, 204, 151, 0.8) 0%, rgba(67, 121, 151, 0.92) 100% );
  z-index: 1;
}

.hero-collage::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-card-zigzag {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card-zigzag:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.hero-card-offset {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--brand-cream-light);
  transform: rotate(1deg);
  margin-top: -2rem;
}

/* ============================================================
   PAGE HERO - Internal Pages
   ============================================================ */

.page-hero {
  min-height: 35vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    160deg,
    rgba(139, 164, 156, 0.88) 0%,
    rgba(67, 121, 151, 0.92) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.page-hero-content h1 {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.page-hero-content .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-content .badge-collage {
  background: white !important;
  color: var(--brand-blue) !important;
}

/* ============================================================
   CONTENT SECTION - With Optional Background
   ============================================================ */

.content-section-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.content-section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    160deg,
    rgba(139, 164, 156, 0.9) 0%,
    rgba(67, 121, 151, 0.92) 100%
  );
  z-index: 1;
}

.content-section-content {
  position: relative;
  z-index: 2;
}

.content-section-content h2 {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.content-section-content .lead,
.content-section-content .lead.text-secondary {
  color: rgba(255, 255, 255, 0.95) !important;
}

.content-section-content .badge-collage {
  background: white !important;
  color: var(--brand-blue) !important;
}

/* ============================================================
   STATS - Ribbon Style
   ============================================================ */

.stats-ribbon {
  background: var(--brand-blue);
  color: white;
  padding: var(--space-lg) 0;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.stat-item-ribbon {
  text-align: center;
  padding: var(--space-md);
}

.stat-number-ribbon {
  font-size: var(--text-h2);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--brand-cream);
  line-height: 1;
}

.stat-label-ribbon {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* ============================================================
   CARDS - Collage Style
   ============================================================ */

.card-collage {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
  position: relative;
}

.card-collage:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-collage-mint {
  background: var(--brand-mint);
  border-color: var(--brand-mint-dark);
}

.card-collage-beige {
  background: var(--brand-cream-light);
  border-color: var(--brand-cream);
}

.card-collage-sage {
  background: var(--brand-sage-light);
  border-color: var(--brand-sage);
}

/* Overlapping cards effect */
.card-overlap-container {
  position: relative;
}

.card-overlap-1 {
  position: relative;
  z-index: 3;
}

.card-overlap-2 {
  position: relative;
  z-index: 2;
  margin-top: -1.5rem;
  margin-left: 1.5rem;
}

/* ============================================================
   BUTTONS - Custom Style
   ============================================================ */

.btn {
  font-weight: 600;
  border-radius: var(--radius-lg);
  padding: 0.625rem 1.5rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand-blue);
  color: white;
  border-color: var(--brand-blue);
}

.btn-primary:hover {
  background: var(--brand-blue-600);
  border-color: var(--brand-blue-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-outline-primary:hover {
  background: var(--brand-blue);
  color: white;
  border-color: var(--brand-blue);
}

.btn-warm {
  background: var(--brand-cream);
  color: var(--text-primary);
  border-color: var(--brand-cream);
}

.btn-warm:hover {
  background: var(--brand-gold);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: var(--text-body-lg);
}

/* ============================================================
   BADGES & TAGS
   ============================================================ */

.badge {
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
}

.badge-collage {
  background: var(--brand-blue);
  color: white;
}

.badge-price {
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

.tag-organic {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--brand-mint);
  color: var(--brand-blue);
  border: 1px solid var(--brand-mint-dark);
}

/* Icon Circles */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-mint);
  color: var(--brand-blue);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-circle-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-mint);
  color: var(--brand-blue);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.icon-circle-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-mint);
  color: var(--brand-blue);
  font-size: 2rem;
  flex-shrink: 0;
}

/* ============================================================
   WORKSHOPS - Equal Height Cards
   ============================================================ */

.workshop-card-equal {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.workshop-card-equal:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}

.workshop-image-equal {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.workshop-content-equal {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.workshop-description {
  flex-grow: 1;
  min-height: 3em;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.workshop-footer {
  margin-top: auto;
}

.workshop-badge-masonry {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Legacy masonry styles (kept for compatibility) */
.workshop-card-masonry {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
  border: 1px solid var(--border-color);
}

.workshop-card-masonry:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.workshop-card-masonry.stagger-1 {
  margin-top: 0;
}

.workshop-card-masonry.stagger-2 {
  margin-top: 2rem;
}

.workshop-card-masonry.stagger-3 {
  margin-top: 4rem;
}

.workshop-card-masonry.stagger-4 {
  margin-top: 1.5rem;
}

.workshop-image-masonry {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.workshop-content-masonry {
  padding: var(--space-lg);
}

/* ============================================================
   TESTIMONIALS - Quote Bubbles
   ============================================================ */

.testimonial-bubble {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.25s ease;
  border: 1px solid var(--border-color);
}

.testimonial-bubble::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  font-size: 4rem;
  font-family: var(--font-display);
  color: var(--brand-sage-light);
  line-height: 1;
}

.testimonial-bubble:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.testimonial-bubble.rotate-left {
  transform: rotate(-0.5deg);
}

.testimonial-bubble.rotate-right {
  transform: rotate(0.5deg);
}

/* ============================================================
   PROCESS FLOW
   ============================================================ */

.process-step-collage {
  text-align: center;
  position: relative;
}

.process-icon-collage {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}

.process-icon-collage:hover {
  transform: scale(1.05);
}

.process-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--brand-blue);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
#contact a{
  color: var(--text-primary) !important;
}
.form-organic {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-control {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(67, 121, 151, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section-padding {
  padding: var(--space-xl) 0;
}

.section-padding-sm {
  padding: var(--space-xl) 0;
}

.section-bg-warm {
  background: var(--brand-cream-light);
}

.section-bg-cool {
  background: var(--brand-mint);
}

.section-bg-subtle {
  background: var(--surface-warm);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--brand-blue-700);
  color: white;
  padding: var(--space-2xl) 0 var(--space-lg);
}

footer h5, footer h6 {
  color: white;
}

footer a,
footer a:link,
footer a:visited {
  color: rgba(255, 255, 255, 0.85) !important;
  transition: color 0.2s ease;
}

footer a:hover,
footer a:focus {
  color: var(--brand-cream) !important;
}

footer .text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

footer i {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   TESTIMONIALS CAROUSEL
   ============================================================ */

.testimonial-carousel .carousel-inner {
  padding: 1rem 0;
}

.testimonial-carousel .carousel-item {
  transition: transform 0.5s ease-in-out;
}

/* Navigation arrows */
.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.testimonial-carousel .carousel-control-prev {
  left: -22px;
}

.testimonial-carousel .carousel-control-next {
  right: -22px;
}

.testimonial-carousel .carousel-control-icon {
  color: var(--brand-blue);
  font-size: 1.125rem;
}

.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover {
  background: var(--brand-mint);
  box-shadow: var(--shadow-md);
}

/* Hide default bootstrap icons */
.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
  display: none;
}

/* Indicators */
.testimonial-carousel .carousel-indicators {
  position: relative;
  margin: 0;
  justify-content: center;
}

.testimonial-carousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-sage-light);
  opacity: 0.5;
  border: none;
  margin: 0 5px;
  transition: all 0.25s ease;
}

.testimonial-carousel .carousel-indicators button.active {
  background: var(--brand-blue);
  opacity: 1;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
  .testimonial-carousel .carousel-control-prev,
  .testimonial-carousel .carousel-control-next {
    display: none;
  }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-accordion .accordion-item {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-body-lg);
  color: var(--text-primary);
  padding: 1rem 1.25rem;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--brand-mint);
  color: var(--brand-blue-700);
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23427898'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   PRICING CTA
   ============================================================ */

.pricing-cta {
  background: var(--gradient-cool);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid var(--brand-sage-light);
}

.pricing-cta-price {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
}

.pricing-cta-price .currency {
  font-size: 0.5em;
  vertical-align: super;
}

.pricing-cta-period {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.pricing-cta-features {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
  text-align: left;
}

.pricing-cta-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-cta-features li i {
  color: var(--success);
  font-size: 1.125rem;
}

/* ============================================================
   PRODUCT CARDS - Modern Image Cards
   ============================================================ */

.product-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.22, 0.75, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
}

.product-card-badge.badge-success {
  background: rgba(16, 185, 129, 0.95);
  color: white;
}

.product-card-badge.badge-price {
  background: var(--brand-blue);
  color: white;
}

.product-card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.product-card-description {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.product-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.product-card-features li i {
  color: var(--success);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.product-card-footer {
  margin-top: auto;
}

/* Product card color variants */
.product-card-mint {
  border-color: var(--brand-mint-dark);
}

.product-card-mint .product-card-body {
  background: var(--brand-mint);
}

.product-card-beige {
  border-color: var(--brand-cream);
}

.product-card-beige .product-card-body {
  background: var(--brand-cream-light);
}

.product-card-sage {
  border-color: var(--brand-sage);
}

.product-card-sage .product-card-body {
  background: var(--brand-sage-light);
}

/* ============================================================
   GUIDE CARDS (Resource pages)
   ============================================================ */

.guide-card-img {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.guide-card-img img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.guide-placeholder-img {
  height: 180px;
  background: var(--gradient-cool);
}

/* Grid layout adjustments for resource pages */
@media (max-width: 576px) {
  .guide-card-img img {
    height: 150px;
  }
}

/* Resource Filter Buttons */
.btn-filter {
  background: white;
  border: 2px solid var(--brand-blue-200);
  color: var(--brand-blue);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-filter:hover {
  background: var(--brand-blue-50);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn-filter.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: white;
}

/* Guide grid section transitions */
.guide-grid-section {
  transition: opacity 0.3s ease;
}

/* PDF Viewer Modal */
.pdf-viewer-container {
  width: 100%;
  height: 85vh;
  background: #f8f9fa;
}

.pdf-viewer-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Modal adjustments for PDF viewer - 90% coverage */
[id^="pdfViewerModal-"] .modal-dialog {
  max-width: 90vw;
  width: 90vw;
  margin: 5vh auto;
}

[id^="pdfViewerModal-"] .modal-content {
  height: 90vh;
}

[id^="pdfViewerModal-"] .modal-body {
  flex: 1;
  overflow: hidden;
}

@media (max-width: 575.98px) {
  [id^="pdfViewerModal-"] .modal-dialog {
    max-width: 95vw;
    width: 95vw;
    margin: 2.5vh auto;
  }

  [id^="pdfViewerModal-"] .modal-content {
    height: 95vh;
  }

  .pdf-viewer-container {
    height: 100%;
  }
}

/* ============================================================================
   BLOG STYLES
   ============================================================================ */

/* Blog Card */
.blog-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.blog-card-img-link:hover .blog-card-img {
  transform: scale(1.02);
}

.blog-card h4 a:hover {
  color: var(--brand-blue) !important;
}

.blog-card-meta {
  font-size: var(--text-sm);
}

/* Horizontal Blog Card (for blog listing page) */
.blog-card-horizontal {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.blog-card-horizontal-img-link {
  display: block;
  width: 100%;
  max-width: 280px;
  flex-shrink: 0;
}

.blog-card-horizontal-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card-horizontal:hover .blog-card-horizontal-img {
  transform: scale(1.02);
}

.blog-card-horizontal-content {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.blog-card-horizontal h3 a:hover {
  color: var(--brand-blue) !important;
}

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

/* Blog Post Layout */
.blog-post-header {
  padding-top: 7rem;
  padding-bottom: 1rem;
}

.blog-post-title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.blog-post-meta {
  font-size: var(--text-sm);
}

.blog-post-featured-image {
  margin-top: 1.5rem;
}

.blog-post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Blog Post Content - Prose Styling */
.blog-post-content .prose {
  font-size: var(--text-body-lg);
  line-height: 1.8;
  color: var(--text-primary);
}

.blog-post-content .prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.blog-post-content .prose h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.blog-post-content .prose h4 {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.blog-post-content .prose p {
  margin-bottom: 1.5rem;
}

.blog-post-content .prose ul,
.blog-post-content .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-post-content .prose li {
  margin-bottom: 0.5rem;
}

.blog-post-content .prose blockquote {
  border-left: 4px solid var(--brand-blue);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-secondary);
}

.blog-post-content .prose blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--brand-blue);
}

.blog-post-content .prose a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post-content .prose a:hover {
  color: var(--brand-blue-600);
}

.blog-post-content .prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

/* Author Box */
.author-box {
  border: 1px solid var(--border-color);
}

/* Blog Responsive */
@media (max-width: 768px) {
  .blog-post-header {
    padding-top: 5rem;
  }

  .blog-post-title {
    font-size: var(--text-h2);
  }

  .blog-card-img {
    height: 160px;
  }

  /* Horizontal blog card stacks on mobile */
  .blog-card-horizontal-img-link {
    max-width: 100%;
  }

  .blog-card-horizontal-img {
    height: 160px;
  }

  .blog-card-horizontal-content {
    padding: 1rem;
  }
}

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

/* Text Gradients */
.text-gradient-blue {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: linear-gradient(135deg, var(--brand-cream) 0%, var(--brand-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: var(--brand-mint);
  border-color: var(--brand-blue);
}

/* Animations */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animate-float {
  animation: float-gentle 4s ease-in-out infinite;
}

@keyframes fade-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-slide-up 0.6s cubic-bezier(0.22, 0.75, 0.25, 1) forwards;
}

/* Rotation utilities */
.rotate-n2 { transform: rotate(-1.5deg); }
.rotate-n1 { transform: rotate(-0.75deg); }
.rotate-1 { transform: rotate(0.75deg); }
.rotate-2 { transform: rotate(1.5deg); }

/* Spacing utilities */
.mt-n3 { margin-top: -2rem; }
.mt-n2 { margin-top: -1.5rem; }

/* Border utilities */
.border-color { border-color: var(--border-color) !important; }

/* Background utilities */
.bg-mint { background: var(--brand-mint); }
.bg-beige { background: var(--brand-beige); }
.bg-sage { background: var(--brand-sage); }
.bg-cream { background: var(--brand-cream); }

/* ============================================================================
   ACCESSIBILITY & REDUCED MOTION
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (max-width: 768px) {
  .hero-collage {
    min-height: auto;
    padding: var(--space-xl) 0;
  }

  .hero-card-zigzag,
  .hero-card-offset {
    transform: none;
    margin-top: 0;
  }

  .page-hero {
    min-height: 30vh;
    padding: var(--space-xl) 0;
  }

  .workshop-card-masonry.stagger-1,
  .workshop-card-masonry.stagger-2,
  .workshop-card-masonry.stagger-3,
  .workshop-card-masonry.stagger-4 {
    margin-top: 0;
  }

  .card-overlap-2 {
    margin-top: 1rem;
    margin-left: 0;
  }

  .stats-ribbon {
    margin-top: 0;
  }
}

/* ============================================================
   CROSS-SELL CARDS - Compact Product Cards for Recommendations
   ============================================================ */

.cross-sell-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.22, 0.75, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.cross-sell-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}

.cross-sell-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.cross-sell-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.cross-sell-card:hover .cross-sell-card-image img {
  transform: scale(1.05);
}

.cross-sell-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
}

.cross-sell-card-badge.badge-success {
  background: rgba(16, 185, 129, 0.95);
  color: white;
}

.cross-sell-card-badge.badge-primary {
  background: var(--brand-blue);
  color: white;
}

.cross-sell-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cross-sell-card-title {
  font-family: var(--font-display);
  font-size: var(--text-h5);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cross-sell-card-description {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}
