/* Base Header Styles */
@import url('https://fonts.googleapis.com/css2?family=Oooh+Baby&display=swap');

:root {
  --header-height: 160px;
  --header-height-min: 80px;
  --mobile-header-height: 80px;
  /* Defined for mobile */
}

/* Mobile devices (below 600px) */
@media screen and (max-width: 600px) {
  :root {
    --header-height: 80px;
    /* Reduced height for mobile */
    --header-height-min: 70px;
  }
}

/* Tablets (600px - 768px) */
@media screen and (min-width: 601px) and (max-width: 768px) {
  :root {
    --header-height: 100px;
    /* Slightly larger for tablets */
    --header-height-min: 80px;
  }
}

/* Header Wrapper */
#header-wrap {
  position: relative;
  z-index: 1000;
  width: 100%;
  transition: all 0.3s ease;
}

/* Header */
#header {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #E0E0E0;
  transition: all 0.3s ease;
}

/* Sticky Header */
#header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

/* Logo */
.main-logo img {
  max-height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

#header.sticky .main-logo img {
  max-height: 50px;
}

/* Desktop Navigation */
.menu-list {
  display: none;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.menu-item {
  margin-left: 1.5rem;
  position: relative;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active,
.menu-list li a:hover,
.buy-now-btn:hover,
.menu-item.active a {
  color: var(--accent-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Submenu Styles */
.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--light-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 150px;
  border-radius: 4px;
}

.submenu-item {
  padding: 0;
}

.submenu-link {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--dark-color);
  text-decoration: none;
  font-family: var(--body-font);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.submenu-link:hover {
  background: rgba(190, 103, 55, 0.1);
  color: var(--accent-color);
}

.menu-list.d-none.d-md-flex .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

.menu-list.d-none.d-md-flex .menu-item:hover .submenu {
  display: block;
}

.menu-item:has(.submenu) .nav-link::after {

  font-size: 0.6rem;
  margin-left: 0.3rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.menu-item[aria-expanded="true"] .nav-link::after {
  transform: rotate(180deg);
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  margin-left: auto;
  z-index: 1001;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--light-color);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1);
  overflow-y: auto;
  padding: 1rem;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu .menu-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.mobile-menu .menu-item {
  margin: 0;
  width: 100%;
}

.mobile-menu .nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  text-align: left;
}

.mobile-menu .submenu {
  display: none;
  padding-left: 1.5rem;
  background: rgba(190, 103, 55, 0.05);
}

.mobile-menu .submenu.active {
  display: block;
}

/* Action Menu (Search Bar, Language Toggle) */
.action-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.action-menu .search-bar,
.action-menu .open-icon-wrap {
  width: 40px;
  height: 40px;
  background: #efeee8;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-menu .search-bar:hover,
.action-menu .open-icon-wrap:hover {
  background: var(--accent-color);
  color: #fff;
}

.action-menu .icon {
  font-size: 16px;
  font-weight: 800;
}

.action-menu .search-bar {
  overflow: hidden;
}

/* Language Toggle */
.lang-toggle-item {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

/* Language Toggle Container */
.lang-toggle-container {
  display: inline-flex;
  align-items: center;
  width: 82px;
  height: 32px;
  border: 1px solid var(--dark-color);
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Language Buttons */
.lang-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--dark-color);
  text-align: center;
  padding: 0;
  margin: 0 3px;
  z-index: 1;
  transition: color 0.3s ease;
  cursor: pointer;
}

.lang-btn.active {
  color: #fff;
  /* White text for contrast on active */
}

/* Sliding Knob */
.lang-toggle-container::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 38px;
  height: 26px;
  background: var(--accent-color);
  border-radius: 13px;
  transition: transform 0.3s ease;
  z-index: 0;
}

/* Knob Positioning */
.lang-toggle-container[data-lang="en"]::before {
  transform: translateX(0);
}

.lang-toggle-container[data-lang="it"]::before {
  transform: translateX(38px);
}

/* Hover and Focus States */
.lang-toggle-container:hover {
  background: rgba(190, 103, 55, 0.1);
}

.lang-btn:hover:not(.active) {
  color: var(--accent-color);
}

.lang-btn:focus {
  outline: none;
}

.lang-btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Remove Separator */
.lang-separator {
  display: none;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .lang-toggle-container {
    width: 70px;
    height: 28px;
    font-size: 0.8rem;
  }

  .lang-toggle-container::before {
    width: 33px;
    height: 22px;
  }

  .lang-toggle-container[data-lang="it"]::before {
    transform: translateX(33px);
  }
}

/* Floating Language Toggle */
.floating-lang-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.lang-toggle-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-color);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.lang-toggle-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}


/* Extra Small Devices (Phones, <576px) */
@media (max-width: 575.98px) {
  #header {
    padding: 0.5rem 0.75rem;
  }

  .main-logo img {
    max-height: 45px;
  }

  #header.sticky .main-logo img {
    max-height: 40px;
  }

  .hamburger {
    width: 25px;
    height: 18px;
  }

  .bar {
    height: 2.5px;
  }

  .mobile-menu {
    top: var(--header-height-min);
    height: calc(100vh - var(--header-height-min));
    padding: 0.75rem;
  }

  .mobile-menu .nav-link {
    font-size: 0.95rem;
    padding: 0.6rem 0;
  }

  .action-menu .search-bar,
  .action-menu .open-icon-wrap {
    width: 36px;
    height: 36px;
  }

  .action-menu .icon {
    font-size: 14px;
  }

  .floating-lang-toggle {
    bottom: 15px;
    right: 15px;
  }

  .lang-toggle-btn {
    width: 45px;
    height: 45px;
    font-size: 12px;
  }
}

/* Small Devices (Landscape Phones, 576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #header {
    padding: 0.5rem 1rem;
  }

  .main-logo img {
    max-height: 50px;
  }

  #header.sticky .main-logo img {
    max-height: 45px;
  }

  .mobile-menu {
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    padding: 1rem;
  }

  .mobile-menu .nav-link {
    font-size: 1rem;
  }

  .action-menu .search-bar {
    width: 100%;
    max-width: 200px;
    margin-top: 0;
  }
}

/* Medium Devices (Tablets, 768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .menu-list {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .menu-item {
    margin-left: 1rem;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0;
  }

  .main-logo img {
    max-height: 55px;
  }

  #header.sticky .main-logo img {
    max-height: 50px;
  }

  .action-menu .search-bar {
    width: 150px;
  }
}

/* Large Devices (Desktops, 992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .menu-item {
    margin-left: 1.25rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .main-logo img {
    max-height: 60px;
  }
}

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
  .menu-item {
    margin-left: 1.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .main-logo img {
    max-height: 65px;
  }
}

/* Theme Colors */
:root {
  --accent-color: #be6737;
  --secondary-color: #C5A992;
  --dark-color: #733917;
  --light-color: #F3F2EC;
  --body-text-color: #302f13;
  --light-text-color: #afafaf;
  --dark-text-color: #2f2f2f;
}

/* Fonts */
:root {
  --body-font: "Raleway", sans-serif;
  --secondary-font: "Playfair Display", Georgia, serif;
}

/* Bootstrap variables */
:root,
[data-bs-theme=light] {
  --heading-font: 'Oooh Baby', cursive, sans-serif;
  --heading-font-weight: 400;
  --heading-color: var(--bs-dark);
  --heading-line-height: 1.1;

  --swiper-theme-color: var(--bs-primary);

  --custom-easing: cubic-bezier(.17, .67, .83, .67);

  /* theme colors */
  --bs-body-font-family: "Raleway", arial, sans-serif;
  --bs-body-font-size: 0.8rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.7;
  --bs-body-color: #161616;
  --bs-body-color-rgb: 51, 51, 51;

  --bs-primary: #C5A992;
  --bs-primary-dark: #C5A992;
  --bs-secondary: #C5A992;
  --bs-black: #111;
  --bs-light: #F1F1F0;
  --bs-dark: #595625;
  --bs-gray: #949494;
  --bs-gray-dark: #51565b;

  --bs-primary-rgb: 169, 128, 115;
  --bs-secondary-rgb: 253, 238, 233;
  --bs-black-rgb: 17, 17, 17;
  --bs-light-rgb: 241, 241, 240;
  --bs-dark-rgb: 33, 37, 41;

  --bs-link-color: var(--bs-dark);
  --bs-link-color-rgb: 17, 17, 17;
  --bs-link-decoration: underline;
  --bs-link-hover-color: var(--bs-primary);
  --bs-link-hover-color-rgb: 169, 128, 115;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  /* spacing */
  --bs-gutter-x: 2.5rem;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  line-height: var(--heading-line-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #595625;
}

a {
  text-decoration: none;
  transition: all 0.3s ease-out;
}

/* container fluid */
.container-fluid {
  /* width: 98%; */
  max-width: 1800px;
}

/* Dropdown */
.dropdown-menu {
  --bs-dropdown-border-radius: 0;
  --bs-dropdown-border-width: 0;
}

.dropdown-item {
  --bs-dropdown-item-padding-y: 0.25rem;
  --bs-dropdown-item-padding-x: 1rem;
  --bs-dropdown-link-color: var(--bs-black);
  --bs-dropdown-item-border-radius: 0;
}

.dropdown-item.active,
.dropdown-item:active {
  --bs-dropdown-link-active-color: var(--bs-light);
  --bs-dropdown-link-active-bg: var(--bs-black);
}

/* list group */
.list-group-item {
  --bs-list-group-item-padding-x: 0;
  --bs-list-group-border-width: 0;
}

/* btn */
.btn {
  --bs-btn-border-radius: 0;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-primary-dark);
  --bs-btn-hover-border-color: var(--bs-primary-dark);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-secondary);
  --bs-btn-active-border-color: var(--bs-secondary);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--bs-primary);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--bs-primary);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--bs-primary);
  --bs-gradient: none;
}

