/**
* Template Name: BookLanding
* Template URL: https://bootstrapmade.com/bootstrap-book-landing-page-template/
* Updated: Mar 02 2025 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  /* Body text – professional but warm serif, evokes Cold War reports */
  --default-font: "IBM Plex Serif", Georgia, Cambria, "Times New Roman", Times, serif;

  /* Section titles, hero headlines – slab serif with typewriter feel */
  --heading-font: "Zilla Slab", "Roboto Slab", Georgia, serif;

  /* Navigation, UI labels, buttons – technical monospace tone */
  --nav-font: "Cutive Mono", "Courier New", Courier, monospace;

  /* Optional: for stamps, dramatic quotes, redacted text, etc. */
  --display-font: "Special Elite", "Courier New", Courier, monospace;
}
/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/


/* Global Color Palette – 1970s Spy Thriller Inspired */
:root {
  --background-color: #1c1f32;              /* Cinematic navy backdrop */
  --default-color: #f5f5f2;                 /* Soft, aged off-white body text */
  --heading-color: #fefaf3;                 /* Slightly yellowed white, aged paper feel */
  --accent-color: #e63946; /* Bloodier red – deep, espionage-era crimson */
  --accent-soft: #c6342c; /* For hover states – like dried blood over parchment */
  --surface-color: #292c45;                 /* Card & block background – moody steel blue-gray */
  --surface-overlay: rgba(0, 0, 0, 0.1);    /* Subtle transparent overlay for texture or shadows */
  --contrast-color: #ffffff;                /* High contrast text on accent/surface */

  /* Additional Spy-Era Utility Colors */
  --tape-yellow: #ffdd72;                   /* Retro office-supply yellow (badge highlight, ribbon) */
  --agent-beige: #e9e3d0;                   /* Alt background for aged-paper effects */
  --glow-highlight: #f46356;               /* Used for hover glows, neon shadows, or outlines */
}

/* Navigation-specific color controls */
:root {
  --nav-color: #e0ddd5;                     /* Neutral sand for nav text */
  --nav-hover-color: #a44e2a;               /* Rusty brown-red hover effect */
  --nav-mobile-background-color: #2c2924;   /* Deep sepia for mobile menu background */
  --nav-dropdown-background-color: #2c2924;
  --nav-dropdown-color: #e0ddd5;
  --nav-dropdown-hover-color: #f3e4cc;      /* Slight yellow tint – elegant highlight */
}

/*--------------------------------------------------------------
# Color Presets - For Light and Dark Section Theming
--------------------------------------------------------------*/


.light-background {
  --background-color: #e9e3d0;
  --surface-color: #f5f5f2;
  --default-color: #26231e;
  --heading-color: #1c1f32;
  --contrast-color: #000000;
  --accent-color: #a3120a;
  --accent-soft: #c6342c;

  position: relative; /* Required for ::before layering */
  z-index: 1;          /* Make sure content stays above */
}

/* Pseudo-element must be declared separately */
.light-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-repeat: repeat;
  background-size: auto;
  opacity: 0.3; /* adjust to your taste */
  pointer-events: none;
}



.lighter-background {
  --background-color: #fdf7e3 !important;    /* Light parchment base (softer than white) */
  --surface-color: #f8f2dc !important;       /* Slightly darker than background – for cards or overlays */
  --default-color: #2e2a1f !important;       /* Rich dark brown for text (better than pure black) */
  --heading-color: #1f1a10 !important;       /* Inkier tone for headings */
  --contrast-color: #000000 !important;      /* For buttons or icons needing high contrast */
}


.dark-background {
  --background-color: #1c1f32;             /* Matches page background */
  --surface-color: #292c45;
  --default-color: #f5f5f2;
  --heading-color: #ffffff;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# Spacing & Typography Scale Tokens
--------------------------------------------------------------*/

:root {
  scroll-behavior: smooth;

  --space-title-gap: 3rem;                 /* Vertical spacing under H2 titles */
  --section-max-width: 48rem;              /* For constrained body sections (768px) */
  --section-title-font-size: 2rem;         /* H2 fallback: 32px */
  --section-subtext-size: 1.125rem;        /* Subhead fallback: 18px */
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 1rem; /* 16px */
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem); /* fluid from 32px to 48px */
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem); /* 28–40px */
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem); /* 24–32px */
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}
/* PHP Email Form Messages
------------------------------*/
/*--------------------------------------------------------------
# PHP Email Form Messages (rem + clamp conversion)
--------------------------------------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 0.9375rem;            /* 15px */
  margin-bottom: 1.5rem;         /* 24px */
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 0.9375rem;            /* 15px */
  margin-bottom: 1.5rem;         /* 24px */
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 0.9375rem;            /* 15px */
  margin-bottom: 1.5rem;         /* 24px */
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 1.5rem;                 /* 24px */
  height: 1.5rem;                /* 24px */
  margin: 0 0.625rem -0.375rem 0; /* 10px right, -6px bottom */
  border: 0.1875rem solid var(--accent-color);      /* 3px */
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

/*--------------------------------------------------------------
# Global Header (rem-safe conversion)
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 0.9375rem 0;           /* 15px */
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 2.25rem;            /* 36px */
  margin-right: 0.5rem;           /* 8px */
}

.header .logo h1 {
  font-size: 1.5rem;              /* 24px */
  margin: 0;
  font-weight: 500;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0 0 1.125rem rgba(0, 0, 0, 0.1); /* 18px */
}/*--------------------------------------------------------------
# Navigation Menu
# This section styles the mobile nav toggle icon, the slide-in mobile nav panel,
# dropdown behavior, and visual feedback for hover/active states.
--------------------------------------------------------------*/

/* Mobile navigation toggle (hamburger icon in top right corner) */
.mobile-nav-toggle {
  color: var(--nav-color);                       /* Inherit nav color from variable */
  position: fixed;                               /* Sticks to viewport corner */
  top: 1.25rem;                                   /* 20px → distance from top */
  right: 1.25rem;                                 /* 20px → distance from right */
  font-size: 2rem;                                /* 32px → icon size */
  line-height: 0;                                 /* Prevent vertical spacing */
  cursor: pointer;                                /* Show pointer cursor */
  display: block !important;                     /* Ensures always visible */
  z-index: 998;                                   /* Above navmenu, below modal */
  transition: 0.3s;                               /* Smooth hover transition */
}

.mobile-nav-toggle:hover {
  color: var(--nav-hover-color);                 /* Accent color on hover */
}

/* Slide-in nav panel from the right (initially off-screen) */
.navmenu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -18.75rem;                               /* 300px off-screen to right */
  z-index: 997;
  transition: 0.3s;
  width: 18.75rem;                                /* 300px wide */
  overflow: hidden;
  background-color: var(--nav-mobile-background-color);
}

/* Unordered list inside navmenu (main vertical menu stack) */
.navmenu ul {
  display: block;
  list-style: none;
  padding: 0.625rem 0;                            /* 10px top/bottom padding */
  margin: 0;
  overflow-y: auto;
  transition: 0.3s;
  z-index: 998;
}

/* Links inside the menu (including active/focused states) */
.navmenu a,
.navmenu a:focus {
  color: var(--nav-dropdown-color);
  padding: 0.625rem 1.25rem;                      /* 10px vertical, 20px horizontal */
  font-family: var(--nav-font);
  font-size: 1.0625rem;                           /* 17px → comfortable touch size */
  font-weight: 500;
  display: flex;                                  /* Align icon + label in row */
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;                            /* Prevent wrap in nav items */
  transition: 0.3s;
}

/* Icons (chevrons, arrows) beside nav links */
.navmenu a i,
.navmenu a:focus i {
  font-size: 0.75rem;                             /* 12px */
  line-height: 0;
  margin-left: 0.3125rem;                         /* 5px → spacing from text */
  width: 1.875rem;                                /* 30px square container */
  height: 1.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

/* Icon hover/focus effect — highlights the circle */
.navmenu a i:hover,
.navmenu a:focus i:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

/* Active and hovered nav links — text highlight */
.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-dropdown-hover-color);
}

/* Active icon — rotates arrow and highlights */
.navmenu .active i,
.navmenu .active:focus i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);                      /* Chevron rotates downward */
}

/* Dropdown menus within the nav — hidden by default */
.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 0.625rem 0;                            /* 10px vertical padding */
  margin: 0.625rem 1.25rem;                       /* 10px top/bottom, 20px sides */
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

/* Active dropdown — shown when triggered */
.navmenu .dropdown > .dropdown-active {
  display: block;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--nav-dropdown-color), transparent 90%);
}

/* Page body overflow lock when nav is active */
.mobile-nav-active {
  overflow: hidden;
}

/* When nav is open — icon shifts and resizes */
.mobile-nav-active .mobile-nav-toggle {
  right: 19.375rem;                               /* 310px — accounts for menu width + spacing */
  font-size: 2.25rem;                             /* 36px */
}

/* When nav is open — menu slides in */
.mobile-nav-active .navmenu {
  position: fixed;
  overflow: hidden;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: var(--nav-mobile-background-color);
  transition: 0.3s;
}
/*--------------------------------------------------------------
# Global Footer
# Defines footer layout, typography, spacing, social icons, and attribution styles.
# All pixel values have been converted to rem for scalability.
--------------------------------------------------------------*/

.footer {
  color: var(--default-color);                         /* Standard body text color */
  background-color: var(--background-color);           /* Global background tone */
  font-size: 0.875rem;                                 /* 14px → base footer text */
  text-align: center;
  padding: 1.875rem 0;                                 /* 30px top & bottom spacing */
  position: relative;                                  /* Needed for future absolute elements */
}

/* Footer headline (e.g., 'Stay Connected') */
.footer h3 {
  font-size: 1.75rem;                                  /* 28px */
  font-weight: 500;
  position: relative;
  padding: 0;
  margin: 0 0 0.9375rem 0;                             /* 15px bottom */
}

/* Subhead or paragraph inside the footer */
.footer p {
  font-size: 0.9375rem;                                /* 15px */
  font-style: italic;
  padding: 0;
  margin: 0 0 1.875rem 0;                              /* 30px bottom spacing */
}

/* Social icons row container */
.footer .social-links {
  margin: 0 0 1.875rem 0;                              /* 30px bottom spacing */
}

/* Individual social icon button/link */
.footer .social-links a {
  font-size: 1rem;                                     /* 16px icon inside */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);                     /* Uses your brand accent */
  color: var(--contrast-color);                        /* Usually white on accent */
  line-height: 1;
  margin: 0 0.25rem;                                   /* 4px spacing between icons */
  border-radius: 50%;                                  /* Makes icon background circular */
  text-align: center;
  width: 2.25rem;                                       /* 36px */
  height: 2.25rem;                                      /* 36px */
  transition: 0.3s;                                    /* Smooth hover feedback */
}

/* Hover style for social icons */
.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

/* Copyright section (usually at bottom) */
.footer .copyright {
  padding-top: 1.5625rem;                              /* 25px spacing above */
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

/* Developer/agency credit below copyright */
.footer .credits {
  font-size: 0.8125rem;                                /* 13px */
  padding-top: 0.3125rem;                              /* 5px */
}/*--------------------------------------------------------------
# Preloader
# Covers the screen with a background and displays a loading spinner
--------------------------------------------------------------*/

#preloader {
  position: fixed;
  inset: 0;                                            /* shorthand for top/right/bottom/left: 0 */
  z-index: 999999;                                     /* ensures it's above everything */
  overflow: hidden;
  background: var(--background-color);                 /* usually a neutral or brand tone */
  transition: all 0.6s ease-out;                       /* fades out on page load */
}

/* Spinner pseudo-element centered in viewport */
#preloader:before {
  content: "";
  position: fixed;

  /* Critical centering math — 60px / 2 = 30px */
  /* Must remain exact or spinner will shift off center */
  top: calc(50% - 1.875rem);                           /* 30px */
  left: calc(50% - 1.875rem);                          /* 30px */

  width: 3.75rem;                                      /* 60px spinner */
  height: 3.75rem;

  border: 0.375rem solid #ffffff;                      /* 6px full border */
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;                                  /* makes it circular */
  
  animation: animate-preloader 1.5s linear infinite;   /* infinite spinning */
}

