/**
* 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/
--------------------------------------------------------------*/
:root {
  --default-font: 'Cormorant Garamond', serif;
  --heading-font: 'Inknut Antiqua', serif;
  --nav-font: 'Poppins', sans-serif;

  /* Core Theme Colors (inspired by cover) */
  --background-color: #04121b;
  --surface-color: #0e1a21;
  --contrast-color: #ffffff;

  --default-color: #dbd9d4;
  --heading-color: #ffdd72;
  --accent-color: #ffdd72;
}


:root {
  --nav-color: #dbd9d4;              /* Matches --default-color */
  --nav-hover-color: #ffdd72;        /* Same as heading highlight */
  --nav-mobile-background-color: #0e1a21;
  --nav-dropdown-background-color: #0e1a21;
  --nav-dropdown-color: #dbd9d4;
  --nav-dropdown-hover-color: #f46356;  /* Accent orange */
}

.light-background {
  --background-color: #056EAB;   /* Blue (NCS) */
  --surface-color: #116999;      /* Darker slate blue for cards/panels */
  --default-color: #ffffff;      /* White or off-white text for readability */
  --heading-color: #ffdd72;      /* Warm highlight yellow */
   --accent-color: #ffdd72;     /* Derived gold for CTAs and hover accents */
  --contrast-color: #000100;     /* For dark-on-light buttons or inverse states */
}
/* DARK SECTION: Default baseline look */
.dark-background {
  --background-color: #04121b;
  --surface-color: #0e1a21;
  --default-color: #dbd9d4;
  --heading-color: #ffdd72;
  --contrast-color: #ffffff;
}
/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

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

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,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

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

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

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

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

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

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

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

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

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu */
.mobile-nav-toggle {
  color: var(--nav-color);
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 32px;
  line-height: 0;
  cursor: pointer;
  display: block !important;
  z-index: 998;
  transition: 0.3s;
}

.mobile-nav-toggle:hover {
  color: var(--nav-hover-color);
}

.navmenu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -300px;
  z-index: 997;
  transition: 0.3s;
  width: 300px;
  overflow: hidden;
  background-color: var(--nav-mobile-background-color);
}

.navmenu ul {
  display: block;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  overflow-y: auto;
  transition: 0.3s;
  z-index: 998;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-dropdown-color);
  padding: 10px 20px;
  font-family: var(--nav-font);
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: 0.3s;
}

.navmenu a i,
.navmenu a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
  width: 30px;
  height: 30px;
  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%);
}

.navmenu a i:hover,
.navmenu a:focus i:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .active i,
.navmenu .active:focus i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 10px 0;
  margin: 10px 20px;
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.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%);
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav-toggle {
  right: 310px;
  font-size: 36px;
}

.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
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 28px;
  font-weight: 500;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

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

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}


.footer p {
  font-size: 1rem;             /* Increase paragraph font size (~20px) */
  line-height: 1.8;
  max-width: 60ch;                /* Constrain width for line length comfort */
  margin: 0 auto 2rem auto;       /* Center and space below */
  font-family: var(--default-font);
  color: var(--default-color);
  font-style: italic;             /* Optional: echoing visual from your current layout */
  text-wrap: pretty;              /* Improves line break balance in modern browsers */
}

@media (max-width: 768px) {
  .footer p {
    font-size: 1rem;          /* Slightly smaller on mobile (~18px) */
    max-width: 90%;
  }
}

.footer .site-design {
  font-size: 0.95rem;
  text-align: center;
  padding: 1.5rem 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-family: var(--nav-font);
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
}

.footer .site-design .sitename {
  font-weight: 600;
  color: var(--accent-color);
}

.footer .site-design .sitename a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .site-design .sitename a:hover {
  color: color-mix(in srgb, var(--accent-color), white 20%);
  text-decoration: underline;
}



/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.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: 15px;
}

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

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

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

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

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

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

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 48px;           /* Increased for desktop presence */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}

/* Tablet */
@media (max-width: 992px) {
  .section-title h2 {
    font-size: 36px;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 28px;
    text-align: center;
  }
}

.section-title p {
  margin-bottom: 0;
}


/*--------------------------------------------------------------
# Hero Section with Mobile/Desktop Background Swap (Darker)
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  background-color: #000; /* fallback */
  color: var(--contrast-color);
  overflow: hidden;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: url('../img/hero/young-and-hungry.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 🔥 Add dark overlay using blend mode */
  background-color: rgba(0, 0, 0, 0.2);  /* Adjust darkness here */
  background-blend-mode: darken;

  pointer-events: none;
}