.pagination {
  --bs-pagination-active-bg: var(--bs-black);
  --bs-pagination-bg: transparent;
  --bs-pagination-border-width: 0;
  --bs-pagination-border-radius: 0;
}

/* breadcrumb */
.breadcrumb {
  --bs-breadcrumb-item-padding-x: 1em;
}

/* text white */
.text-white {
  --heading-color: var(--bs-light);
  --bs-breadcrumb-item-active-color: var(--bs-light);
  --bs-breadcrumb-divider-color: var(--bs-light);
  --bs-link-color-rgb: var(--bs-light-rgb);
  --bs-link-hover-color-rgb: var(--bs-light-rgb);
}

.text-white .nav-link {
  --bs-nav-link-color: var(--bs-light);
  --bs-nav-link-hover-color: var(--bs-light);
  --bs-nav-link-active-color: var(--bs-light);
  --bs-navbar-active-color: var(--bs-light);
}

/* accordion */
.accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 1rem;
  --bs-accordion-btn-color: var(--bs-dark);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-btn-focus-border-color: var(--bs-dark);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 1rem;
  --bs-accordion-active-color: var(--bs-dark);
  --bs-accordion-active-bg: transparent;
}

.accordion-button {
  font-size: 1.2rem;
  border-bottom: 1px solid var(--bs-border-color);
}

/* form control */
.form-control:focus {
  border-color: #ccc;
  box-shadow: 0 0 0 0.25rem rgba(200, 200, 200, .25);
}

/* dark theme */
[data-bs-theme=dark] {
  color-scheme: dark;

  --heading-color: #fff;
  --bs-heading-color: #fff;
  --bs-link-color: #CCCCCC;
  --bs-link-hover-color: var(--bs-primary);
  --bs-link-color-rgb: 204, 204, 204;
  --bs-link-hover-color-rgb: 131, 169, 172;
  --bs-body-color: var(--bs-light);
  --bs-body-color-rgb: 241, 241, 240;
  --bs-body-bg: #111;
  --bs-body-bg-rgb: 17, 17, 41;

  color: var(--bs-gray);
}

[data-bs-theme=dark] .dropdown-item {
  --bs-dropdown-link-color: var(--bs-light);
  --bs-dropdown-link-hover-color: var(--bs-white);
}

[data-bs-theme=dark] .bg-white,
[data-bs-theme=dark] .bg-light {
  --bs-bg-opacity: 0.1;
}

/* end of Bootstrap Color Theme */

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 3rem;
}

/* 2.1 General Styles
/*----------------------------------------------*/
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  font-size: 16px;

  color: var(--body-text-color);
  background-color: #e7e2d6;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: var(--accent-color);
  transition: 0.3s color ease-out;
}

a:hover {
  color: #111;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
  margin-left: 0;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin-top: 5px;
  margin-bottom: 0;
}

ul li,
ol li {
  margin-bottom: 5px;
  outline: 0;
}

ul li.active a {
  color: #daa556;
}

ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}

dl {
  margin-top: 0;
  margin-bottom: 2rem;
}

dt,
dd {
  line-height: 1.42857143;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: 0;
}

figure {
  margin: 0;
}

img {
  display: inline-block;
  border: 0;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

::selection {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-shadow: none;
}

/* image align */
figure.align-right {
  margin: 30px 0 30px 30px;
}

/* Typography */
/*----------------------------------------------*/

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--heading-font);
  line-height: 1.2;
  color: var(--dark-color);
}

h1.light,
.h1,
h2.light,
.h2,
h3.light,
.h3,
h4.light,
.h4,
h5.light,
.h5,
h6.light,
.h6 {
  color: #fff;
}

h1,
h2,
h3 {
  margin: 25px 0;
  text-transform: capitalize;
}

h5,
h6 {
  letter-spacing: 1px;
}

h1,
.h1 {
  font-size: 2.5em;
  line-height: 1.4;
}

h2,
.h2 {
  font-size: 1.5em;
  line-height: 1.4;
}

h3,
.h3 {
  font-size: 1.4em;
  line-height: 1.4;
}

h4,
.h4 {
  font-size: 1.1em;
  line-height: 1.4;
}

h5,
.h5 {
  font-size: .83em;
  line-height: 1.25;
}

h6,
.h6 {
  font-size: .67em;
  line-height: 1.1;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  font-weight: inherit;
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 20px 0;
}

p:empty {
  display: none;
}

small {
  font-size: 85%;
}

mark {
  background-color: #fcf8e3;
  padding: 0.28rem;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

code,
kbd,
var {
  font-size: 14px;
}

code {
  background-color: #f9f2f4;
}

abbr {
  border-bottom: 0.1px dotted #666;
  cursor: help;
}

::placeholder {
  color: #999;
}

/*----------------------------------------------*/
/* 2.1 Floating & Alignment */
/*----------------------------------------------*/

.align-left {
  float: left;
  text-align: left;
}

.align-right {
  float: right;
  text-align: right;
}

.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/**::after,*/
.container::after,
.row::after,
.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

/** Text Align
--------------------------------------------------------------*/

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.text-nowrap {
  white-space: nowrap;
}

.text-lead {
  font-size: 120%;
  line-height: 1.7em;
}

.text-lead strong {
  font-size: 115%;
  font-weight: 500;
}

.text-muted {
  color: #777;
}

.text-pri {
  color: #ff9697;
}

.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

/*------------------------------------------------
/* 2.3 Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
}

/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0;
}

label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
}

fieldset {
  padding: 0;
  border-width: 0;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline;
}

label>.label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal;
}

/*------------------------------------------------
/* 2.4 Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside;
}

ol {
  list-style: decimal inside;
}

ol,
ul {
  padding-left: 0;
  margin-top: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%;
}

li {
  margin-bottom: 1rem;
}

/*------------------------------------------------
/* 2.5 Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px;
}

pre>code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre;
}

/*------------------------------------------------
/* 2.6 Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  text-align: left;
  border-bottom: 1px solid #E1E1E1;
}

th:first-child,
td:first-child {
  padding-left: 0;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

/*------------------------------------------------
/* 2.7 Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem;
}

input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem;
}

pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 1.5rem;
}

/*------------------------------------------------
/* 2.8 Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box;
}

.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box;
}

.u-pull-right {
  float: right;
}

.u-pull-left {
  float: left;
}

.list-icon i {
  margin-right: 10px;
}

.list-unstyled {
  list-style: none;
}

.txt-fx .letter {
  opacity: 0;
}

/*------------------------------------------------
/* 2.9 Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1;
}

/*--------------------------------------------------------------
/** 2.10 Buttons
--------------------------------------------------------------*/
a.btn,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="file"],
button {
  background-image: none;
  background: var(--accent-color);
  text-decoration: none !important;
  display: inline-block;
  position: relative;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.75em 1.5em;
  font-size: 15px;
  font-weight: bold;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  z-index: 1;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn:hover,
.btn:focus,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="file"]:focus,
input[type="file"]:hover,
button:focus,
button:hover {
  text-decoration: none;
  outline: 0;
}

.light .btn:hover {
  color: #fff;
}

.btn:last-child {
  margin-right: 0;
}

.btn:active,
.btn.btn-outline-light:active,
.btn.btn-outline-dark:active,
.btn.btn-outline-accent:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="file"]:active,
button:active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}

/* - Button Sizes
------------------------------------------------------------- */
.btn.btn-small {
  padding: 0.325em 1.7em;
  font-size: 0.65em;
}

.btn.btn-medium {
  padding: 0.5em 1.75em;
  font-size: 0.75em;
}

.btn.btn-large {
  padding: 1em 2.5em;
}

.btn.btn-xlarge {
  padding: 1.5em 2.7em;
  font-size: 0.9em;
}

.btn.btn-image {
  background-color: transparent;
  padding: 0;
  max-height: 50px;
}

.btn.btn-image img {
  max-height: 50px;
}

/* - Button Shapes
------------------------------------------------------------- */
.btn.btn-rounded,
.btn.btn-rounded::after {
  border-radius: 34px;
}

.btn.btn-pill,
.btn.btn-pill::after {
  border-radius: 2em;
}

/* button outline */
.btn.btn-outline-dark,
.btn.btn-outline-light,
.btn.btn-outline-accent {
  border: 1px solid #fff;
  background: transparent;
  text-shadow: none;
  box-shadow: none;
}