/* Keyframes — simple full rotation */
@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/*--------------------------------------------------------------
# Scroll Top Button
# Appears when user scrolls down, floats bottom-right corner
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 0.9375rem;                /* 15px */
  bottom: -0.9375rem;              /* -15px → hidden off-screen initially */
  z-index: 99999;

  background-color: var(--accent-color);
  width: 2.75rem;                  /* 44px → circle button */
  height: 2.75rem;
  border-radius: 3.125rem;         /* 50px → very rounded for circular look */
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 1.5rem;               /* 24px icon */
  color: var(--contrast-color);
  line-height: 0;                  /* prevent vertical space below icon */
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 0.9375rem;              /* 15px visible above bottom */
}


/*--------------------------------------------------------------
# Disable AOS delay on mobile (performance fallback)
--------------------------------------------------------------*/
@media screen and (max-width: 48rem) { /* 768px */
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}


/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
# Styles large top-of-page section with breadcrumb navigation
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 5rem 0;                 /* 80px vertical spacing */
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 2.375rem;             /* 38px → heading scale */
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 1.25rem 0;              /* 20px vertical padding */
}

/* Breadcrumb list */
.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 1rem;                 /* 16px standard text */
  font-weight: 600;
}

/* Space between breadcrumb items */
.page-title nav ol li + li {
  padding-left: 0.625rem;          /* 10px */
}

/* Divider slash between items */
.page-title nav ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 0.625rem;         /* 10px */
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Section Titles – Scalable System
Applies to:
- Homepage sections
- Book format tiles
- Testimonials blocks
- About/Contact sections
--------------------------------------------------------------*/

.section-title {
  text-align: center;
  padding-bottom: var(--space-title-gap); /* Default gap: 3rem */
  position: relative;

  /* Optional max-width for readability on wide screens */
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  /*
  Responsive heading using clamp:
  - Min size: 1.75rem (28px)
  - Ideal: 5vw
  - Max: 2.25rem (36px)
  */
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.9375rem; /* 15px */

  /* Optional letter-spacing to add modernity */
  letter-spacing: 0.01em;
}

.section-title p {
  font-size: 1.125rem;         /* 18px */
  line-height: 1.6;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}


/*--------------------------------------------------------------
# Franchise Hub Hero Section
--------------------------------------------------------------*/
.franchise-hub-hero {
  padding-top: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 96%) 0%, var(--background-color) 40%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  padding-bottom: 60px;
}

.franchise-hub-hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 85%) 0%, transparent 70%);
  border-radius: 50%;
  top: -20%;
  right: -10%;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.franchise-hub-hero::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border-radius: 50%;
  bottom: 10%;
  left: 5%;
  filter: blur(40px);
  animation: float 4s ease-in-out infinite reverse;
  z-index: 1;
}

.franchise-hub-hero .hero-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}




.franchise-hub-hero .hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--heading-color);
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -0.02em;
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .franchise-hub-hero .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .franchise-hub-hero .hero-title {
    font-size: 25px !important;
  }
}

.franchise-hub-hero .hero-title .typed {
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #8b5cf6 50%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.franchise-hub-hero .hero-title .typed::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #8b5cf6 50%) 100%);
  border-radius: 2px;
}

.franchise-hub-hero .hero-description {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.franchise-hub-hero .hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.franchise-hub-hero .hero-actions .action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.franchise-hub-hero .hero-actions .action-btn.primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}

.franchise-hub-hero .hero-actions .action-btn.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), #8b5cf6 30%) 0%, var(--accent-color) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.franchise-hub-hero .hero-actions .action-btn.primary span,
.franchise-hub-hero .hero-actions .action-btn.primary i {
  position: relative;
  z-index: 1;
}

.franchise-hub-hero .hero-actions .action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.franchise-hub-hero .hero-actions .action-btn.primary:hover::before {
  opacity: 1;
}

.franchise-hub-hero .hero-actions .action-btn.secondary {
  background: transparent;
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.franchise-hub-hero .hero-actions .action-btn.secondary:hover {
  background: var(--surface-color);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 90%);
}

.franchise-hub-hero .hero-image-showcase {
  position: relative;
}

.franchise-hub-hero .hero-image-showcase .image-wrapper {
  position: relative;
  background: var(--surface-color);
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.franchise-hub-hero .hero-image-showcase .image-wrapper img {
  border-radius: 15px;
  width: 100%;
  height: auto;
}

.franchise-hub-hero .hero-image-showcase .floating-card {
  position: absolute;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 85%);
  backdrop-filter: blur(10px);
}

.franchise-hub-hero .hero-image-showcase .floating-card.card-1 {
  top: 20%;
  left: -60px;
  animation: float 3s ease-in-out infinite;
}

.franchise-hub-hero .hero-image-showcase .floating-card.card-2 {
  bottom: 15%;
  right: -60px;
  animation: float 3s ease-in-out infinite reverse;
}

.franchise-hub-hero .hero-image-showcase .floating-card .card-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.franchise-hub-hero .hero-image-showcase .floating-card .card-content .card-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.franchise-hub-hero .hero-image-showcase .floating-card .card-content .card-icon i {
  color: var(--accent-color);
  font-size: 20px;
}

.franchise-hub-hero .hero-image-showcase .floating-card .card-content .card-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1;
}

.franchise-hub-hero .hero-image-showcase .floating-card .card-content .card-info p {
  margin: 5px 0 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .franchise-hub-hero {
    min-height: auto;
  }

  .franchise-hub-hero .floating-card.card-1 {
    left: -30px;
    top: 10%;
  }

  .franchise-hub-hero .floating-card.card-2 {
    right: -30px;
    bottom: 10%;
  }

  .franchise-hub-hero .hero-actions {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .franchise-hub-hero .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .franchise-hub-hero .hero-actions .action-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .franchise-hub-hero .floating-card {
    display: none;
  }
}





/* 💓 Keyframes for softer pulsing */
@keyframes gentlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.015); /* smaller scale */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* gentler shadow */
  }
}

/* 🌀 Gentle pulse animation (slightly more pronounced) */
@keyframes gentlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
  }
}
/* 🎯 Target book cover image inside floating card */
.floating-card img {
  animation: gentlePulse 6.5s ease-in-out infinite !important;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  cursor: pointer !important;
  will-change: transform, box-shadow !important;
}

/* ✨ On hover: slow, gentle lift and glow */
.floating-card img:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}



/* Make the parent a positioning context */
.position-wrapper {
  position: relative;
}

/* Style and position the "Learn More" tag */
.learn-more-tag {
  position: absolute;
  top: 102%;         /* higher = smaller %; tweak to fine-tune vertical placement */
  right: -25;         /* 0 = aligned to right edge of image container */
  transform: translateY(-50%) translateX(20%); /* small lift and nudge */
  
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #f4f4f4;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  z-index: 1;
}

.learn-more-tag:hover {
  background-color: #e0e0e0;
  color: #000;
  cursor: pointer;
}




@media (max-width: 576px) {
  .franchise-hub-hero {
    padding: 100px 0 30px;
  }

  .franchise-hub-hero .hero-badge {
    margin-bottom: 20px;
  }

  .franchise-hub-hero .hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .franchise-hub-hero .hero-actions {
    margin-bottom: 30px;
  }
}


#franchise-hub-hero {
  padding-top: 2.5rem !important;
  margin-top: 0 !important;
}

.hero-actions.unified-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-actions.unified-buttons .action-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.hero-actions.unified-buttons .action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.franchise-hub-hero-main-content .hero-title {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 2.2rem;
  letter-spacing: 0.5px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--heading-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* optional, noir glow */
}

.franchise-hub-hero-main-content .hero-description {
  font-family: var(--nav-font); /* Cutive Mono */
  font-size: 1.4rem;
  line-height: 1.9;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 720px;
  margin: 1.75rem auto 2.25rem auto;
  text-align: center;
} 

@media (max-width: 768px) {
  .franchise-hub-hero-main-content .hero-title {
    font-size: 2.4rem;
    line-height: 1.3;
    letter-spacing: 0.4px;
  }

  .franchise-hub-hero-main-content .hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 1.5rem auto 2rem auto;
    padding: 0 1.25rem;
  }
}

.hero-title .typed::after {
  content: none !important;
}

.hero-title .typed {
  min-width: 20ch;     /* Reserve space for up to 20 characters */
  min-height: 3;  /* Or match the current font-size */
  display: inline-block;
}

.hero-title .typed {
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .hero-title .typed {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title .typed {
    font-size: 1rem;
  }
}


.stamp-label {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  color: #ffffff; /* white ink */
  font-family: 'Special Elite', 'Courier New', Courier, monospace;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 3px solid #ffffff; /* white ink border */
  border-radius: 6px;
  transform: rotate(-3deg);
  opacity: 0.93;
  position: relative;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  background-color: transparent; /* no paper look */
   overflow: visible;
  position: relative;

  /* Slight ink smudge effect */
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.15),
    -1px -1px 0 rgba(255, 255, 255, 0.1),
    0 0 2px rgba(255, 255, 255, 0.2);

  /* Border and bleed effects */
  box-shadow:
    1px 2px 0 rgba(255,255,255,0.15),
    0 0 0 1px rgba(255,255,255,0.1),
    0 0 2px rgba(255,255,255,0.25),
    -1px -1px 0 rgba(255,255,255,0.08);

  /* Subtle softening for "ink on paper" illusion */
  filter: contrast(1.1) brightness(0.97);


 }
}

@media screen and (max-width: 480px) {
  .mobile-hide {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

@media screen and (max-width: 780px) {
  .mobile-hide[data-aos] {
    display: none !important;
    animation: none !important;
    transition: none !important;
  }
}


@media screen and (min-width: 992px) {
  .hero-actions.unified-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;      /* center the stack */
    gap: 1.2rem;              /* spacing between buttons */
  }

  .hero-actions.unified-buttons .action-btn {
    width: 100%;
    max-width: 350px;         /* keeps buttons consistent but not oversized */
    text-align: center;
    padding: 1rem 1.5rem;     /* stronger tap target */
    font-size: 1.1rem;        /* optional: slightly bolder CTA look */
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* subtle CTA depth */
  }
}

/* Speckled ink texture overlay */
.stamp-label::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    repeating-radial-gradient(circle at 0 0, rgba(255,255,255,0.03) 0, transparent 2px),
    repeating-radial-gradient(circle at 100% 100%, rgba(255,255,255,0.025) 0, transparent 2px);
  mix-blend-mode: screen;
  z-index: 2;
}



.action-btn.primary {
  position: relative !important;
  background: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  font-family: var(--display-font) !important;
  font-weight: 700 !important;
  font-size: 1.2em !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 1rem 1rem !important;
  border-radius: 40px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important; /* ⬅️ Whitish border for 3D effect */
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow:
    0 0 0px rgba(246, 99, 86, 0.7),
    inset 0 0 0 rgba(0,0,0,0) !important;
  transition: all 0.15s ease-in-out, box-shadow 0.3s ease !important;
  z-index: 1 !important;
}

/* Continuous background pulse */
.action-btn.primary::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 100% !important;
  height: 100% !important;
  background: var(--glow-highlight) !important;
  opacity: 0.1 !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%) !important;
  animation: pulse-button 2.5s ease-out infinite !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.action-btn.primary:hover {
  box-shadow:
    0 0 15px var(--glow-highlight),
    0 0 5px var(--glow-highlight),
    inset 0 0 10px rgba(255,255,255,0.1) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

.action-btn.primary:active {
  transform: translateY(2px) scale(0.98) !important;
  box-shadow:
    0 0 5px var(--glow-highlight),
    inset 0 2px 4px rgba(0,0,0,0.5) !important;
}

/* Pulse animation keyframes */
@keyframes pulse-button {
  0% { opacity: 0.2 !important; transform: translate(-50%, -50%) scale(0.9) !important; }
  70% { opacity: 0 !important; transform: translate(-50%, -50%) scale(1.6) !important; }
  100% { opacity: 0 !important; transform: translate(-50%, -50%) scale(1.6) !important; }
}


  @media (max-width: 600px) {
  .action-btn.primary {
    font-size: .9rem !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 28px !important;
    gap: 0.4rem !important;
  }
}
/*--------------------------------------------------------------
# Hero Section
# Covers top section with book title, subtitle, CTA buttons, and image
--------------------------------------------------------------*/

.hero {
  /* Padding top: 120px → 7.5rem | bottom: 80px → 5rem */
  padding: 7.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* 🔧 Balanced vertical spacing for hero section */
#hero.hero.section {
  margin-top: 2.5rem !important;   /* was too tight at 0, now gently spaced */
  margin-bottom: 2.5rem !important;
  padding-top: 1rem !important;    /* subtle lift for overlay content */
  padding-bottom: 1rem !important;
}

@media (max-width: 768px) {
  #hero.hero.section {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
}

/*----------------------------
# Genre Label (e.g., "Spy Thriller")
----------------------------*/
.hero .book-hero-content .book-genre {
  display: inline-block;

  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);

  font-weight: 500;
  font-size: 0.875rem;        /* 14px */
  padding: 0.375rem 0.875rem; /* 6px 14px */
  border-radius: 1.875rem;    /* pill shape: 30px */
  margin-bottom: 1.5rem;      /* 24px */
}