.hero .hero-bg {
  background-image: url('../img/hero/young-and-hungry.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 🔥 Add dark overlay using blend mode */
  background-color: rgba(0, 0, 0, var(--overlay-opacity, 0.10));
  background-blend-mode: darken;

  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  transition: background-color 0.3s ease-out;
}

@media (max-width: 768px) {
  .hero .hero-bg {
    background-image: url('../img/hero/hero-background-mobile.webp');
  }
}

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

/* Book Cover in Hero Section */
.hero-book-cover {
  display: flex;
  justify-content: flex-end;      /* Aligns closer to center instead of left edge */
  align-items: center;
  padding-right: 1rem;            /* Less space from the text column */
}

.hero-book-cover img {
  width: 110%;                    /* Slightly larger than original width */
  max-width: 320px;               /* Limit to avoid too much scale */
  height: auto;
  max-height: 500px;              /* Larger vertical size */
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.hero-book-cover img:hover {
  transform: rotate(0deg) scale(1.05);
}

@media (max-width: 768px) {
  .hero-book-cover {
    display: none;
  }
}

@media (min-width: 992px) {
  .hero-book-cover img {
    transform: translateX(-2rem) rotate(-1deg); /* 👈 Shift left */
  }

  .hero-book-cover img:hover {
    transform: translateX(-2rem) rotate(0deg) scale(1.05);
  }
}

/* ✅ Glass panel behind text */
.hero-glass {
  background: rgba(0, 0, 0, 0.6); /* dark translucent overlay */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .hero-glass {
    padding: 1.5rem;
  }
} 

/* Genre pill */
.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;
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.5625rem;
}

/* Title */
.hero .book-hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
  line-height: 1.15;
}

/* Subtitle */
.hero .book-hero-content .book-subtitle {
  font-size: 1.875rem;
  color: color-mix(in srgb, var(--heading-color), transparent 15%);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Author */
.hero .book-hero-content .author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero .book-hero-content .author span,
.hero .book-hero-content .author h3 {
  font-size: 1.5625rem;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0;
}

/* Description */
.hero .book-hero-content .book-description {
  margin-bottom: 2rem;
  color: var(--default-color);
  font-size: 1.5625rem;
  line-height: 1.6;
}

/* CTA Buttons */
.hero .book-hero-content .hero-cta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-family: 'Poppins', sans-serif;
}

.hero .hero-cta .btn-primary,
.hero .hero-cta .btn-outline {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  padding: 0.875rem 2.25rem;
  border-radius: 3.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: grid;
  place-items: center;
}

.hero .hero-cta .btn-primary {
  background-color: #1483C1;
  color: var(--contrast-color);
}

.hero .hero-cta .btn-primary:hover {
  background-color: color-mix(in srgb, #1483C1, white 15%);
  transform: translateY(-0.1875rem);
}

.hero .hero-cta .btn-outline {
  border: 0.125rem solid #FFDD72;
  color: #FFDD72;
}

.hero .hero-cta .btn-outline:hover {
  background-color: color-mix(in srgb, #FFDD72, transparent 90%);
  transform: translateY(-0.1875rem);
}

/* Book Cover Styles */
.hero .book-cover {
  position: relative;
  transform: rotate(-3deg);
  transition: all 0.5s ease;
  max-width: 25rem;
}

.hero .book-cover .book-shadow {
  position: absolute;
  bottom: -1.25rem;
  left: 10%;
  width: 80%;
  height: 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  filter: blur(0.9375rem);
  border-radius: 50%;
  z-index: -1;
}

/* Responsive Tweaks */
@media (max-width: 992px) {
  .hero {
    padding: 6.25rem 0 3.75rem;
  }

  .hero .book-hero-content h1 {
    font-size: 3rem;
  }

  .hero .book-subtitle,
  .hero .book-description,
  .hero .author span,
  .hero .author h3 {
    font-size: 1.25rem;
  }
}

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

  .hero .book-hero-content h1 {
    font-size: 2.25rem;
  }

  .hero .book-hero-content .book-subtitle,
  .hero .book-description,
  .hero .author span,
  .hero .author h3 {
    font-size: 1.125rem;
  }

  .hero .book-cover {
    margin: 2.5rem auto 0;
  }
}
@media (max-width: 768px) {
  .hero {
    text-align: center;
    padding: 5rem 0 2.5rem;
  }

  /* 📌 Pill: genre tag smaller */
  .hero .book-hero-content .book-genre {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
  }

  /* 📌 Title size remains readable */
  .hero .book-hero-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  /* 📌 Subtitle larger for legibility */
  .hero .book-hero-content .book-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  /* 📌 Author span should match h3 */
  .hero .book-hero-content .author {
    justify-content: center;
    margin-bottom: 1.25rem;
  }

  .hero .book-hero-content .author span,
  .hero .book-hero-content .author h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--heading-color);
  }

  /* 📌 Description slightly smaller */
  .hero .book-hero-content .book-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  /* 📌 CTA buttons: centered and tighter */
  .hero .book-hero-content .hero-cta {
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero .hero-cta .btn-primary,
  .hero .hero-cta .btn-outline {
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    width: auto;
    margin: 0 auto;
  }

  .hero .book-cover {
    margin: 2.5rem auto 0;
  }
}



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