.btn.btn-outline-dark:hover::after,
.btn.btn-outline-light:hover::after {
  background-color: transparent;
}

.btn.btn-outline-dark {
  border-color: #121212;
  color: #121212;
}

.btn.btn-outline-dark:hover {
  background: rgba(0, 0, 0, .03);
  background: #121212;
  border-color: #121212;
  color: #fff;
}

.btn.btn-outline-accent {
  background: transparent;
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn.btn-outline-accent:hover {
  border-color: var(--dark-color);
  color: var(--dark-color) !important;
}

.btn.btn-outline-light {
  background: transparent;
  border-color: var(--light-text-color);
  color: var(--light-text-color);
}

.btn.btn-outline-light:hover {
  border-color: var(--accent-color);
  color: var(--accent-color) !important;
}

.btn.btn-full {
  display: block;
  margin: .85em 0;
  width: 100%;
  text-align: center;
}

/* button with line */
.btn-with-line {
  color: #fff;
  position: relative;
}

.btn-with-line:after {
  content: "";
  position: absolute;
  top: 8px;
  right: -66px;
  border-bottom: 2px solid #fff;
  width: 50%;
  z-index: 9;
  transition: 0.3s ease-out;
}

.btn-with-line:hover {
  color: #fff;
}

.btn-with-line:hover:after {
  width: 30%;
  right: -41px;
}

/* - Buttons Color Scheme
------------------------------------------------------------- */
.btn.btn-common {
  background: var(--accent-color);
  color: #fff;
}

.btn.btn-common:hover {
  background: #151515;
  color: #fff;
}

.btn.btn-accent {
  color: #ffffff;
  background-color: var(--accent-color);
}

.btn.btn-accent:hover {
  color: #ffffff !important;
  background-color: #121212;
}

.btn.btn-gray,
.btn.btn-grey {
  background: #9e9e9e;
  color: #fff;
}

.btn.btn-black {
  background: #121212;
  color: #fff;
}

.btn.btn-black:hover {
  background-color: #797979;
}

.btn.btn-white {
  background: #f8f8f8;
  text-shadow: none;
  color: #121212 !important;
}

.btn.btn-white:hover {
  background: var(--accent-color);
  text-shadow: none;
}

/* - Buttons Aligns
------------------------------------------------------------- */
.btn-left {
  text-align: left;
  display: block;
}

.btn-center {
  text-align: center;
  display: block;
}

.btn-right {
  text-align: right;
  display: block;
}


/*====================================================================*/
/* 5. CONTENT ELEMENTS */
/*====================================================================*/

/*--------------------------------------------------------------
/** 5.1 General Tabs
--------------------------------------------------------------*/
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .nav-link {
    transition: none;
  }
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent-color);
}

.nav-link.disabled {
  color: #6c757d;
  pointer-events: none;
  cursor: default;
}

.nav-tabs {
  border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
  color: #999;
  padding: 10px 30px;
  margin-bottom: -1px;
  background: none;
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  border-color: #e9ecef #e9ecef #dee2e6;
  isolation: isolate;
}

.nav-tabs .nav-link.disabled {
  color: #6c757d;
  background-color: transparent;
  border-color: transparent;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #495057;
  border-color: #dee2e6 #dee2e6 #f3f2ec;
  --bs-nav-tabs-link-active-bg: transparent;
}

.nav-tabs .dropdown-menu {
  margin-top: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.nav-pills .nav-link {
  background: none;
  border: 0;
  border-radius: 0.25rem;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: #fff;
  background-color: #0d6efd;
}

.nav-fill>.nav-link,
.nav-fill .nav-item {
  flex: 1 1 auto;
  text-align: center;
}

.nav-justified>.nav-link,
.nav-justified .nav-item {
  flex-basis: 0;
  flex-grow: 1;
  text-align: center;
}

.nav-fill .nav-item .nav-link,
.nav-justified .nav-item .nav-link {
  width: 100%;
}

.bootstrap-tabs .tab-content {
  padding: 20px 0;
}

.bootstrap-tabs .tab-content>.tab-pane {
  display: none;
}

.bootstrap-tabs .tab-content>.active {
  display: block;
}

/*--------------------------------------------------------------
/** 5.2 Accordions
--------------------------------------------------------------*/
.fade {
  transition: opacity 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
  .fade {
    transition: none;
  }
}

.fade:not(.show) {
  opacity: 0;
}

.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .collapsing {
    transition: none;
  }
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow-anchor: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  .accordion-button {
    transition: none;
  }
}

.accordion-button:not(.collapsed) {
  color: var(--accent-color);
  /*box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);*/
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .accordion-button::after {
    transition: none;
  }
}

.accordion-button:hover {
  z-index: 2;
}