/*----------------------------
# Book Title – Main H1
----------------------------*/
.hero .book-hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem); /* 40–48px responsive */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem; /* 16px */
  color: var(--heading-color);
}

/*----------------------------
# Subtitle – brief descriptor under title
----------------------------*/
.hero .book-hero-content .book-subtitle {
  font-size: clamp(1.25rem, 2.8vw, 1.8rem); /* ~20–24px */
  line-height: 1.6; /* more vertical breathing space */
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  margin-bottom: 2rem; /* extra spacing under subtitle */
  font-weight: 500;
  letter-spacing: 0.02em; /* slight spacing between letters for readability */
}
/*----------------------------
# Author Info (e.g. "By A.R. Goldsmith")
----------------------------*/
.hero .book-hero-content .author {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* 8px */
  margin-bottom: 1.5rem;
}

.hero .book-hero-content .author span {
  font-size: 1.7rem; /* 16px */
  color: var(--default-color);
}

.hero .book-hero-content .author h3 {
  font-size: 1.7rem; /* 18px */
  font-weight: 600;
  margin: 0;
  color: var(--heading-color);
}

/*----------------------------
# Book Description Paragraph
----------------------------*/
.hero .book-hero-content .book-description {
  font-family: var(--display-font), 'Special Elite', 'Cutive Mono', monospace !important;
  font-size: 1.3rem;        /* 16px */
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 2rem;
}

/*----------------------------
# Call-to-Action Buttons (Primary / Outline)
----------------------------*/
.hero .book-hero-content .hero-cta {
  display: flex;
  gap: 1rem;              /* 16px */
  flex-wrap: wrap;
}

.hero .book-hero-content .hero-cta .btn-primary,
.hero .book-hero-content .hero-cta .btn-outline {
  padding: 0.75rem 1.875rem;  /* 12px 30px */
  border-radius: 3.125rem;    /* 50px pill */
  font-weight: 500;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.hero .book-hero-content .hero-cta .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.hero .book-hero-content .hero-cta .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

.hero .book-hero-content .hero-cta .btn-outline {
  border: 0.125rem solid var(--accent-color); /* 2px */
  color: var(--accent-color);
}

.hero .book-hero-content .hero-cta .btn-outline:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  transform: translateY(-3px);
}

/*----------------------------
# Book Cover Image with Always-Elevated Look + 70s Style Enhancements
----------------------------*/
.hero .book-cover {
  max-width: 20rem;
  position: relative;
  transform: translateY( 1rem); /* Moves 8px downward */
  filter: brightness(1.05) contrast(1.02);
}
/* Shadow Under Book */
.hero .book-cover .book-shadow {
  position: absolute;
  bottom: -1.25rem;   /* 20px */
  left: 10%;
  width: 80%;
  height: 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  filter: blur(15px);
  border-radius: 50%;
  z-index: -1;
}

/* Optional: Add 70s glow via pseudo-element */
.hero .book-cover::before {
  content: "";
  position: absolute;
  inset: -1rem;
  background: radial-gradient(
    circle at 60% 40%,
    var(--glow-highlight) 0%,
    transparent 60%
  );
  opacity: 0.08; /* Subtle overlay */
  pointer-events: none;
  z-index: -2;
}


/*----------------------------
# Responsive Layout Adjustments
----------------------------*/
@media (max-width: 992px) {
  .hero {
    padding: 6.25rem 0 3.75rem; /* 100px 60px */
  }

  .hero .book-cover {
    margin-top: 2.5rem; /* 40px */
    transform: rotate(0);
  }

  .hero .book-cover:hover {
    transform: translateY(-0.625rem);
  }
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
    padding: 5rem 0 2.5rem; /* 80px 40px */
  }

  .hero .book-hero-content .author,
  .hero .book-hero-content .hero-cta {
    justify-content: center;
  }

  .hero .book-cover {
    margin: 2.5rem auto 0; /* 40px */
  }
}

.intel-label-stamp {
  position: absolute;
  bottom: -1.5rem;
  right: .5rem;                   /* ⬅️ Pull inward from the edge */
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  color: var(--agent-beige);
  background-color: transparent;
  padding: 0.25rem 0.5rem;
  letter-spacing: 0.1em;
  border-left: 3px solid var(--accent-color);
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
  transform: translateY(5px);
}




.intel-label-stamp {
  bottom: 0 !important;
  transform: translateY(-2.3rem); /* or -1rem for a stronger lift */
}

.intel-label-stamp {
  right: auto !important;
  left: 5rem !important;   /* move stamp in from the left edge */
}


.intel-label-stamp-dangerous {
  position: absolute;
  bottom: 0;
  left: 3rem;
  transform: translateY(1.3rem);  /* ⬇ Pushes it lower than NB2 */
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  color: var(--agent-beige);
  background-color: transparent;
  padding: 0.25rem 0.5rem;
  letter-spacing: 0.1em;
  border-left: 3px solid var(--accent-color);
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
}


.glass-overlay {
  background: rgba(28, 31, 50, 0.75); /* dark semi-transparent */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(12px) contrast(1.1);
  -webkit-backdrop-filter: blur(12px) contrast(1.1);
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  max-width: 42rem;
  margin: 0 auto;
  color: var(--default-color);
}

.glass-overlay::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at top left, rgba(255, 140, 80, 0.04), transparent 70%);
  animation: leakSweep 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

@keyframes leakSweep {
  0% {
    transform: translate(0, 0);
    opacity: 0.02;
  }
  100% {
    transform: translate(10%, 10%);
    opacity: 0.08;
  }
}

@media (max-width: 768px) {
  .glass-overlay {
    background: rgba(28, 31, 50, 0.45) !important; /* lighter background */
    backdrop-filter: blur(8px) contrast(1.05) !important;
    -webkit-backdrop-filter: blur(8px) contrast(1.05) !important;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25) !important;
  }
}


/*----------------------------
# ESPIONAGE UPDATES — Display Font + Contrast Fixes
----------------------------*/

/* Genre Tag: Looks like a typewritten label */
.hero .book-hero-content .book-genre {
  font-family: var(--display-font);
  background-color: var(--tape-yellow);
  color: #1a0f0b;
  letter-spacing: 0.03em;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Primary Button: No change needed for now */
.hero .book-hero-content .hero-cta .btn-primary {
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

/* Outline Button: Improved contrast + retro hover glow */
.hero .book-hero-content .hero-cta .btn-outline {
  font-family: var(--display-font);
  font-weight: 700;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  background-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: all 0.3s ease;
}

/* Hover effect: faint typewriter red glow */
.hero .book-hero-content .hero-cta .btn-outline:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--contrast-color);
  box-shadow: 0 0 0.5rem var(--glow-highlight);
  transform: translateY(-3px);
}

.hero .book-hero-content .hero-cta .btn-outline {
  border: 0.125rem solid var(--accent-color);
  color: var(--accent-soft); /* Lighter red for visibility */
  font-family: var(--display-font); /* ensures consistent style */
}

.hero .book-hero-content .hero-cta .btn-outline:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--contrast-color); /* turns white on hover */
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Hero Background Video Styling
--------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--background-color); /* fallback for no video */
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45; /* was 0.2 — allows more video to show */
  filter: grayscale(0.1) contrast(1.05) brightness(1.1); /* brighter, less gray */
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

/*--------------------------------------------------------------
# Static Image on Mobile (Overrides Background Video)
--------------------------------------------------------------*/

/* Hide image on desktop */
.hero-bg-image-mobile {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Show static image on mobile, hide video */
@media (max-width: 768px) {
  .hero-bg-image-mobile {
    display: block !important;
  }

  .hero-bg-video {
    display: none !important;
  }
}


/*--------------------------------------------------------------
# Responsive Visibility Logic for Hero Text & Book Cover
--------------------------------------------------------------*/

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  /* Hide book cover on mobile */
  .book-cover-wrapper {
    display: none !important;
  }
}


/* 📚 Book Cover: Pull closer to text content */
@media (min-width: 1200px) {
  .hero .book-cover-wrapper {
    margin-left: -10rem !important;   /* negative pulls closer to overlay */
  }

  .hero .book-cover {
    max-width: 21rem !important;
    transform: translateX(0rem) translateY(1rem) !important; /* no extra push right */
  }
}

/* 🎯 Row alignment: keep top-aligned and slightly lifted */
.hero .row.align-items-center {
  align-items: flex-start !important;
  margin-top: 1.5rem !important;
}


/* 🖥️ Large desktops (≥1200px) */
@media (min-width: 1200px) {
  .hero .col-lg-7 {
    margin-left: -20rem !important;
  }
}


.delayed-fade {
  opacity: 0;
  transition: opacity 1.5s ease-in;
  pointer-events: none;
}

.delayed-fade.visible {
  opacity: 1;
  pointer-events: auto;
}

/*--------------------------------------------------------------
# About Section - Flag Background
--------------------------------------------------------------*/
.about-flag-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.about-flag-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.07; /* Very subtle */
  filter: contrast(1.2) brightness(1.1);
}

/* Flag stays behind all about content */
#about {
  position: relative;
  z-index: 1;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# About Section - Fade Overlay from Background Color
--------------------------------------------------------------*/
.about-gradient-overlay {
  position: relative;
  z-index: 1; /* ensures it's above video, but below content */
}