.about .about-book-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;        /* ensures the image centers if inline-block */
}

.about .about-book-img img {
  width: 75%;
  height: auto;
  display: block;
  margin: 0 auto;            /* this centers the image 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: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

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

.about .about-book-img .book-details .detail-item i {
  font-size: 20px;
  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: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 2px;
}

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

/* Optional: Make elements bigger on larger screens */
@media (min-width: 992px) {
  .about .about-book-img .book-details .detail-item i {
    font-size: 1.75rem; /* 28px */
  }

  .about .about-book-img .book-details .detail-item div span {
    font-size: 1rem; /* 16px */
  }

  .about .about-book-img .book-details .detail-item div p {
    font-size: 1.5rem; /* 24px */
  }
}

.about .about-book-img:hover {
  transform: translateY(-10px);
}

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

.about .about-book-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.about .about-book-content .book-category {
  display: flex;
  gap: 15px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.about .about-book-content .book-category span {
  font-size: 20px;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.about .about-book-content .book-category span i {
  font-size: 20px;
}

.about .about-book-content p {
  color: var(--default-color);
  font-size: 1.25rem;            /* ⬆︎ 20px for easier long-form reading */
  line-height: 1.8;              /* ⬆︎ More vertical breathing room */
  letter-spacing: 0.005em;       /* Mild tracking for clarity */
  max-width: 70ch;               /* Line length optimal for legibility */
  margin-bottom: 2rem;           /* Consistent block spacing */
}

@media (min-width: 992px) {
  .about .about-book-content p {
    font-size: 1.3125rem;        /* 21px on large screens */
    line-height: 1.85;
  }
}

.about .about-book-content .highlights {
  margin-top: 30px;
  margin-bottom: 30px;
}

.about .about-book-content .highlights h3 {
  font-size: 20px;
  color: var(--heading-color);
  margin-bottom: 16px;
  font-weight: 600;
}

.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: 10px;
  margin-bottom: 12px;
}

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

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

.about .about-book-content .about-book-cta {
  
    font-family: 'Poppins', sans-serif;display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about .about-book-content .about-book-cta i {
  transition: transform 0.3s ease;
}

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

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

@media (max-width: 992px) {
  .about .about-book-content h2 {
    font-size: 28px;
  }
}

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

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

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

.desktop-only { display: block; }
.mobile-only { display: none; }

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


.section-title {
  margin-bottom: 20px;
}


/* Default size (mobile-first) */
h2 {
  font-size: 1.75rem; /* Adjust this if you want smaller on mobile */
  line-height: 1.2;
}

/* Desktop only enhancement */
@media (min-width: 769px) {
  h2 .desktop-only {
    font-size: 2.75rem; /* Make it larger on desktop */
    font-weight: 700;
    line-height: 1.2;
    display: inline;
  }
}


.shadow-reveal-section {
  position: relative;
  overflow: hidden;
}

.shadow-reveal-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.6) 10%,
    rgba(0, 0, 0, 0.2) 30%,
    rgba(0, 0, 0, 0.1) 45%,
    rgba(0, 0, 0, 0.1) 55%,
    rgba(0, 0, 0, 0.2) 70%,
    rgba(0, 0, 0, 0.6) 90%,
    rgba(0, 0, 0, 0.75) 100%
  ),
  linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    transparent 20%,
    transparent 80%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
  transition: opacity 1.2s ease-in-out;
  opacity: 1;
}

.shadow-reveal-section.revealed::before {
  opacity: 0;
}
/*--------------------------------------------------------------
# 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 {
  padding: 80px 0;
  background-color: var(--background-color);
  overflow: hidden;
}

.excerpt .section-title h2 {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.excerpt .book-excerpt-wrapper {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 15px;
}

.excerpt .book-page-design {
  background-color: var(--surface-color);
  padding: 50px 40px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.excerpt .book-page-design::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
}

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

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



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

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

.excerpt .excerpt-content {
  font-family: 'Inknut Antiqua', serif;
  font-size: 18px;
  line-height: 1.85;
  color: var(--default-color);
}

.excerpt .excerpt-content p {
  margin-bottom: 24px;
  text-align: justify;
}

.excerpt .excerpt-content .first-letter:first-letter {
  font-size: 3.2em;
  float: left;
  line-height: 1;              /* Let the letter align more naturally */
  margin-right: 12px;
  margin-top: 0.10em;          /* ⬅️ Moves it downward slightly */
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 700;
}

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