.accordion-button:focus {
  z-index: 3;
  outline: 0;
  box-shadow: none;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-item {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.accordion-body {
  padding: 1rem 1.25rem;
}

.accordion-flush .accordion-collapse {
  border-width: 0;
}

.accordion-flush .accordion-item {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.accordion-flush .accordion-item:first-child {
  border-top: 0;
}

.accordion-flush .accordion-item:last-child {
  border-bottom: 0;
}

.accordion-flush .accordion-item .accordion-button {
  border-radius: 0;
}

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/


/* - Section Padding
--------------------------------------------------------------*/
.padding-xsmall {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.padding-small {
  padding-top: 2em;
  padding-bottom: 2em;
}

.padding-medium {
  padding-top: 4em;
  padding-bottom: 4em;
}

.padding-xlarge {
  padding-top: 9.5em;
  padding-bottom: 9.5em;
}

.padding-2xlarge {
  padding-top: 15em;
  padding-bottom: 15em;
}

/* no padding */
.no-padding-top {
  padding-top: 0 !important;
}

.no-padding-bottom {
  padding-bottom: 0 !important;
}

.no-gutter {
  padding: 0 !important;
}

/* no padding and margin */
.no-padding {
  padding: 0;
}

.no-margin {
  margin: 0;
}

/* - Section margin
--------------------------------------------------------------*/
.margin-small {
  margin-top: 3em;
  margin-bottom: 3em;
}

.margin-medium {
  margin-top: 4.5em;
  margin-bottom: 4.5em;
}

.margin-large {
  margin-top: 6em;
  margin-bottom: 6em;
}

.margin-xlarge {
  margin-top: 7.5em;
  margin-bottom: 7.5em;
}

@media only screen and (max-width: 768px) {

  .margin-small,
  .margin-medium,
  .margin-large,
  .margin-xlarge {
    margin-top: 1em;
    margin-bottom: 1em;
  }
}

/* - Button
------------------------------------------------------------- */

button {
  font-size: 1em;
  font-weight: 600;
  border: none;

  cursor: pointer;
  text-transform: uppercase;
}

.btn-wrap {
  text-transform: capitalize;
}

.btn-wrap a {
  text-decoration: none;
  font-weight: 600;
}

.btn-wrap a:hover {
  color: #74642F;
}

.btn-normal {
  color: #fff;
}

.btn-accent {
  color: #111;
}

.btn-submit {
  background: #fff;
  color: #2f2f2f;
}

.btn-submit:hover {
  background-color: #c5a992;
  color: #fff;
}

.btn-accent-arrow {
  color: #111;
}

.btn-wrap i.icon {
  transition: 0.5s ease-out;
  font-size: 9px;
  padding-left: 10px;
}

.btn-wrap:hover i.icon {
  padding-left: 20px;
}

.btn-subscribe {
  width: 30%;
  color: #111;
  background: transparent;
  margin: 0;
  height: max-content;
}

.btn-subscribe span {
  transition: 0.5s ease-out;
  padding-right: 5px;
  opacity: 1;
}

.btn-subscribe:hover span {
  padding-right: 10px;
  opacity: 0.5;
}

/*--- Image hover Effect
-----------------------------------------------*/
.image-hvr-effect {
  display: flex;
  overflow: hidden;
}

.image-hvr-effect img.post-image {
  transform: scale(1);
  will-change: transform;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.image-hvr-effect:hover img.post-image {
  transform: scale(1.1);
}


/*--- Pattern Overlay
-----------------------------------------------*/
.pattern-overlay {
  background-image: url(images/pattern1.png);
  background-repeat: no-repeat;
  background-position: top right;
}

.leaf-pattern-overlay {
  background-image: url(images/leaf.png);
  background-repeat: no-repeat;
  background-position: bottom left;
}

.corner-pattern-overlay {
  background-image: url(images/pattern2.png);
  background-repeat: no-repeat;
  background-position: top right;
}

/*--- Page Title
-----------------------------------------------*/
.page-title {
  font-size: 4.5em;
  margin-top: 2em;
}

@media screen and (max-width: 768px) {
  .page-title {
    font-size: 2.5em;
    margin-top: 1em;
  }
}

/*--- Section Title
-----------------------------------------------*/
.section-header {
  position: relative;
}

.section-title {
  font-size: 3em;
  font-weight: 500;
  line-height: 1;
  position: relative;
  margin-bottom: 35px;
}

.section-title.divider {
  width: 100%;
}

.section-title.divider:after {
  content: "";
  border-bottom: 3px solid #74642f18;
  position: absolute;
  right: 0;
  bottom: -16px;
  left: 0;
  width: 50px;
}

.section-header .section-title:before,
.section-header .section-title:after {
  content: "";
  border-bottom: 1px solid #73391700;
  position: absolute;
  top: 30px;
  width: 25%;
  align-items: center;
}

.section-header .section-title:before {
  left: 3px;
}

.section-header .section-title:after {
  right: 3px;
}

.section-header .title span {
  font-size: 14px;
  color: #afafaf;
  text-transform: uppercase;
}


@media screen and (max-width: 1366px) {

  .section-header .section-title:before,
  .section-header .section-title:after {
    width: 30%;
  }
}

@media screen and (max-width: 999px) {

  .section-header .section-title:before,
  .section-header .section-title:after {
    width: 25%;
  }
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 2em;
  }

  .section-header .section-title:before,
  .section-header .section-title:after {
    top: 60px;
    width: 100%;
  }
}

/* -- Image Dimension
--------------------------------------------------------------*/
img.post-image {
  width: 100%;
  height: 328px;
  object-fit: cover;
}

/* -- Slick Slide
--------------------------------------------------------------*/
/* .slick-dots {
  bottom: -100px;
}

.slick-dots li {
  width: 10px;
  height: 10px;
  background: #D7D5CC;
  color: #D7D5CC;
  border-radius: 50%;
}

.slick-dots .slick-active {
  color: #74642F;
  background: #74642F;
  border: 1px solid #D7D5CC;
  outline: 1px solid #D7d5cc;
} */

/* -- Top Menu Part
--------------------------------------------------------------*/
.top-content {
  padding: 15px 0;
  border-bottom: 1px solid #E0E0E0;
}

.social-links ul {
  list-style: none;
  display: flex;
  margin-bottom: 0;
}

.social-links a {
  color: var(--dark-text-color);
  text-decoration: none;
}

.top-content li {
  padding-right: 30px;
}

.top-content li:last-child {
  padding-right: 0;
}

.top-content a {
  color: #555;
  text-decoration: none;
}

.top-content .right-element {
  text-align: right;
}

.top-content .right-element .for-buy {
  margin-right: 40px;
}

/* ======================
   RESPONSIVE HEADER
   ====================== */

/* Base Header Styles */
#header-wrap {
  position: relative;
  z-index: 1000;
  width: 100%;
}

#header {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 0.6rem 0;
}

/* Logo Container */
.main-logo img {
  max-height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

/* Desktop Navigation (768px and up) */
.menu-list {
  display: none;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  margin-left: 1.5rem;
  position: relative;
}


.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.menu-list li a:hover,
.buy-now-btn:hover,
.menu-item.active a {
  color: #bf673a;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Button (hidden on desktop) */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  /* Slightly smaller */
  height: 18px;
  cursor: pointer;
  margin-left: auto;
}

.bar {
  width: 100%;
  height: 2.5px;
  /* Thinner bars */
  background-color: var(--dark-color);
  transition: all 0.3s ease;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--light-color);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1);
  overflow-y: auto;
  padding: 0.75rem 1rem;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu .menu-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.mobile-menu .menu-item {
  margin: 0;
  width: 100%;
}

.mobile-menu .nav-link {
  display: block;
  padding: 0.6rem 0;
  font-size: 1rem;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Sticky Header */
#header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

#header.sticky .main-logo img {
  max-height: 50px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .menu-item {
    margin-left: 1.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    top: var(--mobile-header-height);
    height: calc(100vh - var(--mobile-header-height));
  }

  #header.sticky {
    padding: 0.5rem 0;
  }
}

/* ======================
   RESPONSIVE BREAKPOINTS
   ====================== */

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .menu-list {
    display: flex;
    /* Show desktop nav */
  }

  .hamburger {
    display: none;
    /* Hide hamburger */
  }

  .mobile-menu {
    display: none !important;
    /* Ensure mobile menu is hidden */
  }

  /* Adjust menu item spacing */
  .menu-item {
    margin-left: 1.25rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .menu-item {
    margin-left: 1rem;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 0.5rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .menu-item {
    margin-left: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .mobile-menu {
    top: var(--mobile-header-height);
    height: calc(100vh - var(--mobile-header-height));
  }

  .main-logo img {
    max-height: 50px;
  }
}

/* - Search Form hover Effects
------------------------------------------------------------- */
#header-wrap .action-menu {
  display: inline-block;
  align-items: baseline;
}

#header-wrap .action-menu span.opennav.openicon {
  cursor: pointer;
}

.action-menu .icon {
  font-size: 16px;
  font-weight: 800;
}

.action-menu .search-bar {
  overflow: hidden;
}

.action-menu .search-bar,
.action-menu .open-icon-wrap {
  width: 40px;
  height: 40px;
  background: #efeee8;
  border-radius: 40px;
  display: flex;
  justify-content: right;
  align-items: center;
  cursor: pointer;
  transition: 0.3s width cubic-bezier(0, 0.75, 0.49, 0.99);
}


.action-menu .side-nav-bar .menu-btn a,
.action-menu .searchbar a {
  color: #000;
  text-decoration: none;
  line-height: 2.2;
}

.action-menu .icon.icon-menu-btn:hover {
  color: #fff;
  text-decoration: none;
}

.action-menu .menu-btn a {
  color: #07051a;
  text-decoration: none;
}

.action-menu .icon.icon-menu-btn:hover {
  color: var(--accent-color);
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .action-menu .search-bar {
    margin-top: 20px;
    width: 100%;
  }
}

/* - Main Navigation
------------------------------------------------------------- */
#header {

  border-bottom: 1px solid #E0E0E0;
  background-color: #fffaf0;
  position: relative;
}

#header .menu-list a {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.12em;
}

#header .menu-list a.active {
  color: var(--accent-color);
}


/*----- Billboard
--------------------------------------------------------------*/
#billboard .main-slider {
  padding: 60px 0;
}

.main-slider .slider-item {
  display: flex;
  width: 100%;
  justify-content: center;
}

.main-slider .banner-content {
  width: 35%;
  margin-top: 60px;
  margin-right: 175px;
}

.banner-content h2.banner-title {
  font-size: 4.5em;
  font-weight: 500;
  color: #222;
}

.banner-content p {
  margin: 0 0 30px 0;
}



#billboard button.slick-arrow {
  background: transparent;
  border: 1px solid #E5E3DA;
  padding: initial;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  z-index: 5;
  cursor: pointer;
}

#billboard button.slick-arrow:hover {
  border: 1px solid #74642F;
  background-color: #E5E3DA;
}

#billboard button.prev.slick-arrow {
  left: 110px;
}

#billboard button.next.slick-arrow {
  right: 110px;
}

#billboard .slick-arrow i.icon {
  color: #8C8C8C;
}

@media screen and (max-width: 1366px) {
  #billboard button.prev.slick-arrow {
    left: 0;
  }

  #billboard button.next.slick-arrow {
    right: 0;
  }
}

@media screen and (max-width: 999px) {
  .banner-content h2.banner-title {
    font-size: 3.5em;
  }

  #billboard .main-slider {
    margin: 10px 0;
    padding: 0;
  }

  .main-slider .slider-item {
    flex-wrap: wrap;
    text-align: center;
    flex-direction: column-reverse;
  }

  .main-slider .banner-content {
    width: 100%;
    margin-top: 60px;
    margin-right: 0;
    margin-bottom: 80px;
  }


}

/*----- Cient-holder Section
--------------------------------------------------------------*/
#client-holder {
  background: #EDEBE4;
  padding: 105px 0;
}

#client-holder .logo-wrap {
  max-width: 1000px;
  margin: auto;
}

/*----- Featured Books Section
--------------------------------------------------------------*/

#featured-books .product-list {
  border-bottom: 1px solid #E0E0E0;
  margin-bottom: 30px;
}

/*----- Best Selling Section Section
--------------------------------------------------------------*/
#best-selling {
  background: #e2d4a9;
  padding: 60px 0;
}

#book-selling {
  background: #e2d4a9;
  padding: 60px 0;
}

#best-selling .products-thumb {
  margin-right: 0px;
}

#best-selling .product-entry {
  margin-top: 0px;
}

#best-selling .product-entry h3.item-title {
  font-size: 1.8em;
  font-weight: 100;
  margin-top: 10px;
}

#best-selling .product-entry .item-price {
  font-size: 1.5em;
  color: #74642F;
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  #best-selling .products-thumb {
    margin: 0;
  }
}

/*----- Popular Books Section
--------------------------------------------------------------*/
.tab-content {
  position: relative;
}

[data-tab-content] {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.active[data-tab-content] {
  opacity: 1;
  visibility: visible;
  height: auto;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 55px 0;
  justify-content: center;
  list-style: none;
}

.tabs .tab {
  font-weight: 600;
  color: #999;
  margin-right: 50px;
  cursor: pointer;
}

.tabs .tab.active,
.tabs .tab:hover {
  color: #111;
  border-bottom: 2px solid #9A884C;
}

img.books-image {
  /*height: 290px;*/
  margin-right: 10px;
  margin-bottom: 20px;
  object-fit: cover;
}

/*----- Quotation Section -----*/
#quotation {
  padding: 3rem 1rem;
  margin: 3rem 0;
}