/* Top fade */
.about-gradient-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(
    to bottom,
    var(--background-color) 0%,
    rgba(28, 31, 50, 0.5) 25%,
    rgba(28, 31, 50, 0.2) 60%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* Bottom fade */
.about-gradient-overlay::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(
    to top,
    var(--background-color) 0%,
    rgba(28, 31, 50, 0.5) 25%,
    rgba(28, 31, 50, 0.2) 60%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.about-gradient-overlay.scrolled::before,
.about-gradient-overlay.scrolled::after {
  opacity: 1;
}

.about-gradient-overlay::before,
.about-gradient-overlay::after {
  opacity: 0.85;
}


.about {
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}

@media (max-width: 768px) {
  .about-gradient-overlay::after {
    content: none !important;
    display: none !important;
  }
}

/* ==== IMAGE SIDE ==== */
.about .about-book-img {
  position: relative;
  border-radius: 0.625rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.about .about-book-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about .about-book-img .book-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  backdrop-filter: blur(10px);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9375rem;
}

.about .about-book-img .book-details .detail-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.about .about-book-img .book-details .detail-item i {
  font-size: 1.25rem;
  color: var(--accent-color);
}

.about .about-book-img .book-details .detail-item div {
  display: flex;
  flex-direction: column;
}

.about .about-book-img .book-details .detail-item div span {
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0.125rem;
}

.about .about-book-img .book-details .detail-item div p {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
  color: var(--heading-color);
}

.about .about-book-img:hover {
  transform: translateY(-0.625rem);
}

/* ==== CONTENT SIDE ==== */
.about .about-book-content {
  position: relative;
  background-color: transparent; /* Removes gray tint */
  padding: 2rem;
  border-radius: 1rem;
  z-index: 2;
  box-shadow: none; /* Optional: remove shadow if not needed */
  color: var(--heading-color);
}
.about .about-book-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .about .about-book-content h2 {
    font-size: 1.75rem;   /* approx 28px */
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }
}

.about .about-book-content .book-category {
  display: flex;
  gap: 0.9375rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.about .about-book-content .book-category span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;

  background-color: var(--tape-yellow);
  color: #2a1d16; /* warm spy-era brown */
  font-size: 0.75rem;         /* 12px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-family: var(--display-font, 'Courier New', monospace);

  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
}
/* Highlights */
.about .about-book-content .highlights {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.about .about-book-content .highlights h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about .about-book-content .highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about .about-book-content .highlights ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.about .about-book-content .highlights ul li i {
  color: var(--accent-color);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.about .about-book-content .highlights ul li span {
  color: var(--heading-color);
  line-height: 1.5;
}

.about .about-book-content p {
  font-size: 1.1rem;            /* ~17.6px for better legibility */
  line-height: 1.8;             /* Spaced for calm reading */
  margin-bottom: 1.2rem;        /* Breathing space between paragraphs */
  font-weight: 400;
  letter-spacing: 0.01em;
}

.about .about-book-content .highlights ul li span {
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
}

/*--------------------------------------------------------------
# About CTA Button with Pulse and Breathing Animation
--------------------------------------------------------------*/
.about .about-book-content .about-book-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;

  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  border-radius: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);

  position: relative;
  cursor: pointer;
  z-index: 1;

  box-shadow:
    0 0 0 rgba(246, 99, 86, 0.7),
    inset 0 0 0 rgba(0, 0, 0, 0);

  transition: all 0.2s ease-in-out, box-shadow 0.3s ease;

  /* 🔁 Continuous subtle pulse scale */
  animation: button-breathe 3.5s ease-in-out infinite;
}

/* Glowing Pulse Background */
.about .about-book-content .about-book-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  background: var(--glow-highlight);
  opacity: 0.08;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-button 2.5s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Hover Effects */
.about .about-book-content .about-book-cta:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 0 12px var(--glow-highlight),
    0 0 4px var(--glow-highlight),
    inset 0 0 8px rgba(255, 255, 255, 0.1);
}

.about .about-book-content .about-book-cta:hover i {
  transform: translateX(5px);
}

/* Active Tap Effect */
.about .about-book-content .about-book-cta:active {
  transform: translateY(2px) scale(0.98);
  box-shadow:
    0 0 4px var(--glow-highlight),
    inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Icon Transition */
.about .about-book-content .about-book-cta i {
  transition: transform 0.3s ease;
  z-index: 1;
}

/* Pulse Animation Keyframes */
@keyframes pulse-button {
  0%   { opacity: 0.2; transform: translate(-50%, -50%) scale(0.9); }
  70%  { opacity: 0;   transform: translate(-50%, -50%) scale(1.5); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(1.5); }
}

@media (max-width: 768px) {
  .about .about-book-content {
    text-align: center;
  }

  .about .about-book-content .about-book-cta {
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
    border-radius: 30px;
    letter-spacing: 0.02em;
    width: 100%;
    max-width: 300px;
    margin: 0.5rem auto;
    justify-content: center;
  }

  .about .about-book-content .about-book-cta::after {
    width: 120%;
    height: 120%;
    opacity: 0.06;
  }

  .about .about-book-content .about-book-cta i {
    font-size: 1rem;
  }
}


/* Responsive Tweaks */
@media (max-width: 992px) {
  .about .about-book-content h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .about .about-book-img {
    max-width: 28rem;
    margin: 0 auto;
  }

  .about .about-book-content {
    text-align: center;
    margin-top: 1.25rem;
  }

  .about .about-book-content .book-category {
    justify-content: center;
  }

  .about .about-book-content .highlights ul li {
    text-align: left;
  }
}

@media screen and (max-width: 768px) {
  .about-book-content {
    padding: 1rem 0.5rem !important;
  }
}
/*--------------------------------------------------------------
# Espionage Memo Blockquote Style
--------------------------------------------------------------*/
.espionage-quote {
  background: var(--agent-beige); /* aged paper effect */
  color: var(--background-color); /* dark navy text on light paper */
  padding: 1.75rem 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-left: 5px solid var(--accent-color);
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  line-height: 1.7;
  box-shadow: 0 0.75rem 1.25rem rgba(0, 0, 0, 0.25);
  transform: rotate(-0.5deg);
  position: relative;
  z-index: 1;
}

.espionage-quote::before {
  content: "OFFICIAL DEBRIEF";
  display: inline-block;
  background-color: var(--tape-yellow);
  color: var(--background-color);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  position: absolute;
  top: -1rem;
  left: 1rem;
  transform: rotate(-2deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.espionage-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--accent-color);
  text-align: right;
}


  @media (max-width: 768px) {
    .espionage-quote {
      margin-left: 0 !important;
      margin-right: 0 !important;
      border-left-width: 4px; /* optional: slightly thinner on small screens */
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }

    .espionage-quote::before {
      left: 0.75rem; /* nudge label inward to match new padding */
    }
  }



  @media (max-width: 768px) {
    .mobile-about-summary {
      font-size: 1.2rem;
      line-height: 1.8;
      font-weight: 400;
      text-align: left;
      padding: 0.5rem 0;
      max-width: 36rem;
      margin: 0 auto 2rem auto;
      color: var(--default-color);
    }
  }
@media (max-width: 768px) {
  .espionage-quote {
    margin-left: -1rem !important;   /* Pulls it to edge */
    margin-right: -1rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    border-left-width: 4px !important;
    box-sizing: border-box !important;
  }

  .espionage-quote::before {
    left: 1rem !important;
  }

  /* Add breathing room for button below */
  .espionage-quote + .hero-cta,
  .espionage-quote + .purchase-cta {
    margin-top: 2rem !important;
  }
}

@media (max-width: 768px) {
  .highlights {
    display: none !important;
  }
}


/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
  padding: 80px 0;
  overflow: hidden;
}

.features .feature-card {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.features .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 40px;
  background-color: var(--accent-color);
  transition: height 0.3s ease;
}

.features .feature-card .feature-icon {
  margin-bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.features .feature-card .feature-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.features .feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.features .feature-card p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

.features .feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.features .feature-card:hover::before {
  height: 70px;
}

.features .feature-chapters {
  margin-top: 50px;
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.features .feature-chapters h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.features .feature-chapters h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: var(--accent-color);
}

.features .feature-chapters .chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}

@media (max-width: 768px) {
  .features .feature-chapters .chapters-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

.features .feature-chapters .chapters-grid .chapter-item {
  text-align: left;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: color-mix(in srgb, var(--background-color), transparent 5%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.features .feature-chapters .chapters-grid .chapter-item .chapter-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin-bottom: 10px;
}

.features .feature-chapters .chapters-grid .chapter-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.features .feature-chapters .chapters-grid .chapter-item p {
  font-size: 14px;
  color: var(--default-color);
  margin-bottom: 0;
}

.features .feature-chapters .chapters-grid .chapter-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

@media (max-width: 992px) {
  .features .section-intro h2 {
    font-size: 28px;
  }

  .features .feature-chapters {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .features .section-intro h2 {
    font-size: 24px;
  }

  .features .feature-card {
    padding: 25px;
  }

  .features .feature-card .feature-icon {
    width: 50px;
    height: 50px;
  }

  .features .feature-card .feature-icon i {
    font-size: 20px;
  }

  .features .feature-card h3 {
    font-size: 18px;
  }

  .features .feature-chapters {
    padding: 25px;
  }

  .features .feature-chapters h3 {
    font-size: 22px;
  }
}



/*--------------------------------------------------------------
# Excerpt Section – Cleaned & Typography Improved
--------------------------------------------------------------*/
.section-subtitle {
  font-family: "Zilla Slab", "Roboto Slab", Georgia, serif !important;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--heading-color, #1f1a10);
  margin-bottom: 0.5rem;
  text-align: center;
}


section .section-intro,
.section-title .section-intro,
p.section-intro {
  font-family: var(--default-font, "IBM Plex Serif", Georgia, serif) !important;
  font-size: 1.3em !important;
  color: darkgray !important; /* light warm tone for dark backgrounds */
  text-align: center !important;
  max-width: 620px !important;
  margin: 0 auto 2rem auto !important;
  line-height: 1.6 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55) !important;
  font-style: normal !important;
}


/*--------------------------------------------------------------
🌓 Light Background Variant – Section Intro (Charcoal Text)
Scoped to .section-intro-light
--------------------------------------------------------------*/

p.section-intro-light {
  font-family: var(--default-font, "IBM Plex Serif", Georgia, serif) !important;
  font-size: 1.3em !important;
  color: #2b2b2b !important; /* Medium charcoal black */
  text-align: center !important;
  max-width: 620px !important;
  margin: 0 auto 2rem auto !important;
  line-height: 1.6 !important;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.4) !important; /* subtle lift on light bg */
  font-style: normal !important;
}

.excerpt {
  padding: 80px 0;
  background-color: var(--background-color);
  overflow: hidden;
}

.excerpt .book-excerpt-wrapper {
  position: relative;
}

.excerpt .book-page-design {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 48px;
  background-color: #fefdfb; /* subtly warmer than --surface-color */
  border-radius: 10px;
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.03),
    0 15px 35px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.excerpt .book-page-design::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 42px;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.05);
  z-index: 1;
  pointer-events: none;
}

.excerpt .book-page-design::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(ellipse at bottom right, rgba(0, 0, 0, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.excerpt .book-page-design .page-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 14px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .page-number {
    display: none !important;
  }
}

.excerpt .book-page-design .chapter-title {
  text-align: center;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 30px;
  position: relative;
}

.excerpt .book-page-design .chapter-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 30%);
}

.excerpt .book-page-design .excerpt-content {
  font-family: "Courier Prime", "Courier", monospace;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--default-color);
  margin-top: 1.5rem;

}
.excerpt .book-page-design .excerpt-content p {
  margin-bottom: 1.75rem;
  text-align: left;
}

.excerpt .book-page-design .excerpt-content .first-letter:first-letter {
  font-size: 3.25em;
  float: left;
  line-height: 0.85;
  margin-right: 12px;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 600;
}

.excerpt .book-page-design .excerpt-content .dialogue {
  padding-left: 20px;
  border-left: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  font-style: italic;
  color: var(--default-color);
}

.excerpt .book-page-design .page-decoration {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.excerpt .book-page-design .page-decoration:after {
  content: "✦";
  font-size: 18px;
  color: color-mix(in srgb, var(--accent-color), transparent 30%);
}

/* CTA */
.excerpt .cta-wrapper {
  margin-top: 30px;
}

.excerpt .cta-wrapper .btn-read-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background-color: var(--surface-color) !important;
  color: var(--accent-color) !important;
  padding: 12px 28px 16px !important; /* 👈 adds 4px bottom padding */
  border-radius: 50px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}


.btn-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  background-color: var(--surface-color);
  color: var(--accent-color);
  padding: 12px 28px 16px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--contrast-color);
}


.excerpt-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.excerpt-hidden.revealed {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.excerpt .cta-wrapper .btn-read-more i {
  transition: transform 0.3s ease;
}

.excerpt .cta-wrapper .btn-read-more:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.excerpt .cta-wrapper .btn-read-more:hover i {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
  .excerpt .section-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .excerpt {
    padding: 60px 0;
  }

  .excerpt .section-header h2 {
    font-size: 24px;
  }

  .excerpt .book-page-design {
    padding: 40px 28px;
  }

  .excerpt .book-page-design .chapter-title {
    font-size: 18px;
  }

  .excerpt .book-page-design .excerpt-content {
    font-size: 1rem;
    line-height: 1.8;
  }

  .excerpt .book-page-design .excerpt-content p {
    margin-bottom: 1.5rem;
  }

  .excerpt .book-page-design .excerpt-content .first-letter:first-letter {
    font-size: 3em;
  }
}

.excerpt .book-page-design .chapter-title,
.excerpt .section-title h2 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.excerpt .book-page-design .page-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  color: #fff; /* readable on dark red */
  background-color: var(--accent-color);
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.excerpt .book-page-design {
  border: 1px solid rgba(38, 35, 30, 0.15); /* soft ink brown border */
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.03),
    0 8px 20px rgba(0, 0, 0, 0.05);
}