.excerpt .page-decoration {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}



.excerpt .cta-wrapper .btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--surface-color);
  color: var(--accent-color);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 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 i {
  transition: transform 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .excerpt .chapter-title {
    font-size: 22px;
  }

  .excerpt .excerpt-content {
    font-size: 16.5px;
    line-height: 1.75;
  }
}

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

  .excerpt .book-page-design {
    padding: 32px 20px;
  }

  .excerpt .excerpt-content {
    font-size: 16px;
  }

  .excerpt .chapter-title {
    font-size: 20px;
  }

  .excerpt .excerpt-content .first-letter:first-letter {
    font-size: 2.8em;
  }
}

.page-decoration {
  font-family: 'UnifrakturCook', cursive;
  font-size: 32px;
  text-align: center;
  color: color-mix(in srgb, var(--accent-color), transparent 30%);
  margin-top: 40px;
  letter-spacing: 0.2em;
  user-select: none;
  line-height: 1;
}

.page-decoration {
  animation: glowFade 6s ease-in-out infinite;
}

@keyframes glowFade {
  0%, 100% { opacity: 0.6; text-shadow: 0 0 4px rgba(255, 221, 114, 0.2); }
  50% { opacity: 1; text-shadow: 0 0 6px rgba(255, 221, 114, 0.4); }
} 

.excerpt-toggle-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center; /* ✅ Center the entire block */
}

.excerpt-toggle-buttons .expanded-cta {
  display: flex;
  gap: 1.25rem;              /* ✅ Space between buttons */
  flex-wrap: wrap;
  justify-content: center;   /* ✅ Center inside flex container */
}

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

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



.about-author .author-image {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.about-author .author-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.65) 60%,
      transparent 100%
    );
  filter: blur(12px);
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.about-author .author-image img {
  position: relative;
  border-radius: 10px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.3), /* downward drop */
    0 0 50px rgba(10, 20, 30, 0.3);  /* ambient glow */
  width: 100%;
  z-index: 1;
}
.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;
  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 {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
  font-style: italic;
}

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

.about-author .author-info .author-bio p {
  color: var(--default-color) !important;
  font-family: var(--default-font) !important;
  font-size: 1.3rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.75rem !important;
  max-width: 65ch !important;
  text-wrap: pretty;
  text-align: justify !important;
  hyphens: auto !important;
}

@media (max-width: 768px) {
  .about-author .author-info .author-bio p {
    font-size: 1.3rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1.25rem !important;
  }
}

@media (max-width: 768px) {
  .about-author .author-info .author-bio p {
    font-size: 16.5px;
    line-height: 1.7;
  }
}

.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 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@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;
  }
}
/* Cinematic scatter shadow reveal */
.shadow-reveal-spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.shadow-reveal-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at center,
      transparent 0%,
      rgba(10, 10, 20, 0.15) 40%,
      rgba(10, 10, 20, 0.3) 60%,
      rgba(10, 10, 20, 0.5) 80%,
      rgba(10, 10, 20, 0.7) 100%
    );

  opacity: 1;
  mix-blend-mode: multiply;
  transition: opacity 1.5s ease-in-out;
}

.shadow-reveal-spotlight.revealed::before {
  opacity: 0;
}
/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  overflow: hidden;
}

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

.testimonials .critic-reviews .critic-review {
  background-color: var(--surface-color);
  padding: 30px;
  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;
  }
}

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

.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);
}

@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;
  }
}

/*--------------------------------------------------------------
# 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 .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;
  gap: 12px;
}

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

.contact .contact-card .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.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);
}

@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;
  }
}

.loading { display: none; color: #888; }
.error-message { color: red; display: none; }
.sent-message { color: green; display: none; }

/*--------------------------------------------------------------
# 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;
}

@media (max-width: 768px) {
  .related-books .related-book-card .book-image img {
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
  }

  .related-books .related-book-card .book-image {
    padding: 10px 0;
  }
}

.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: var(--contrast-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-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-image img {
    max-width: 200px;
  }
}

.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;
  }
}

/*--------------------------------------------------------------
# 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;
  }
}