#quotation .section-title.divider,
#quotation .section-title.divider:after {
  margin: 0 auto;
}

#quotation blockquote {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

#quotation q {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  line-height: 1.6;
  padding: 2rem 0;
  quotes: "“" "”" "‘" "’";
}

#quotation q:before {
  content: open-quote;
  font-size: 1.5em;
  line-height: 0;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

#quotation q:after {
  content: close-quote;
  font-size: 1.5em;
  line-height: 0;
  margin-left: 0.25em;
  vertical-align: -0.6em;
}

#quotation .excerpt-meta2 {
  font-family: "Prata", Georgia, serif;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-style: italic;
  margin-top: 1rem;
}

/* Responsive Adjustments */
@media screen and (min-width: 576px) {
  #quotation {
    padding: 4rem 1.5rem;
  }

  #quotation q {
    padding: 2.5rem 0;
  }
}

@media screen and (min-width: 768px) {
  #quotation {
    padding: 5rem 2rem;
  }

  #quotation blockquote {
    padding: 0 2rem;
  }

  #quotation q {
    padding: 3rem 0;
  }
}

@media screen and (min-width: 992px) {
  #quotation q {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 1200px) {
  #quotation q {
    font-size: 1.6rem;
  }
}

/*----- Special Offer Section
--------------------------------------------------------------*/
#special-offer .section-header {
  background: #595520;
  padding: 140px 0 220px;
  margin-bottom: -141px;
  z-index: -1;
}

#special-offer .section-title {
  width: 70%;
  margin: 0 auto;
}

span.prev-price {
  color: #999;
  font-size: 0.8em;
  padding-right: 10px;
  text-decoration: line-through;
}


/*----- Subscribe Section
--------------------------------------------------------------*/
#subscribe {
  background: #e6e2d6;
  padding: 120px 0;
}

#subscribe .subscribe-content {
  margin-left: 15px;
}

#subscribe .subscribe-content input[type="text"] {
  background: none;
  border: none;
  width: 252px;
}

#subscribe form#form {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #6f6f6f;
}

::-webkit-input-placeholder {
  color: #7A7A7A;
  /* WebKit browsers */
}

:-ms-input-placeholder {
  color: #7A7A7A;
  /* Internet Explorer 10+ */
}


@media screen and (max-width: 1200px) {
  #subscribe form#form {
    width: 90%;
  }

  #subscribe .subscribe-content input[type="text"] {
    width: 100%;
  }

  #subscribe .btn-subscribe {
    width: 30%;
  }
}

@media screen and (max-width: 980px) {

  /*#subscribe .grid {
      flex-wrap: wrap;
      justify-content: center;
  }*/
  #subscribe .section-title {
    width: 100%;
    margin: 0 auto 50px;
  }

  #subscribe p {
    width: 100%;
    text-align: left;
    margin: 30px auto;
  }

  #subscribe form#form,
  #subscribe .subscribe-content {
    width: 100%;
  }

  #subscribe form#form {
    margin: 0 auto;
  }

  #subscribe .subscribe-content {
    margin-left: 0;
  }

  #subscribe {
    margin-bottom: 90px;
  }

}

/*
@media screen and (max-width: 780px) {
  #subscribe form#form {
      width: 90%;
  }
  #subscribe .subscribe-content {
      width: 90%;
  }
}*/


/*----- Latest gallery Section
--------------------------------------------------------------*/
#latest-gallery {
  border-radius: 12px;
}

#latest-gallery article.column {
  margin-bottom: 60px;
}

#latest-gallery figure {
  margin-bottom: 30px;
}

#latest-gallery .meta-date {
  font-family: "Prata", Georgia, serif;
  color: #74642F;
  padding-bottom: 20px;
}

#latest-gallery h3 {
  font-size: 1.7em;
  font-weight: 500;
  margin-top: 0;
}

#latest-gallery .links-element {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #C8C8C8;
  padding-top: 20px;
}

#latest-gallery .categories {
  text-transform: uppercase;
}

.social-links li {
  padding-right: 20px;
}

@media screen and (max-width: 999px) {
  #latest-gallery h3 {
    font-size: 1.4em;
  }
}

@media screen and (max-width: 767px) {
  #latest-gallery .grid {
    flex-wrap: wrap;
  }

  #latest-gallery article.column {
    width: 100%;
  }
}

/*----- Contact Section
--------------------------------------------------------------*/
#download-app {
  background: #EDEBE4;
  padding: 120px 0;
  overflow: hidden;
  z-index: 0;
}

/*#download-app .container {
    max-width: 1040px;
}*/
/*#download-app figure {
    width: 40%;
    z-index: 0;
}*/
#download-app .app-info {
  padding-top: 100px;
  margin-left: 50px;
}

#download-app .app-info p {
  margin-bottom: 50px;
}

@media screen and (max-width: 820px) {
  #download-app .grid {
    flex-wrap: wrap;
  }

  #download-app figure {
    margin: 0 auto;
  }

  #download-app .app-info {
    width: 90%;
    margin: 0 auto;
    padding-top: 80px;
  }
}

/*----- Footer Section Fixes -----*/
footer#footer {
  padding: 60px 0;
  background-color: #595625;
  color: #fffef0;
  font-family: var(--body-font);
}

#footer-bottom {
  background-color: #595625;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 244, 196, 0.34);
  font-size: 0.9em;
}

#footer .footer-menu {
  margin-bottom: 20px;
}

#footer .footer-menu ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#footer .footer-menu ul li {
  margin-bottom: 8px;
}

#footer .footer-menu ul a {
  color: #fffef0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95em;
  display: inline-block;
}

#footer .footer-menu ul a:hover {
  color: #fff4c4;
  transform: translateX(5px);
}

.footer-menu h5 {
  font-size: 1em;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff4c4;
  padding-bottom: 8px;
  margin-left: 1.9rem;
}

.copyright {
  color: #fffef0;
  font-size: 0.9em;
  text-align: center;
}

.copyright a {
  color: #fffef0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: #fff4c4;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  footer#footer {
    padding: 40px 0;
  }

  .footer-menu h5 {
    margin-bottom: 15px;
  }

  #footer .row>div {
    margin-bottom: 30px;
  }

  #footer .row>div:last-child {
    margin-bottom: 0;
  }
}

/* Shop page */
.products-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.product-style {
  position: relative;
  overflow: hidden;
}

.slick-slider .product-style {
  margin: 0 15px 25px;
}

.product-style figcaption p {
  margin-bottom: 20px;
}

.product-style img.product-item {
  position: relative;
  background: #EFEEE8;
  border: 1px solid #EAE8DF;
  padding: 10%;
  cursor: pointer;
  width: 100%;
}

.product-style button.add-to-cart {
  position: absolute;
  background: #000;
  color: #fff;
  width: 100%;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
  line-height: 3;
  bottom: 300px;
  bottom: -65px;
  left: 0;
  z-index: 9;
  transition: 0.3s ease-out;
}

.product-style:hover button.add-to-cart {
  bottom: 380px;
  bottom: 0;
}

.product-item figcaption {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.product-item figcaption>h3 {
  font-size: 1.4em;
  font-weight: 500;
  color: #74642F;
  margin: 0;
}

.product-item figcaption>p {
  margin: 0;
}

.product-item .item-price {
  color: #74642F;
  font-size: 1.3em;
}

@media screen and (max-width: 768px) {
  .products-grid .product-item {
    width: 45%;
  }

  .product-style img.product-item {
    /*height: 550px;*/
    object-fit: contain;
    margin: 0 auto;
  }

  .products-grid.col-3 .product-style,
  .products-grid.col-4 .product-style,
  .products-grid.col-5 .product-style {
    width: 100%;
  }
}

@media screen and (max-width: 575px) {
  .products-grid .product-style {
    width: 100%;
  }
}

.gallery-slider {
  background-color: #f5f5f5;
  border-radius: 12px;
}

.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.swiper-slide {
  flex-shrink: 0;
  margin-right: 20px;
  border-radius: 12px;
  width: 100%;
}

.swiper-wrapper {
  margin-bottom: 60px;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.hero-slider,
.swiper,
.swiper-wrapper,
.swiper-slide {
  margin: 0;
  padding: 0;
}


/*----- Testimonials & Review 
--------------------------------------------------------------*/
.testimonials-section {
  padding: 20px 0;
  background: var(--light-bg);
}

.testimonial-card {
  background: #fffaf0;
  border: 2px solid #d4a373;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: rgba(74, 111, 165, 0.1);
  position: absolute;
  top: -20px;
  left: -10px;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author2 {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}


/*----- Author Section
--------------------------------------------------------------*/
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-details h5 {
  margin-bottom: 0;
  font-weight: 700;
}

.author-details p {
  margin-bottom: 0;
  color: #777;
  font-size: 0.9rem;
}

.author-hero {
  background: #e6e2d6;
  position: relative;
  overflow: hidden;
}

.author-image {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.author-image-container:hover .author-image {
  transform: scale(1.25);
}

/* =============================================
   BOOK HERO SLIDER - 50% HEIGHT ON ALL DEVICES
   ============================================= */

/* Main Container - Always 50% viewport height */
.book-hero-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #000;
}


.book-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 3;
  padding: 2rem;
  pointer-events: none;
}

.book-slider,
.swiper,
.swiper-wrapper,
.swiper-slide {
  margin: 0;
  padding: 0;
}

.book-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 900px;
  overflow: hidden;
}

.book-slider .swiper-slide-active {
  opacity: 1;
  z-index: 1;
}

@media (max-width: 768px) {
  .book-slider {
    height: 60vh;
    max-height: none;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 60vh;
  }
}

/* Background Slide Styles */
.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;

  /* Darker overlay directly on the background */
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 2;
  }
}