.excerpt .book-page-design .chapter-title {
  font-family: 'Shrikhand', cursive; /* bold, groovy retro curves */
  font-size: 22px;
  letter-spacing: 0.03em;
  color: var(--heading-color);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.excerpt .book-page-design .excerpt-content .dialogue {
  padding-left: 20px;
  border-left: 2px dashed color-mix(in srgb, var(--accent-color), transparent 60%);
  font-style: normal;
  font-family: 'Special Elite', monospace;
  background-color: rgba(0, 0, 0, 0.025);
  padding: 10px 20px;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.excerpt .book-page-design .excerpt-content {
  font-family: 'Special Elite', monospace;
  font-size: 1.05rem;
  line-height: 2;
  letter-spacing: 0.01em;
  color: var(--default-color);
  margin-top: 1.5rem;
}

.excerpt .excerpt-content::after {
  content: "|";
  display: inline-block;
  animation: blink 1s steps(2, start) infinite;
  font-weight: 400;
  opacity: 0.6;
  margin-left: 6px;
  color: var(--accent-color);
}

@keyframes blink {
  to {
    opacity: 0;
  }
}


.excerpt .book-page-design .page-decoration:after {
  content: "CONFIDENTIAL RELEASED 1978";
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
  transform: rotate(-1deg);
}

.btn-read-more {
  display: inline-block;
  margin: 20px 10px 0;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 500;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  cursor: pointer;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-read-more:hover {
  background-color: var(--accent-soft);
}

.excerpt-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;

  /* FIX: Use strong contrast over dark background */
  background-color: var(--accent-color);
  color: var(--background-color); /* Assumes light background like paper */
  border: none;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-read-more:hover {
  background-color: color-mix(in srgb, var(--accent-color), white 20%);
  color: var(--background-color);
}



.section-subtitle {
  font-family: "Zilla Slab", "Roboto Slab", Georgia, serif !important;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--heading-color, #1f1a10);
  margin-bottom: 0.5rem;
  text-align: center;
}


/*--------------------------------------------------------------
# About Author Section
--------------------------------------------------------------*/
.about-author {
  padding: 80px 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .about-author {
    padding: 10px !important;
  }
}


.about-author .author-image {
  position: relative;
  margin-bottom: 30px;
}

.about-author .author-image img {
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.about-author .author-image .author-signature {
  position: absolute;
  bottom: -25px;
  right: 20px;
  background-color: var(--surface-color);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  width: 40%;
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.about-author .author-image .author-signature img {
  width: 100%;
  height: auto;
  box-shadow: none;
}

.about-author .author-image .author-signature:hover {
  transform: rotate(0deg);
}

@media (max-width: 992px) {
  .about-author .author-image {
    max-width: 450px;
    margin: 0 auto 30px;
  }
}

.about-author .author-info h2 {
  font-size: 16px;
  padding-left: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.about-author .author-info h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .about-author .author-info h3 {
    font-size: 30px;
  }
}

.about-author .author-info .author-credentials {
  display: inline-block;
  background-color: var(--tape-yellow); /* retro office-supply yellow */
  color: #1a1a1a; /* deep charcoal for high readability */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.9375rem; /* ~15px */
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;

  padding: 6px 14px;
  border-radius: 3px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
}

/* Hide mobile image on desktop */
.author-image-mobile {
  display: none;
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  /* Show mobile version */
  .author-image-mobile {
    display: block !important;
  }

  /* Hide desktop version on mobile */
  .about-author .col-lg-5 {
    display: none !important;
  }
}


.author-image-mobile {
  display: none;
  text-align: center;
  margin-bottom: 1.75rem;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .author-image-mobile {
    display: block !important;
    padding: 0 1rem;
    margin: 1.5rem auto 1rem auto;
    text-align: center;
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 100%
    );
    border-radius: 10px;
  }

  .author-image-mobile img {
    width: 80% !important;
    border: none !important;
    border-radius: 6px;
    box-shadow: 2px 6px 16px rgba(0, 0, 0, 0.25);
    filter: sepia(8%) contrast(1.05) brightness(0.98);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .author-image-mobile img:hover {
    transform: scale(1.03);
    box-shadow: 3px 8px 20px rgba(0, 0, 0, 0.35);
  }
}
.about-author .author-info .author-bio {
  margin-bottom: 30px;
}

.about-author .author-info .author-bio p {
  color: var(--default-color);
  font-family: "Zilla Slab", "Roboto Slab", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  margin-inline: 1rem;         /* adds gentle spacing left and right */
  text-wrap: pretty;
  text-align: left;
  max-width: 800px;
}

@media (max-width: 768px) {
  .about-author .author-info .author-bio p {
    font-size: 1.3rem;            /* 16px on mobile */
    line-height: 1.7;
    margin-bottom: 1rem;
    padding: 0 1rem;
    text-align: left;
  }
}

.about-author .author-info .author-bio p:last-child {
  margin-bottom: 0;
}

.about-author .author-info .author-awards {
  margin-bottom: 30px;
}

.about-author .author-info .author-awards h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.about-author .author-info .author-awards h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.about-author .author-info .author-awards ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-author .author-info .author-awards ul li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.about-author .author-info .author-awards ul li i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 10px;
  flex-shrink: 0;
}

.about-author .author-info .author-awards ul li span {
  color: var(--default-color);
  line-height: 1.4;
}

.about-author .author-info .author-social h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.about-author .author-info .author-social h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.about-author .author-info .author-social .social-links {
  display: flex;
  gap: 15px;
}

.about-author .author-info .author-social .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.about-author .author-info .author-social .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-5px);
}



.about-author .author-info .author-social .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(244, 99, 86, 0.15); /* faint orange base */
  color: var(--signal-orange);
  font-size: 18px;
  box-shadow: 0 0 0 transparent;
  transition: all 0.3s ease, box-shadow 0.4s ease;
}


.about-author .author-info .author-social .social-links {
  display: flex;
  gap: 15px;
  padding-bottom: 2rem; /* Adjust this value as needed */
}

.about-author .author-info .author-social .social-links a:hover {
  background-color: var(--signal-orange);
  color: var(--contrast-color);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 0 12px var(--signal-orange);
}

@keyframes iconPopFade {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


.about-author .author-info .author-social .social-links a {
  animation: iconPopFade 0.6s ease-out forwards;
  animation-delay: calc(var(--i) * 0.15s);
  opacity: 0;
}

@media (max-width: 992px) {
  .about-author .author-info {
    text-align: center;
  }

  .about-author .author-info h2,
  .about-author .author-info h3,
  .about-author .author-info .author-credentials {
    text-align: center;
  }

  .about-author .author-info .author-awards h4:after,
  .about-author .author-info .author-social h4:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-author .author-info .author-awards ul li {
    justify-content: center;
  }

  .about-author .author-info .author-social .social-links {
    justify-content: center;
  }
}


.author-info {
  position: relative;
  background: linear-gradient(to right, rgba(255, 247, 227, 0.05), transparent);
  padding-left: .1rem;

}

.case-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  font-weight: 600;
  background-color: color-mix(in srgb, var(--accent-color), transparent 80%);
  color: var(--heading-color);
  display: inline-block;
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-left: 4px solid var(--accent-color);
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.author-awards ul li i {
  font-family: "Bootstrap Icons";
  color: var(--accent-soft);
  font-size: 18px;
  margin-right: 10px;
}

.author-redacted-quote {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--default-color);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem .5rem;
  margin: 1rem 0;
  
  border-radius: 5px;
  position: relative;
}

.author-redacted-quote .redacted {
  background-color: var(--default-color);
  color: transparent;
  padding: 0 0.5ch;
  
  
}

/* 📝 Improved Typewriter Font Style */
.typewriter-text {
  font-family: 'Special Elite', 'IBM Plex Mono', monospace;
  font-size: 1.05rem;                     /* slightly larger text */
  line-height: 1.75;                      /* more breathing room */
  letter-spacing: 0.03em;                 /* improves legibility */
  word-spacing: 0.05em;
  color: #e9e9e9;                         /* soft off-white for dark background */
  text-shadow: 0 1px 1px rgba(0,0,0,0.6); /* improves contrast on dark background */
  max-width: 65ch;                        /* optimal line length for reading */
  margin: 0 auto;                         /* center block if needed */
  padding: 1rem 0.5rem;                   /* vertical rhythm */
}

.redacted {
  display: inline-block;
  border-radius: 1px;
  padding: 0 0.3em;
  letter-spacing: 0.12em;
  line-height: 1.75;
  vertical-align: baseline;

  white-space: normal;
  overflow-wrap: break-word;       /* ✅ allow wrap mid-word if needed */
  word-break: break-word;          /* ✅ enforce fit on small screens */
  max-width: 100%;
}

@media screen and (max-width: 600px) {
  .typewriter-text {
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem 1.25rem;
  }

  .redacted {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }
}

  @media (max-width: 768px) {
    .about-author .author-bio {
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    .about-author .author-bio p {
      font-size: 1.05rem !important;
      line-height: 1.7 !important;
      padding-left: 0.75rem !important;
      padding-right: 0.75rem !important;
    }

    /* Optional: remove default Bootstrap spacing if present */
    .about-author .container {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
  }

   @media (max-width: 768px) {
    .about-author .author-info h2 {
      font-size: 1.5rem !important;
      line-height: 1.2 !important;
      margin-top: .3rem !important;
      margin-bottom: 0.5rem !important;
      padding-top:  1rem !important;
    }

    .about-author .author-info .case-label {
      font-size: 1.25rem !important;
      line-height: 1.2 !important;
      margin-bottom: 0.4rem !important;
    }

    .about-author .author-info .author-credentials {
      font-size: .8rem !important;
      line-height: 1.4 !important;
      padding: 0.5rem .5rem !important;
    }
  }

.author-social {
  padding: 1rem 1rem;         /* top/bottom: 1.5rem, left/right: 1rem */
  margin-top: 2rem;             /* separates it from blocks above */
  background-color: transparent; /* optional, if you want a card-style look */
}
/* ========== Title Styling ========== */
.series-origin-title {
  font-size: clamp(2.8rem, 5vw, 2.2rem) !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  color: var(--accent-color, #f04a4a) !important;
  letter-spacing: 0.4px !important;
  text-align: center !important;
}

/* ========== Mobile Optimization ========== */
@media (max-width: 768px) {
  .series-origin-title {
    font-size: 2rem !important;
    margin-bottom: 1.25rem !important;
    letter-spacing: 0.25px !important;
  }

  .reveal-button {
    width: 100% !important;
    font-size: 1rem !important;
    padding: 0.6rem 1rem !important;
    margin-bottom: 1.25rem !important;
  }
}
/* ========== Mobile Optimization ========== */
@media (max-width: 768px) {
  .series-origin-title {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.25px;
  }

  .reveal-button {
    width: 100%;
    font-size: 1rem;
    padding: 0.6rem 1rem;
    margin-bottom: 1.25rem;
  }
}

/* ========== Redacted Span Effect with Hover Reveal ========== */
.author-redacted-quote .redacted {
  background-color: #000;
  color: transparent;
  border-radius: 2px;
  padding: 0 0.25em;
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

/* Reveal effect */
.author-redacted-quote .redacted:hover {
  color: #f8f8f8;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Optional: subtle underline to show interactivity */
.author-redacted-quote .redacted::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: #f8f8f8;
  opacity: 0.2;
  pointer-events: none;
}

/* Reveal redacted words on hover */
.author-redacted-quote .redacted {
  background-color: #000;
  color: transparent;
  border-radius: 2px;
  padding: 0 0.25em;
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

.author-redacted-quote .redacted:hover,
.author-redacted-quote.revealed .redacted {
  color: #f8f8f8;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Optional underline hint */
.author-redacted-quote .redacted::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: #f8f8f8;
  opacity: 0.2;
  pointer-events: none;
}

/* Reveal Button Style */
.reveal-button {
  background-color: transparent;
  border: 1px solid var(--accent-color, #f04a4a);
  color: var(--accent-color, #f04a4a);
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.reveal-button:hover {
  background-color: var(--accent-color, #f04a4a);
  color: #fff;
}
.series-origin-title {
  margin: 0;
  padding: 0;
  text-align: center;
}

.title-line-1,
.title-line-2 {
  display: block;
  line-height: 1.1;
}

.title-line-1 {
  font-size: 2.4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: whitesmoke;
  margin-bottom: 0.5rem;
  letter-spacing: 0.07rem;
  text-shadow: 0 3px 2px rgba(0, 0, 0, 0.4) !important;
  border-bottom: 2px solid #ff4d4d;
display: inline-block;
padding-bottom: 0.2rem;
}

.title-line-2 {
  font-size: 1.8rem;
  font-family: 'Special Elite', 'Courier New', Courier, monospace;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/*--------------------------------------------------------------
# Sign-Up Section
--------------------------------------------------------------*/
.sign-up {
  padding: 80px 0;
  overflow: hidden;
}

.sign-up .sign-up-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .sign-up .sign-up-info {
    margin-bottom: 40px;
  }
}

.sign-up-image-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 340px;
  margin: 1.5rem auto;
  border: 4px solid var(--agent-beige, #e9e3d0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  background-color: #1e1e1e;
  overflow: hidden;
}

.sign-up-image {
  width: 110%;
  height: auto;
  object-fit: cover;
  filter: grayscale(75%) contrast(1.25);
  transform: translateY(5%);
}

.sign-up .sign-up-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.sign-up .sign-up-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
}

.sign-up .sign-up-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.sign-up .sign-up-card h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.sign-up .sign-up-card p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.sign-up .sign-up-card .social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 1rem;
}

.sign-up .sign-up-card .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e4dcc8;
  color: #3d2e1e;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 2px solid #c9b89f;
  transition: all 0.25s ease-in-out;
}

.sign-up .sign-up-card .social-links a:hover {
  background-color: #3d2e1e;
  color: #f5f0e6;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sign-up .sign-up-form-wrapper {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 35px;
  position: relative;
  overflow: hidden;
}

.sign-up .sign-up-form-wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
}

.sign-up .sign-up-form-wrapper .php-email-form .form-group {
  margin-bottom: 15px;
}

.sign-up .sign-up-form-wrapper .php-email-form .form-group label {
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 8px;
  font-size: 14px;
  display: block;
}

.sign-up .sign-up-form-wrapper .php-email-form .form-group .form-control {
  height: auto;
  border-radius: 8px;
  padding: 12px 20px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 14px;
}

.sign-up .sign-up-form-wrapper .php-email-form .form-group .form-control:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: none;
}

.sign-up .sign-up-form-wrapper .php-email-form .form-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.sign-up .sign-up-form-wrapper .php-email-form .form-group textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.sign-up .sign-up-form-wrapper .php-email-form button {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.sign-up .sign-up-form-wrapper .php-email-form button:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}




/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/

.testimonials {
  padding: 80px 0 !important;
  overflow: hidden !important;

  /* Lighter Background Variables (Forced with !important) */
  --background-color: #fdf7e3 !important;     /* Light parchment base */
  --surface-color: #f8f2dc !important;        /* For testimonial cards */
  --default-color: #2e2a1f !important;        /* Rich brown for text */
  --heading-color: #1f1a10 !important;        /* Deep ink header tone */
  --contrast-color: #000000 !important;       /* Strong contrast */
  --accent-color: #a3120a !important;         /* Red highlight */
  --accent-soft: #c6342c !important;          /* Hover variant */
  position: relative !important;
  z-index: 1 !important;
}




.testimonials .critic-reviews {
  margin-bottom: 60px;
}

.testimonials .critic-reviews .critic-review {
  background-color: var(--surface-color);
  padding: 30px;
  margin-top: 29px;
  border-radius: 15px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

.testimonials .critic-reviews .critic-review .review-quote {
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--accent-color);
  opacity: 0.2;
  line-height: 1;
}

.testimonials .critic-reviews .critic-review .stars {
  margin-bottom: 15px;
  display: flex;
}

.testimonials .critic-reviews .critic-review .stars i {
  color: #FFD700;
  margin-right: 3px;
  font-size: 18px;
}

.testimonials .critic-reviews .critic-review p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--default-color);
  font-style: italic;
}

.testimonials .critic-reviews .critic-review .critic-info .critic-name {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 16px;
}

.testimonials .critic-reviews .critic-review:hover {
  transform: translateY(-10px);
}

.testimonials .testimonials-container {
  margin-bottom: 60px;
}

.testimonials .testimonials-container .swiper-wrapper {
  height: auto !important;
  padding-bottom: 20px;
}

.testimonials .testimonials-container .testimonial-item {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  border-top: 3px solid var(--accent-color);
}

.testimonials .testimonials-container .testimonial-item .stars {
  margin-bottom: 15px;
  display: flex;
}

.testimonials .testimonials-container .testimonial-item .stars i {
  color: #FFD700;
  margin-right: 3px;
  font-size: 16px;
}

.testimonials .testimonials-container .testimonial-item p {
  font-size: 15px;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--default-color);
  line-height: 1.6;
}

.testimonials .testimonials-container .testimonial-item .testimonial-profile {
  display: flex;
  align-items: center;
}

.testimonials .testimonials-container .testimonial-item .testimonial-profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 4px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  margin-right: 15px;
}

.testimonials .testimonials-container .testimonial-item .testimonial-profile div h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px;
  color: var(--heading-color);
}

.testimonials .testimonials-container .testimonial-item .testimonial-profile div h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  font-weight: normal;
}

.testimonials .testimonials-container .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .testimonials-container .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  opacity: 1;
}

.testimonials .testimonials-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  width: 20px;
  border-radius: 10px;
}

.testimonials .overall-rating {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: inline-block;
}

.testimonials .overall-rating .rating-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
  margin-bottom: 10px;
}

.testimonials .overall-rating .rating-stars {
  margin-bottom: 15px;
}

.testimonials .overall-rating .rating-stars i {
  color: #FFD700;
  font-size: 22px;
  margin: 0 3px;
}

.testimonials .overall-rating p {
  color: var(--default-color);
  font-size: 15px;
  margin-bottom: 15px;
}

.testimonials .overall-rating .rating-platforms {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.testimonials .overall-rating .rating-platforms span {
  font-size: 14px;
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 5px 15px;
  border-radius: 20px;
}

@media (max-width: 992px) {
  .testimonials .section-header h2 {
    font-size: 28px;
  }

  .testimonials .critic-reviews .critic-review {
    margin-bottom: 30px;
  }

  .testimonials .testimonials-container .testimonial-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 0;
  }

  .testimonials .section-header h2 {
    font-size: 24px;
  }

  .testimonials .overall-rating {
    padding: 30px;
  }

  .testimonials .overall-rating .rating-number {
    font-size: 36px;
  }

  .testimonials .overall-rating .rating-stars i {
    font-size: 18px;
  }
}

 .critic-name,
.testimonial-profile h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  background-color: #e6dfc9;
  padding: 2px 6px;
  display: inline-block;
  border-radius: 3px;
  color: #1f1a10;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.critic-review,
.testimonial-item {
  background-color: #f5f0db; /* Slightly deeper parchment */
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.critic-review:hover,
.testimonial-item:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Typewriter-inspired font styling */
.testimonials h2,
.testimonials .critic-name,
.testimonials .testimonial-profile h3 {
  font-family: 'Special Elite', 'Courier New', Courier, monospace;
  letter-spacing: 0.5px;
  font-weight: 400;
  font-size: 1.5rem;
}

.testimonials p,
.testimonials .testimonial-profile h4 {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--default-color);
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.015) 0,
      rgba(0, 0, 0, 0.015) 1px,
      transparent 1px,
      transparent 4px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.015) 0,
      rgba(0, 0, 0, 0.015) 1px,
      transparent 1px,
      transparent 4px
    );
  z-index: 0;
  pointer-events: none;
}
.testimonials {
  position: relative; /* required for ::before to overlay */
  background-color: #fdf7e3 !important;
}
.testimonials .critic-review p,
.testimonials .testimonial-item p,
.testimonials .testimonial-profile h3,
.testimonials .testimonial-profile h4 {
  font-family: 'Courier Prime', 'Courier New', Courier, monospace !important;
  letter-spacing: 0.2px;
  font-weight: 400;
  font-style: normal;
}

.testimonials .critic-review,
.testimonials .testimonial-item {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  background-color: var(--surface-color, #f4eed8) !important;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent-color, #a3120a), transparent 85%);
}

.testimonials .critic-review p,
.testimonials .testimonial-item p,
.testimonials .critic-info .critic-name,
.testimonials .testimonial-profile div h3 {
  font-family: 'Special Elite', 'Courier New', Courier, monospace !important;
  letter-spacing: 0.1px;
  font-size: 15px;
  font-weight: normal;
  color: var(--default-color, #2e2a1f);
}


/* Space out critic review cards within the Bootstrap row */
.critic-review {
  margin-bottom: 2rem; /* adds vertical space between rows */
}

/* Optional: space between cards even within the same row (horizontal gutters) */
.row > .col-md-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}


/* 🕵️‍♀️ Tape-style credentials (spy theme) */
.tape-style {
  background-color: var(--tape-yellow, #ffdd72); /* retro tape yellow */
  color: #111 !important; /* force black text */
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 4px 8px;
  display: inline-block;
  border-left: 3px solid #111;
  border-right: 3px solid #111;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/*--------------------------------------------------------------
# Purchase Section
--------------------------------------------------------------*/
.purchase {
  padding: 80px 0;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Purchase Section Background Image
--------------------------------------------------------------*/
.purchase {
  position: relative;
  overflow: hidden;
}

.purchase-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/purchase/purchase-image.webp');
  background-size: cover;
  background-position: top center; /* focus on top */
  background-repeat: no-repeat;
  opacity: 0.12; /* adjust for subtlety */
  z-index: 0;
  pointer-events: none; /* ensures clicks go through */
}

@media (max-width: 768px) {
  .purchase-bg-image {
    background-image: url('../img/purchase/purchase-image-mobile.webp') !important;
    background-position: center top !important;
    background-size: 100% auto !important;  /* Shrinks width, maintains aspect ratio */
    background-repeat: no-repeat !important;
  }
}


.purchase-bg-image-dangerous {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/purchase/purchase-image-dangerous.webp');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .purchase-bg-image-dangerous {
    background-image: url('../img/purchase/purchase-image-dangerous.webp') !important;
    background-position: center top !important;
    background-size: 80% auto !important;
    background-repeat: no-repeat !important;
  }
}





/* Ensure content stays above image */
.purchase .container,
.purchase .section-title {
  position: relative;
  z-index: 2;
}




.purchase .book-format-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.purchase .book-format-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
  opacity: 0.7;
}

.purchase .book-format-card .format-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
}

.purchase .book-format-card .format-icon i {
  font-size: 28px;
  color: var(--accent-color);
}

.purchase .book-format-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.purchase .book-format-card .format-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.purchase .book-format-card .format-features {
  padding: 0;
  margin: 0 0 25px;
  list-style: none;
  text-align: left;
}

.purchase .book-format-card .format-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--default-color);
  line-height: 1.5;
}

.purchase .book-format-card .format-features li i {
  color: var(--accent-color);
  margin-right: 10px;
  flex-shrink: 0;
  font-size: 16px;
  transform: translateY(2px);
}

.purchase .book-format-card .buy-options .btn-purchase {
  display: grid;
  place-items: center;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  width: 100%;
}

  

.purchase .book-format-card .buy-options .btn-purchase:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

.purchase .book-format-card .buy-options .retailers {
  margin-top: 15px;
}

.purchase .book-format-card .buy-options .retailers span {
  display: block;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 8px;
}

.purchase .book-format-card .buy-options .retailers .retailer-logos {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.purchase .book-format-card .buy-options .retailers .retailer-logos a {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: all 0.3s ease;
}

.purchase .book-format-card .buy-options .retailers .retailer-logos a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.purchase .book-format-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .purchase .book-format-card {
    margin-bottom: 20px;
  }
}

.purchase .bundle-offer {
  background-color: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.purchase .bundle-offer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--accent-color);
}

.purchase .bundle-offer h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.purchase .bundle-offer p {
  color: var(--default-color);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.purchase .bundle-offer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.purchase .bundle-offer ul li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--default-color);
}