/* Content Styles */
.book-hero-content {
  padding: 2rem;
  z-index: 4;
  position: relative;
  align-items: center;
  justify-content: left;
  color: #fff;
  width: 100%;
  max-width: 800px;
}

.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade.active {
  opacity: 1;
  transform: translateY(0);
}

.book-name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--heading-font);
  color: #ff8800;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgb(0, 0, 0);
}

.book-tagline {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 80%;
  color: rgb(255, 255, 255);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .book-hero-content {
    padding: 0.5rem;
  }

  .book-tagline {
    max-width: 90%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .book-hero-content .row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .book-hero-content {
    text-align: center;
    padding: 1rem 0;
  }

  .book-tagline {
    max-width: 100%;
    margin: 0 auto 1rem;
  }

  .book-image-container {
    max-width: 70%;
    max-height: 200px;
  }
}

@media (max-width: 576px) {
  .book-name {
    font-size: 1.8rem;
  }

  .book-tagline {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/*----- Review Page
--------------------------------------------------------------*/

/* Timeline Section */
.timeline-section {

  background: var(--light-bg);
  position: relative;
  margin-bottom: 60px;
  margin-top: 60px;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: var(--primary-color);
  top: 0;
  bottom: 0;
  margin-left: -3px;
  border-radius: 3px;
}

.timeline-item {
  padding: 15px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.timeline-content {
  padding: 30px 30px;
  background: #fffaf0;
  border: 2px solid #d4a373;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.timeline-year {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.timeline-title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* Review Rating Styles */
.review-rating {
  display: flex;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

.stars {
  color: #FFD700;
  /* Gold color for stars */
  font-size: 18px;
  letter-spacing: 2px;
  margin-right: 10px;
}

.rating-text {

  font-size: 14px;
  font-weight: 600;
}

/* Contact Form Styles */
.contact-form {
  background: #fffaf0;
  border: 2px solid #d4a373;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.158);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-color);
}

.contact-form .form-control {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 2px solid #d4a373;
  border-radius: 10px;
  background-color: #fffaf0;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(197, 169, 146, 0.25);
}

.contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-check-input {
  margin-top: 0.3rem;
  margin-right: 0.5rem;
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--body-text-color);
}


/* Contact Info Section */
.contact-info-section {
  padding: 80px 0;
  background: var(--soft-bg);
}

.contact-info-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
  transform: scale(1.1);
  color: var(--secondary-color);
}

.contact-title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--dark-color);
}

.contact-text {
  margin-bottom: 15px;
}

.contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.contact-link:hover {
  color: var(--accent-color);
  gap: 8px;
}

/* Book Sneak Peek Section */
#book-sneak-peek {
  padding: 1rem 0;
}

.section-header .title span {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  letter-spacing: 2px;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.section-header .section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.8rem;
}

/* Image Styles */
.products-thumb {
  margin: 0 auto;
  max-width: 400px;
}

.products-thumb2 {
  margin-top: 45px;
  max-width: 100vh;
}

.single-image {
  max-height: 500px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Mobile Swiper Styles */
.book-excerpt-swiper {
  padding: 1rem 0 3rem;
  width: 100%;
}

.excerpt-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 0 10px;
  height: auto;
}

.excerpt-chapter {
  color: var(--accent-color);
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

.excerpt-text p {
  font-size: clamp(0.95rem, 2vw, 1rem);
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--dark-text-color);
}

.excerpt-meta {
  font-style: italic;
  color: var(--body-text-color);
  margin-top: 1.5rem;
  text-align: right;
  font-size: 0.9rem;
}

/* Desktop Tabs Styles */
.excerpt-tabs-container {
  margin-top: 0;
  padding-left: 1rem;
}

.excerpt-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.excerpt-tab {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
  line-height: 1.0;
  min-width: auto;
}

.excerpt-tab:hover {
  background: rgba(255, 195, 145, 0.493);
}

.excerpt-tab.active {
  background: var(--accent-color);
  color: white;
}

.excerpt-content {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  min-height: 300px;
  position: relative;
}



.excerpt-text.active {
  display: block;
}

.excerpt-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.excerpt-btn {
  background: transparent;
  border: none;
  color: var(--accent-color);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.excerpt-btn:hover {
  color: var(--dark-color);
  gap: 12px;
}

/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  padding: 15px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 1rem;
  color: var(--accent-color);
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--accent-color);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  #book-sneak-peek {
    padding: 3rem 0;
  }

  .excerpt-card {
    padding: 2rem;
  }

  .excerpt-content {
    padding: 2rem;
  }
}

@media (min-width: 992px) {
  .excerpt-tabs-container {
    margin-top: 0;
  }

  .excerpt-tabs {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .excerpt-content {
    padding: 2.5rem;
    min-height: 350px;
  }
}

@media (min-width: 1200px) {
  .excerpt-content {
    padding: 3rem;
  }
}


/* Interactive Features */
.features-section {
  padding: 80px 0;
  background: white;
}

.feature-card {
  background: #595520;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
  color: #e6e2d6;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: #f2bf91;
  margin-bottom: 20px;
}

.feature-title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #e6e2d6;
}

/* Phone/Small Screen Adjustments */
@media (max-width: 576px) {
  .excerpt-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .excerpt-tab {
    width: 100%;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 999px;
  }

  .excerpt-content {
    padding: 20px 15px;
  }

  .excerpt-btn {
    font-size: 0.9rem;
  }

  .excerpt-controls {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .excerpt-meta,
  .excerpt-meta2 {
    font-size: 0.85rem;
    margin-top: 20px;
  }

  .book-excerpt-swiper {
    padding: 15px 0 40px;
  }

  .excerpt-card {
    margin: 0 10px;
    padding: 25px;
  }
}


/* Gallery Styles */
.gallery-section {
  background-color: #e7e2d6;
}

/* Gallery Filter Buttons Styles */
.gallery-filter-wrapper {
  position: relative;
  padding: 0.5rem 0;
  margin-bottom: 1.5rem;
  z-index: 999 !important;
}

.filter-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.filter-buttons::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.filter-button {
  border-radius: 30px;
  padding: 0.3rem 0.6rem;
  background: #fffaf0;
  border: 2px solid #d4a373;
  color: #221001;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-button:hover {
  background-color: rgba(197, 169, 146, 0.1);
}

.filter-button.active {
  background-color: #bd7438;
  color: white;
}

/* Desktop - allow wrapping */
@media (min-width: 768px) {
  .filter-buttons {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }

  .filter-button {
    padding: 0.7rem 0.7rem;
    font-size: 0.8rem;
  }
}

.gallery-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1 / 1;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  justify-content: end;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-expand {
  color: white;
  font-size: 1.8rem;
  align-self: flex-end;
  transform: translateY(20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.gallery-card:hover .gallery-expand {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-item {
    padding: 0.25rem;
  }

  .gallery-filter .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }
}

/* View icon container styles */
.view-icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* View text styles */
.view-text {
  display: block;
  color: white;
  font-size: 14px;
  margin-top: 8px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Eye icon styles */
.gallery-expand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(233, 194, 137);
  font-size: 2.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}


.gallery-expand i {
  transition: transform 0.3s ease;
}

.gallery-expand:hover i {
  transform: scale(1.1);
}

.gallery-card:hover .gallery-expand {
  opacity: 1;
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(3px);
  transition: opacity 0.1s ease;
}

/* Lightbox content */
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 70vh;
  overflow-y: auto;
  background: transparent;
  padding: 0;
  border-radius: 15px;
  overflow: visible;
}

/* Lightbox image */
.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: 15px;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.8rem;
  color: #fff;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.lightbox-close:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* GLightbox container adjustments (if using GLightbox) */
.glightbox-container .gslide {
  padding: 20px !important;
  box-sizing: border-box;
  background: transparent;
}

.glightbox-container .gslide img {
  border-radius: 15px;
  max-height: 70vh;
  object-fit: contain;
}

.glightbox-container .gslide-description {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  border-radius: 8px;
}


.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 900px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}


.hero-slider .swiper-slide-active {
  opacity: 1;
  z-index: 1;
}


.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.425);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-color);
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.swiper-slide-active .slide-overlay {
  opacity: 1;
  transform: translateY(0);
}