.purchase .bundle-offer ul li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 18px;
  flex-shrink: 0;
}

.purchase .bundle-offer .bundle-price {
  margin-bottom: 25px;
}

.purchase .bundle-offer .bundle-price .original {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: line-through;
  margin-right: 15px;
}

.purchase .bundle-offer .bundle-price .discounted {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-color);
}

.purchase .bundle-offer .btn-bundle {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.purchase .bundle-offer .btn-bundle:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

.purchase .bundle-offer .bundle-image img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.purchase .bundle-offer .bundle-image img:hover {
  transform: scale(1.05);
}




/*--------------------------------------------------------------
# Section Titles and Subheads — Scoped & Reliable
--------------------------------------------------------------*/

section .section-subtitle,
.section-title .section-subtitle,
h2.section-subtitle {
  font-family: "Zilla Slab", "Roboto Slab", Georgia, serif !important;
  font-size: 3rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  color: var(--heading-color, #1f1a10) !important;
  margin-bottom: 0.5rem !important;
  text-align: center !important;
}

section .section-intro,
.section-title .section-intro,
p.section-intro {
  font-family: var(--default-font, "IBM Plex Serif", Georgia, serif) !important;
  font-size: 1.3em !important;
  color: #f2ecdc !important; /* light warm tone for dark backgrounds */
  text-align: center !important;
  max-width: 620px !important;
  margin: 0 auto 2rem auto !important;
  line-height: 1.6 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55) !important;
  font-style: normal !important;
}

@media (max-width: 768px) {
  .purchase .bundle-offer {
    padding: 30px;
  }

  .purchase .bundle-offer .bundle-image {
    margin-top: 30px;
    text-align: center;
  }

  .purchase .bundle-offer .bundle-image img {
    max-width: 250px;
  }

  .purchase .bundle-offer h3 {
    font-size: 22px;
  }

  .purchase .bundle-offer .bundle-price .discounted {
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  .purchase .section-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .purchase {
    padding: 60px 0;
  }

  .purchase .section-header h2 {
    font-size: 24px;
  }
}


@media (max-width: 768px) {
  #purchase .book-format-card .buy-options .btn-purchase {
    font-size: 1rem !important;
    padding: .7rem .1rem !important;         /* slightly reduced vertical & horizontal padding */
    border-radius: 1.75rem !important;
    width: 60% !important;                   /* changed from 100% to 90% to avoid edge crowding */
    margin: 0.75rem auto 1.25rem auto !important; /* centers button and adds breathing room */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    text-align: center !important;
    display: block !important;               /* ensures block alignment for margin auto */
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.faq .faq-description {
  font-size: 1rem;
  color: var(--default-color);
  margin-bottom: 2rem;
}

.faq .faq-arrow {
  color: var(--accent-color);
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding: 80px 0;
  overflow: hidden;
}

.contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .contact .contact-info {
    margin-bottom: 40px;
  }
}


.contact-image-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 340px;
  margin: 1.5rem auto; /* centers horizontally */
  border: 4px solid var(--agent-beige, #e9e3d0); /* aged-paper border */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);     /* slightly deeper for more drama */
  background-color: #1e1e1e;
  overflow: hidden;
}

.contact-image {
  width: 110%;
  height: auto;
  object-fit: cover;
  filter: grayscale(75%) contrast(1.25);
  transform: translateY(5%); /* nudge image up slightly */
}
.contact .contact-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.contact .contact-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
}

.contact .contact-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.contact .contact-card h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.contact .contact-card p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact .contact-card .contact-details {
  margin-bottom: 25px;
}

.contact .contact-card .contact-details .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact .contact-card .contact-details .contact-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 15px;
  margin-top: 5px;
  flex-shrink: 0;
}

.contact .contact-card .contact-details .contact-item div h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 0 5px;
}

.contact .contact-card .contact-details .contact-item div p {
  font-size: 14px;
  color: var(--default-color);
  margin: 0 0 5px;
  line-height: 1.5;
}

.contact .contact-card .contact-details .contact-item div p:last-child {
  margin-bottom: 0;
}

.contact .contact-card .contact-details .contact-item:last-child {
  margin-bottom: 0;
}
.contact .contact-card .social-links {
  display: flex;
  justify-content: center;     /* Centered horizontally */
  gap: 14px;
  margin-top: 1rem;
}

.contact .contact-card .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e4dcc8; /* warm vintage paper tone */
  color: #3d2e1e;             /* 70s dark brown text */
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 2px solid #c9b89f;
  transition: all 0.25s ease-in-out;
}

.contact .contact-card .social-links a:hover {
  background-color: #3d2e1e; /* dark espresso hover */
  color: #f5f0e6;             /* faded ivory text */
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.contact .contact-form-wrapper {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 35px;
  position: relative;
  overflow: hidden;
}

.contact .contact-form-wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
}

.contact .contact-form-wrapper .php-email-form .form-group {
  margin-bottom: 15px;
}

.contact .contact-form-wrapper .php-email-form .form-group label {
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 8px;
  font-size: 14px;
  display: block;
}