.slide-title {
  font-size: 45px !important;
  margin-top: 100px;
  font-weight: 400;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  color: #fffde6;
  transition: 4.5s ease-in;

}

.swiper-slide img {
  object-position: center;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .hero-slider {
    height: 60vh;
    max-height: none;
  }

  .swiper-slide img {
    object-position: center;
  }

  .slide-title {
    font-size: 28px !important;
    padding: 0 15px;
    line-height: 1.3;
  }

  .slide-overlay {
    padding: 10px;
  }
}

/* Very small devices (phones) */
@media (max-width: 480px) {
  .hero-slider {
    height: 60vh;
  }

  .slide-title {
    font-size: 24px !important;
  }
}

.contact-hero .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.contact-hero {
  background: #e6e2d6;
  position: relative;
  overflow: hidden;
}

.contact-image-container:hover .author-image {
  transform: scale(1.25);
}

.contact-image {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.5s ease;
}

@media (max-width: 768px) {
  .contact-image-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact-image-container {
    height: 200px;
  }
}

/* Flipbook Styles */
.flipbook-container {
  position: relative;
  width: 100%;
  height: 520px;
  perspective: 2500px;
  background: linear-gradient(135deg, #fff9e0, #f9fafb);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.flipbook {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: row;
}

.page {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  transition: transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-sizing: border-box;
}

.left-page {
  left: 0;
  transform-origin: right center;
  border-radius: 0 12px 12px 0;
  z-index: 1;
}

.right-page {
  right: 0;
  transform-origin: left center;
  border-radius: 12px 0 0 12px;
  z-index: 1;
}

.left-page.flipped {
  transform: rotateY(-180deg);
  z-index: 0;
}

.right-page.flipped {
  transform: rotateY(180deg);
  z-index: 0;
}

.page-content {
  width: 100%;
  height: 100%;
  padding: 40px;
  background: linear-gradient(to bottom, #ffffff, #f9fafb);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.left-page .page-content {
  border-radius: 0 12px 12px 0;
}

.right-page .page-content {
  border-radius: 12px 0 0 12px;
  justify-content: center;
  align-items: center;
}

.excerpt-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.excerpt-page.blank-page {
  background: #f9fafb;
}

.excerpt-chapter {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.excerpt-chapter::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.flipbook-container .excerpt-text {
  display: block !important;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 24px;
  flex-grow: 1;
}

.excerpt-meta {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: var(--text-light);
  opacity: 0.8;
}

.book-back-cover {
  width: 100%;
  height: 100%;
  border-radius: 0 12px 12px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

.landing-book-cover {
  width: 100%;
  height: 100%;
  border-radius: 0 12px 12px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #495806;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

/* Flip Hand Gesture Controls */
.flip-gesture {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.flip-gesture.prev {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);
}

.flip-gesture.next {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.1), transparent);
}

.flip-gesture:hover {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2), transparent);
}

.flip-gesture.next:hover {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.2), transparent);
}