.contact .contact-form-wrapper .php-email-form .form-group .form-control {
  height: auto;
  border-radius: 8px;
  padding: 12px 20px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 14px;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: none;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .contact-form-wrapper .php-email-form .form-group textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact .contact-form-wrapper .php-email-form .form-check {
  margin-bottom: 20px;
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input {
  margin-top: 0.3em;
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input:focus {
  box-shadow: none;
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-label {
  color: var(--default-color);
  font-size: 14px;
  padding-left: 5px;
}

.contact .contact-form-wrapper .php-email-form button {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact .contact-form-wrapper .php-email-form button:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}


/*--------------------------------------------------------------
# Section Subtitle (h2 styling)
--------------------------------------------------------------*/
.section-subtitle {
  font-family: "Zilla Slab", "Roboto Slab", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-align: center;
  color: #e4dcc8; /* warm aged-paper tone */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}

/*--------------------------------------------------------------
# Section Intro (p styling)
--------------------------------------------------------------*/
.section-intro {
  font-family: var(--default-font, "Source Serif Pro", serif) !important;
  font-size: 1rem !important;
  color: rgba(228, 220, 200, 0.9) !important;
  text-align: center !important;
  max-width: 640px !important;
  margin: 0 auto 2rem auto !important;
  line-height: 1.6 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

@media (max-width: 992px) {

  .contact .contact-card,
  .contact .newsletter-card,
  .contact .contact-form-wrapper {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }

  .contact .contact-card h3 {
    font-size: 20px;
  }

  .contact .newsletter-card h3 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Related Books Section
--------------------------------------------------------------*/
.related-books {
  padding: 80px 0;
  overflow: hidden;
}

.related-books .related-book-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  overflow: hidden;
}

.related-books .related-book-card .book-image {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 20px;
}

.related-books .related-book-card .book-image img {
  width: 60%;
  transition: transform 0.5s ease;
}

.related-books .related-book-card .book-image .book-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 15px;
  border-radius: 20px;
}




.related-books .related-book-card .book-info {
  padding: 25px;
}

.related-books .related-book-card .book-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.related-books .related-book-card .book-info .book-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.related-books .related-book-card .book-info .book-meta span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: flex;
  align-items: center;
}

.related-books .related-book-card .book-info .book-meta span i {
  color: var(--accent-color);
  margin-right: 5px;
}

.related-books .related-book-card .book-info .book-meta span:last-child i {
  color: #FFD700;
}

.related-books .related-book-card .book-info p {
  font-size: 15px;
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.related-books .related-book-card .book-info .book-actions {
  display: flex;
  gap: 10px;
}

.related-books .related-book-card .book-info .book-actions .btn-details {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: grid;
  place-items: center;
}

.related-books .related-book-card .book-info .book-actions .btn-details:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.related-books .related-book-card .book-info .book-actions .btn-purchase {
  background-color: var(--accent-color);
  color: whitesmoke !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: grid;
  place-items: center;
}

.related-books .related-book-card .book-info .book-actions .btn-purchase:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.related-books .related-book-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-books .related-book-card:hover .book-image img {
  transform: scale(1.05);
}

.related-books .coming-soon {
  background-color: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 40px;
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}

.related-books .coming-soon .coming-soon-badge {
  position: absolute;
  top: 20px;
  right: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.related-books .coming-soon .upcoming-book-image {
  position: relative;
}

.related-books .coming-soon .upcoming-book-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.related-books .coming-soon .upcoming-book-image img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .related-books .coming-soon .upcoming-book-image {
    margin-bottom: 30px;
  }



.related-books .coming-soon .upcoming-book-info {
  text-align: left;
  padding-left: 20px;
}

.related-books .coming-soon .upcoming-book-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.related-books .coming-soon .upcoming-book-info .release-date {
  font-size: 16px;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-weight: 500;
}

.related-books .coming-soon .upcoming-book-info .description {
  font-size: 15px;
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 25px;
}

.related-books .coming-soon .upcoming-book-info .btn-notify {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.related-books .coming-soon .upcoming-book-info .btn-notify:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .related-books .coming-soon .upcoming-book-info {
    padding-left: 0;
    text-align: center;
  }

  .related-books .coming-soon .upcoming-book-info h3 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .related-books .coming-soon {
    padding: 30px;
  }
}

@media (max-width: 992px) {
  .related-books .section-header h2 {
    font-size: 28px;
  }

  .related-books .related-book-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .related-books {
    padding: 60px 0;
  }

  .related-books .section-header h2 {
    font-size: 24px;
  }

  .related-books .related-book-card .book-image img {
    height: 220px;
  }

  .related-books .related-book-card .book-info {
    padding: 20px;
  }

  .related-books .related-book-card .book-info h3 {
    font-size: 18px;
  }
}


.related-books {
  background-color: #f3efe5;
  border-top: 2px solid #cfc6b0;
  border-bottom: 2px solid #cfc6b0;
  padding: 90px 0;
}

.related-books .section-title h2 {
  font-family: "Zilla Slab", Georgia, serif;
  color: #1f1a10;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.related-books .section-title p {
  font-family: var(--default-font);
  font-size: 1.15rem;
  color: rgba(31, 26, 16, 0.85);
  text-align: center;
  margin: 0 auto 2rem auto;
  max-width: 640px;
}

.related-books .related-book-card {
  background: #fffdf8;
  border: 1px solid #d6cbb5;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.related-books .book-category {
  background-color: #b64538;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.5px;
}

.related-books .btn-purchase,
.related-books .btn-details {
  font-family: var(--default-font);
    color: whitesmoke !important;
  font-weight: 500;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 50px;
  box-shadow: none;
  border: 1px solid var(--accent-color);
  background-color: transparent;
  color: var(--accent-color);
  transition: 0.3s ease;
}

.related-books .btn-purchase:hover,
.related-books .btn-details:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.related-books {
  background-image: url('../img/textures/paper-faint.webp');
  background-size: cover;
  background-blend-mode: multiply;
  background-color: #f3efe5;
}

.related-books .related-book-card {
  background-color: #f5f1e3; /* Aged paper tone */
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
  font-family: 'IBM Plex Serif', 'Roboto Slab', serif;
  color: #2c2c2c;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-books .related-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Heading */
.related-books .book-info h3 {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f1a10;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

/* Body text */
.related-books .book-info p {
  font-size: 0.95rem;
  color: #413f3c;
  line-height: 1.55;
  font-family: 'Source Serif Pro', serif;
}

/* Meta data (year + rating) */
.related-books .book-meta span {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: rgba(60, 60, 60, 0.8);
}

/* Buttons */
.related-books .btn-details,
.related-books .btn-purchase {
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  font-family: 'Courier New', monospace;
}

.related-books .btn-details {
  background-color: transparent;
  border: 1.5px solid #8b0000;
  color: #8b0000;
}

.related-books .btn-details:hover {
  background-color: rgba(139, 0, 0, 0.05);
}

.related-books .btn-purchase {
  background-color: #8b0000;
  color: #fff;
  border: none;
}

.related-books .btn-purchase:hover {
  background-color: #600000;
}

.related-books .book-category {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fdf5dd !important;
  background-color: var(--glow-highlight, #a21d1d); /* deep espionage red */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); /* subtle lift if white still blends */
}

.btn-purchase,
.buy-now {
  background-color: var(--glow-highlight, #a21d1d) !important;
  color: #ffffff !important; /* force white text */
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); /* optional: soft lift */
  border: none;
  border-radius: 0.5rem;
  padding: 0.6rem 1.2rem;
  transition: all 0.2s ease-in-out;
}

.btn-purchase:hover,
.buy-now:hover {
  background-color: #8b1616 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}


.invisible-icon {
  visibility: hidden;
}


  @media (max-width: 768px) {
    .related-books .related-book-card {
      padding: 1.5rem !important;
    }

    .related-books .related-book-card .book-image {
      margin-bottom: 1.5rem !important;
      text-align: center !important;
    }

    .related-books .related-book-card .book-image img {
      width: auto !important;
      height: 320px !important; /* taller for realism */
      max-width: 100% !important;
      border-radius: 10px !important;
      object-fit: cover !important;
      aspect-ratio: 2 / 3 !important;
    }

    .related-books .related-book-card h3 {
      font-size: 1.5rem !important;
      line-height: 1.3 !important;
      text-align: center !important;
      margin-bottom: 0.5rem !important;
    }

    .related-books .related-book-card .book-meta {
      font-size: 1rem !important;
      display: flex !important;
      justify-content: center !important;
      gap: 1rem !important;
      margin-bottom: 1rem !important;
    }

    .related-books .related-book-card p {
      font-size: 1.05rem !important;
      line-height: 1.7 !important;
      text-align: center !important;
      margin-bottom: 1.5rem !important;
    }

    .related-books .related-book-card .book-actions a {
      font-size: 1.05rem !important;
      padding: 0.8rem 1.6rem !important;
      border-radius: 25px !important;
      margin: 0 0.5rem 1rem 0.5rem !important;
      display: inline-block !important;
    }

    .related-books .related-book-card .book-actions {
      display: flex !important;
      justify-content: center !important;
      flex-wrap: wrap !important;
    }
  }

/* Buttons */
.related-books .btn-details,
.related-books .btn-purchase {
  border-radius: 30px;
  color: whitesmoke !important;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  font-family: 'Courier New', monospace;
}
/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  overflow: hidden;
}

.call-to-action .cta-wrapper {
  background: linear-gradient(to right, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 30%));
  border-radius: 15px;
  padding: 50px;
  color: var(--contrast-color);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.call-to-action .cta-wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

@media (max-width: 768px) {
  .call-to-action .cta-wrapper {
    padding: 30px;
    text-align: center;
  }
}

.call-to-action .cta-book-image {
  position: relative;
  transform: rotate(-5deg);
  transition: all 0.3s ease;
}

.call-to-action .cta-book-image img {
  border-radius: 8px;
  max-width: 100%;
}

.call-to-action .cta-book-image:hover {
  transform: rotate(0) translateY(-10px);
}

@media (max-width: 768px) {
  .call-to-action .cta-book-image {
    margin: 0 auto 30px;
    max-width: 200px;
  }
}

.call-to-action .cta-content {
  position: relative;
  z-index: 1;
}

.call-to-action .cta-content .badge {
  display: inline-block;
  background-color: var(--contrast-color);
  color: var(--accent-color);
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.call-to-action .cta-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .call-to-action .cta-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .call-to-action .cta-content h2 {
    font-size: 24px;
  }
}

.call-to-action .cta-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.9;
}

.call-to-action .cta-content .cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.call-to-action .cta-content .cta-features .feature-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.call-to-action .cta-content .cta-features .feature-item i {
  font-size: 18px;
  margin-right: 8px;
}

.call-to-action .cta-content .cta-features .feature-item span {
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .call-to-action .cta-content .cta-features {
    justify-content: center;
  }

  .call-to-action .cta-content .cta-features .feature-item {
    margin-right: 0;
  }
}

.call-to-action .cta-content .countdown-timer {
  margin-bottom: 30px;
}

.call-to-action .cta-content .countdown-timer p {
  margin-bottom: 10px;
  font-size: 15px;
  opacity: 0.9;
}

.call-to-action .cta-content .countdown-timer .countdown {
  display: flex;
  gap: 15px;
}

.call-to-action .cta-content .countdown-timer .countdown div {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 15px;
  min-width: 70px;
  text-align: center;
}

.call-to-action .cta-content .countdown-timer .countdown div h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: var(--contrast-color);
}

.call-to-action .cta-content .countdown-timer .countdown div h4 {
  font-size: 12px;
  margin: 0;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 500;
  color: var(--contrast-color);
}

@media (max-width: 576px) {
  .call-to-action .cta-content .countdown-timer .countdown div {
    min-width: 50px;
    padding: 8px 10px;
  }

  .call-to-action .cta-content .countdown-timer .countdown div h3 {
    font-size: 18px;
  }

  .call-to-action .cta-content .countdown-timer .countdown div h4 {
    font-size: 10px;
  }
}

.call-to-action .cta-content .cta-buttons {
  display: flex;
  gap: 15px;
}

.call-to-action .cta-content .cta-buttons .btn-primary {
  background-color: var(--contrast-color);
  color: var(--accent-color);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.call-to-action .cta-content .cta-buttons .btn-primary:hover {
  background-color: color-mix(in srgb, var(--contrast-color), transparent 10%);
  transform: translateY(-3px);
}

.call-to-action .cta-content .cta-buttons .btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.call-to-action .cta-content .cta-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .call-to-action .cta-content .cta-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .call-to-action .cta-content .cta-buttons .btn-primary,
  .call-to-action .cta-content .cta-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .call-to-action {
    padding: 60px 0;
  }
}





  section#testimonials {
    --background-color: #fdf7e3 !important;
    --surface-color: #f8f2dc !important;
    --default-color: #2e2a1f !important;
    --heading-color: #1f1a10 !important;
    --contrast-color: #000000 !important;
    --accent-color: #a3120a !important;
    --accent-soft: #c6342c !important;

    background-color: var(--background-color) !important;
    color: var(--default-color) !important;
    position: relative;
    z-index: 1;
  }

  section#testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('paper-fiber-light.webp');
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.3;
    pointer-events: none;
  }

  section#testimonials * {
    color: var(--default-color) !important;
  }

  section#testimonials h2,
  section#testimonials h3,
  section#testimonials h4 {
    color: var(--heading-color) !important;
  }

  section#testimonials .critic-review,
  section#testimonials .testimonial-item,
  section#testimonials .overall-rating {
    background-color: var(--surface-color) !important;
    border-top-color: var(--accent-color) !important;
  }

/*-------------------------------
# Manila Folder Look for Reviews
--------------------------------*/

.critic-review {
  position: relative;
  background-color: #f4eed8 !important; /* Manilla tint */
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px 10px 6px 6px;
  padding: 30px 20px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 3px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Courier Prime', monospace;
}

.critic-review::before {
  content: "CONFIDENTIAL";
  position: absolute;
  top: -23px; /* raised from -14px */
  left: 0;
  background: var(--accent-color);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px 4px 0 0;
  letter-spacing: 1px;
  font-family: 'IBM Plex Mono', monospace;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Folder edge shape - optional skew for flair */
.critic-review::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, #f4eed8 90%, #d4caa1 100%);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  z-index: -1;
}






  section#testimonials .stars i,
  section#testimonials .rating-stars i {
    color: #FFD700 !important;
  }

  section#testimonials .rating-platforms span {
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%) !important;
    color: var(--accent-color) !important;
  }



/* Force typewriter + darker card style in testimonials */
  section#testimonials {
    --background-color: #fdf7e3 !important;
    --surface-color: #f3ebd2 !important;     /* Darker card for contrast */
    --default-color: #2e2a1f !important;
    --heading-color: #1f1a10 !important;
    --contrast-color: #000000 !important;
    --accent-color: #a3120a !important;
    --accent-soft: #c6342c !important;
    font-family: 'IBM Plex Serif', 'Courier New', Courier, monospace !important;
    background-color: var(--background-color) !important;
    color: var(--default-color) !important;
    position: relative;
    z-index: 1;
  }

  section#testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('paper-fiber-light.webp');
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.3;
    pointer-events: none;
  }

  /* Typography refinements */
  section#testimonials h2,
  section#testimonials h3,
  section#testimonials h4 {
    font-family: 'IBM Plex Serif', 'Courier New', Courier, monospace !important;
    color: var(--heading-color) !important;
    letter-spacing: -0.02em;
  }

  section#testimonials p {
    font-family: 'Source Serif 4', Georgia, serif !important;
    color: var(--default-color) !important;
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Testimonial card override */
  section#testimonials .testimonial-item,
  section#testimonials .critic-review,
  section#testimonials .overall-rating {
    background-color: var(--surface-color) !important;
    color: var(--default-color) !important;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    font-family: 'Source Serif 4', Georgia, serif !important;
  }

  section#testimonials .testimonial-item h3,
  section#testimonials .critic-name {
    font-family: 'IBM Plex Mono', monospace !important;
    font-weight: 600;
    font-size: 1rem;
  }

  /* Star colors */
  section#testimonials .stars i,
  section#testimonials .rating-stars i {
    color: var(--accent-color) !important;
  }

  /* Optional: card hover animation */
  section#testimonials .testimonial-item:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
  }

  .critic-name,
.testimonial-profile h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  background-color: #e6dfc9;
  padding: 2px 6px;
  display: inline-block;
  border-radius: 3px;
  color: #1f1a10;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.critic-review,
.testimonial-item {
  background-color: #f5f0db; /* Slightly deeper parchment */
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.critic-review:hover,
.testimonial-item:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Typewriter-inspired font styling */
.testimonials h2,
.testimonials .critic-name,
.testimonials .testimonial-profile h3 {
  font-family: 'Special Elite', 'Courier New', Courier, monospace;
  letter-spacing: 0.5px;
  font-weight: 400;
  font-size: 1.5rem;
}

.testimonials p,
.testimonials .testimonial-profile h4 {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--default-color);
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.015) 0,
      rgba(0, 0, 0, 0.015) 1px,
      transparent 1px,
      transparent 4px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.015) 0,
      rgba(0, 0, 0, 0.015) 1px,
      transparent 1px,
      transparent 4px
    );
  z-index: 0;
  pointer-events: none;
}
.testimonials {
  position: relative; /* required for ::before to overlay */
  background-color: #fdf7e3 !important;
}

.testimonials .critic-review p,
.testimonials .testimonial-item p,
.testimonials .critic-info .critic-name,
.testimonials .testimonial-profile div h3 {
  font-family: 'Special Elite', 'Courier New', Courier, monospace !important;
  letter-spacing: 0.1px;
  font-size: 15px;
  font-weight: normal;
  color: var(--default-color, #2e2a1f);
}

.section-subtitle {
  font-family: "Zilla Slab", "Roboto Slab", Georgia, serif !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  color: var(--heading-color, #1f1a10) !important;
  margin-bottom: 0.5rem !important;
  text-align: center !important;
}
/* Adds consistent vertical spacing between testimonial cards */
.critic-review {
  margin-bottom: 2rem !important;
}

@media screen and (max-width: 768px) {
  .row > [class*="col-"] {
    padding-left: .5 !important;
    padding-right: .5 !important;
  }
}

@media screen and (max-width: 768px) {
  /* Section Subtitle – Mobile */
  section .section-subtitle,
  .section-title .section-subtitle,
  h2.section-subtitle {
    font-family: "Zilla Slab", "Roboto Slab", Georgia, serif !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    color: var(--heading-color, #1f1a10) !important;
    margin-bottom: 0.75rem !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  /* Section Intro – Mobile */
  section .section-intro,
  .section-title .section-intro,
  p.section-intro {
    font-family: var(--default-font, "IBM Plex Serif", Georgia, serif) !important;
    font-size: 1em !important;
    color: #f2ecdc !important;
    text-align: center !important;
    padding: 0 1rem !important;
    max-width: 90% !important;
    margin: 0 auto 1.5rem auto !important;
    line-height: 1.5 !important;
    text-shadow: none !important;
    font-style: normal !important;
  }
}

@media screen and (max-width: 768px) {
  .author {
    display: none !important;
  }
}