.flip-gesture i {
  font-size: 40px;
  color: var(--primary-color);
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.flip-gesture.prev i {
  transform: rotate(20deg);
}

.flip-gesture.next i {
  transform: rotate(-20deg);
}

.flip-gesture:hover i {
  opacity: 1;
  transform: rotate(0deg);
}

.flip-gesture.disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.flip-gesture.disabled i {
  opacity: 0.5;
}

/* Media Queries */
@media (max-width: 991px) {
  .flipbook-container {
    height: auto;
    min-height: 450px;
  }

  .page-content {
    padding: 24px;
  }

  .excerpt-chapter {
    font-size: 24px;
  }

  .excerpt-text {
    font-size: 15px;
  }
}

/* Mobile View Styles */
.flipping-book-mobile {
  margin-bottom: 80px;
}

.mobile-page-container {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
  max-width: 100%;
  margin: 0 auto;
  min-height: 400px;
}

.mobile-page-content {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-page-content.active {
  opacity: 1;
  transform: translateX(0);
}

.mobile-excerpt-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.mobile-excerpt-chapter {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.mobile-excerpt-chapter::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.mobile-excerpt-text {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.mobile-excerpt-meta {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: var(--text-light);
  text-align: right;
}

.mobile-book-cover img {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-back-cover {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(to bottom, #1e293b, #111827);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 16px;
}

.mobile-btn {
  flex: 1;
  padding: 12px 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.mobile-btn:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.mobile-page-indicator {
  text-align: center;
  margin-top: 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--text-light);
}

.mobile-page-indicator span {
  color: var(--primary-color);
  font-weight: 500;
}

@media (max-width: 991px) {
  .flipbook-container {
    height: auto;
    min-height: 450px;
  }

  .page-content {
    padding: 24px;
  }

  .excerpt-chapter {
    font-size: 24px;
  }

  .excerpt-text {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .mobile-page-container {
    padding: 20px;
    min-height: 350px;
  }

  .mobile-excerpt-chapter {
    font-size: 20px;
  }

  .mobile-excerpt-text {
    font-size: 14px;
  }

  .mobile-excerpt-meta {
    font-size: 12px;
  }

  .mobile-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .mobile-book-cover img {
    max-width: 200px;
  }

  .mobile-back-cover {
    font-size: 18px;
  }
}

/* Animation for Mobile Page Transition */
@keyframes pageSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.faq-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.faq-title {
  text-align: center;
  font-size: 2em;
  color: #4a3728;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.faq-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.faq-column {
  flex: 1;
  min-width: 0;
}

.faq-item {
  background: #fffaf0;
  border: 2px solid #d4a373;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  padding: 10px;
  font-size: 1.2em;
  color: #4a3728;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f0e8df;
}

.faq-question::after {
  content: '\002B';
  font-size: 1.5em;
  color: #c68b59;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  font-size: 1.2em;
  padding: 0 20px;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.faq-answer p {
  font-size: 0.9em;
  /* Reduced from 1em */
  color: #555;
}

@media (max-width: 768px) {
  .faq-columns {
    flex-direction: column;
    gap: 20px;
  }

  .faq-title {
    font-size: 1.6em;
    /* Reduced from 2em */
  }

  .faq-question {
    font-size: 0.9em;
    /* Reduced from 1em */
  }

  .faq-answer p {
    font-size: 0.8em;
    /* Reduced from 0.9em */
  }
}

/* Submenu Styles */
.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--light-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 150px;
}

.submenu-item {
  padding: 0;
}

.submenu-link {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--dark-color);
  text-decoration: none;
  font-family: var(--body-font);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.submenu-link:hover {
  background: rgba(190, 103, 55, 0.1);
  color: var(--accent-color);
}

.menu-list.d-none.d-md-flex .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  border-radius: 4px;
}

.menu-list.d-none.d-md-flex .menu-item:hover .submenu {
  display: block;
}

.mobile-menu .submenu {
  display: none;
  padding-left: 1rem;
  background: rgba(190, 103, 55, 0.05);
}

.mobile-menu .submenu.active {
  display: block;
}

.menu-item:has(.submenu) .nav-link::after {

  font-size: 0.6rem;
  margin-left: 0.3rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.menu-item[aria-expanded="true"] .nav-link::after {
  transform: rotate(180deg);
}

/* Language Toggle - Improved Styling */
.lang-toggle-container {
  position: relative;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-btn {
  background: none;
  border: none;
  color: #110202;
  /* White text for better contrast */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.lang-btn.active {
  color: #ffffff;
  font-weight: 700;
  border-radius: 12px;
}

/* Mobile specific styles */
.mobile-menu .lang-toggle-container {
  padding: 15px;
  margin: 10px 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: center;
}

.mobile-menu .lang-toggle {
  justify-content: center;
  width: 100%;
}

.mobile-menu .lang-btn {
  font-size: 16px;
  padding: 5px 15px;
}

/* Floating container */
.floating-lang-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

/* Main toggle button */
.lang-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #595520;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.lang-toggle-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-lang-toggle {
    bottom: 20px;
    right: 20px;
  }

  .lang-toggle-btn {
    width: 50px;
    height: 50px;
    font-size: 14px;
  }
}

/* Pulse effect for attention */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.floating-lang-toggle .lang-btn.active {
  animation: pulse 1.5s infinite;
}

@media (max-width: 768px) {
  .floating-lang-toggle {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }

  .floating-lang-toggle .lang-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}


#book-topics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/african-pattern.png') repeat;
  opacity: 0.05;
  z-index: 0;
}

.topics-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.topics-header {
  text-align: center;
  margin-bottom: 50px;
}

.topics-header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #e07b39, #d94f2e);
}

.topics-header p {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #6b4e31;
  font-style: italic;
}

.faq-header p {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #6b4e31;
  font-style: italic;
  text-align: center;
  margin-bottom: 50px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.topic-item {
  background: #fffaf0;
  border: 2px solid #d4a373;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topic-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #e07b39;
}

.topic-question {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #733917;
  position: relative;
  padding-left: 30px;
}

.topic-question::before {
  content: '❓';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  color: #d94f2e;
}

@media (max-width: 768px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }

  .topic-item {
    padding: 20px;
  }

  .topic-question {
    font-size: 16px;
  }

  .topics-header h1 {
    font-size: 36px;
  }

  .topics-header p {
    font-size: 18px;
  }
}

#book-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/african-pattern.png') repeat;
  opacity: 0.05;
  z-index: 0;
}

.media-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.media-header {
  text-align: center;
  margin-bottom: 50px;
}

.media-header h1 {
  font-size: 48px;
  color: #733917;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.media-header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #e07b39, #d94f2e);
}

.media-header p {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #6b4e31;
  font-style: italic;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.media-item {
  background: #fffaf0;
  border: 2px solid #d4a373;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #e07b39;
}

.media-question {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #733917;
  position: relative;
  padding-left: 30px;
}

.media-question::before {
  content: '🎙️';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  color: #d94f2e;
}

.media-link {
  display: inline-block;
  color: #d94f2e;
  font-weight: 600;
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.media-link:hover {
  color: #e07b39;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-item {
    padding: 20px;
  }

  .media-question {
    font-size: 16px;
  }

  .media-header h1 {
    font-size: 36px;
  }

  .media-header p {
    font-size: 18px;
  }
}


.hidden-paragraph {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  max-height: 0;
  overflow: hidden;
}


.hidden-paragraph.active {
  display: block;
  opacity: 1;
  max-height: 200px;
  margin-top: 1rem;
}


.read-more-btn {
  cursor: pointer;
  transition: all 0.3s ease;
}


.read-more-btn.hidden {
  display: none;
}


@media (max-width: 575.98px) {
  .hidden-paragraph.active {
    max-height: 500px;
  }
}

.african-quote {
  font-family: var(--body-font);
  font-size: 0.9rem;
  color: var(--accent-color);
  font-style: italic;
  position: relative;
  max-width: 900px;
  margin: 0 auto 0px;
  border-radius: 5px;

}

.quote-mark {
  font-size: 1.4rem;
  color: var(--accent-color);
  vertical-align: top;
  line-height: 0.8;
}

.footnote {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: #6b4e31;
  font-style: italic;
  opacity: 0.7;
  margin-left: 5px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .african-quote {
    font-size: 0.9rem;
    padding: 15px;
    max-width: 100%;
    margin: 0 10px 30px;
  }

  .quote-mark {
    font-size: 1.5rem;
  }

  .footnote {
    font-size: 12px;
    margin-left: 3px;
  }

  /* Additional breakpoint for very small screens */
  @media (max-width: 480px) {
    .african-quote {
      font-size: 0.95rem;
      padding: 10px;
      margin: 0 5px 10px;
    }

    .quote-mark {
      font-size: 1.5rem;
    }

    .footnote {
      font-size: 15px;
      margin-left: 2px;
    }
  }
}

/* Lightbox Styling */
.sneak-peek-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  overflow: auto;
  padding: 20px;
}

.lightbox-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.lightbox-close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 40px;
  color: #6b4e31;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
}

.lightbox-close-btn:hover {
  color: #e07b39;
}

.book-pages {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.book-page {
  background: #fffaf0;
  border: 2px solid #d4a373;
  border-radius: 12px;
  padding: 80px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.cover-page {
  background: linear-gradient(to bottom, #f5e8c7, #fffaf0);
  position: relative;
  overflow: hidden;
}

.book-cover-img {
  max-width: 300px;
  margin: 0 auto 20px;
  border: 3px solid #e07b39;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cover-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #4a2c0f;
  margin-bottom: 10px;
}

.cover-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #6b4e31;
  font-style: italic;
}

.excerpt-page {
  text-align: left;
}

.excerpt-text p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #4a2c0f;
  line-height: 1.8;
  margin-bottom: 15px;
}

.excerpt-meta {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: #6b4e31;
  font-style: italic;
  text-align: right;
  margin-top: 20px;
}

.back-cover-page {
  background: linear-gradient(to bottom, #f5e8c7, #fffaf0);
}

.book-back-cover {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #4a2c0f;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Ensure button styling matches the site */
.btn-outline-accent {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #4a2c0f;
  border: 2px solid #e07b39;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-accent:hover {
  background: #e07b39;
  color: #fffaf0;
}

.btn-accent-arrow .icon {
  margin-left: 10px;
  font-size: 14px;
}

@media (max-width: 992px) {
  .sneak-peek-lightbox {
    padding: 15px;
  }

  .lightbox-content {
    padding: 20px 10px;
  }

  .book-page {
    padding: 20px;
    min-height: 300px;
  }

  .book-cover-img {
    max-width: 250px;
  }

  .cover-title {
    font-size: 28px;
  }

  .cover-subtitle {
    font-size: 18px;
  }

  .excerpt-text p {
    font-size: 14px;
  }

  .excerpt-meta {
    font-size: 12px;
  }

  .book-back-cover {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .sneak-peek-lightbox {
    padding: 10px;
  }

  .lightbox-content {
    padding: 15px 5px;
  }

  .book-page {
    padding: 15px;
    min-height: 250px;
  }

  .book-cover-img {
    max-width: 200px;
  }

  .cover-title {
    font-size: 24px;
  }

  .cover-subtitle {
    font-size: 16px;
  }

  .excerpt-text p {
    font-size: 13px;
  }

  .excerpt-meta {
    font-size: 11px;
  }

  .book-back-cover {
    font-size: 20px;
  }
}

:root {
  --primary-color: #595625;
  --accent-color: #bf6734;
  --light-color: #F3F2EC;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.card-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.table-container {
  width: 100%;
  overflow-x: auto;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: clamp(0.875rem, 2vw, 1rem);
  margin: 0 auto;
}

thead {
  color: #bf6734;
}

th {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  text-align: center;
  color: var(--primary-color);
}

tbody tr {
  transition: background-color 0.2s ease;
  height: 0.5rem;
}

td {
  vertical-align: middle;
  flex-grow: 1;
  word-wrap: break-word;
  text-align: center;
}

td.not-available-cell {
  border-bottom: none;
}

.platform-icon {
  margin-right: 0.75rem;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.retailer-link i {
  display: inline-flex;
  align-items: center;
  margin-right: 0.75rem;
  color: var(--accent-color);
  width: 100%;
  text-align: center;
  flex-shrink: 0;
  height: 100%;
  padding: 0.5rem;
}

.not-available {
  color: #8f8f8fc2;
  font-style: italic;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
}

.format-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  text-align: center;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.retailer-card {
  background: #fffaf0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.retailer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 1.25rem;
  flex-grow: 1;
}

.retailer-link {
  display: flex;
  align-items: center;
  color: var(--accent-color);
  text-decoration: underline;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
}

.retailer-link:last-child {
  border-bottom: none;
}

.retailer-link:hover {
  background-color: rgba(255, 126, 51, 0.274);
  color: var(--primary-color);
}

.isbn-box {
  background-color: rgba(89, 86, 37, 0.1);
  padding: 1rem;
  border-radius: 6px;
  margin: 1.5rem auto;
  text-align: center;
  font-family: monospace;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  overflow-x: auto;
  max-width: 1200px;
}

.search-tip {
  background-color: rgba(191, 103, 52, 0.1);
  padding: 1rem;
  border-radius: 6px;
  margin: 1.5rem auto;
  border-left: 3px solid var(--accent-color);
  font-size: clamp(0.9rem, 2vw, 1rem);
  max-width: 1200px;
}

.flag-icon {
  width: 20px;
  height: 15px;
  margin-right: 8px;
  border: 1px solid #ddd;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Mobile-first responsive adjustments */
@media (max-width: 768px) {
  .card-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem auto;
    padding: 0 0.5rem;
    max-width: 100%;
  }

  .card-header {
    padding: 0.875rem;
    font-size: 1.1rem;
  }

  .card-body {
    padding: 1rem;
  }

  .table-container {
    padding: 0 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .retailer-link {
    font-size: 0.95rem;
  }

  .platform-icon,
  .retailer-link i {
    margin-right: 0.5rem;
    width: 18px;
  }

  .isbn-box,
  .search-tip {
    padding: 0.875rem;
    margin: 1rem auto;
    font-size: 0.95rem;
    max-width: 100%;
  }

  .format-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .card-container {
    gap: 0.875rem;
    margin: 1rem auto;
    padding: 0 0.25rem;
  }

  .card-header {
    padding: 0.75rem;
    font-size: 1rem;
  }

  .card-body {
    padding: 0.875rem;
  }

  .table-container {
    padding: 0 0.25rem;
  }

  th,
  td {
    font-size: 0.85rem;
    padding: 0.375rem;
  }

  .retailer-link {
    font-size: 0.9rem;
  }

  .platform-icon,
  .retailer-link i {
    margin-right: 0.375rem;
    width: 16px;
  }

  .isbn-box,
  .search-tip {
    padding: 0.75rem;
    margin: 0.875rem auto;
    font-size: 0.9rem;
  }

  .format-title {
    font-size: 1.5rem;
    padding: 0 0.25rem;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .retailer-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }

  .retailer-link:hover {
    background-color: transparent;
    color: #333;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  .retailer-card,
  .retailer-link,
  tbody tr {
    transition: none;
  }

  .retailer-card:hover {
    transform: none;
  }
}