:root {
  --primary-color: #f9b44a;
  --secondary-color: #933953;
  --dark-color: #010101;
  --light-color: #ffffff;
  --accent-color: #2db0fe;
  --text-color: #333333;
  --gradient-bg: linear-gradient(135deg, #f9b44a 0%, #933953 100%);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.6;
  background-color: #f8f9fa;
}

html {
  overflow-x: hidden;
}
a {
  text-decoration: none;
}

/* Animated Sidebar Menu */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background-color: var(--dark-color);
  z-index: 1002;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 20px;
  background-color: var(--secondary-color);
  color: var(--light-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-close:hover {
  transform: rotate(90deg);
}

.sidebar-menu {
  padding: 20px 0;
}

.sidebar-menu li {
  margin-bottom: 5px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--light-color);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}

.sidebar-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: var(--primary-color);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 30px;
}

.sidebar-menu a:hover::before,
.sidebar-menu a.active::before {
  transform: translateX(0);
}

.sidebar-menu a i {
  margin-right: 10px;
  font-size: 1rem;
}

.sidebar-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--light-color);
}

.sidebar-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.sidebar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-color);
  transition: var(--transition);
}

.sidebar-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Animated Hamburger Menu */
.hamburger {
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  display: none;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--dark-color);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 6px;
}

.hamburger span:nth-child(2) {
  top: 14px;
}

.hamburger span:nth-child(3) {
  top: 22px;
}

.hamburger.active span:nth-child(1) {
  top: 14px;
  transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger.active span:nth-child(3) {
  top: 14px;
  transform: rotate(-135deg);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.navbar {
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.navbar-nav .nav-link {
  color: var(--dark-color) !important;
  font-weight: 500;
  margin: 0 15px;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.navbar-nav .nav-link i {
  margin-right: 8px;
  font-size: 0.9rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.btn-buy {
  background: var(--gradient-bg);
  color: var(--light-color);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(249, 180, 74, 0.3);
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
}

.btn-buy i {
  margin-left: 8px;
}

.btn-buy:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(147, 57, 83, 0.4);
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .hamburger {
    display: block;
  }

  .navbar-nav {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  z-index: -2;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.particle {
  position: absolute;
  background-color: rgba(249, 180, 74, 0.3);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(249, 180, 74, 0.2) 0%,
    rgba(147, 57, 83, 0.1) 50%,
    rgba(1, 1, 1, 0.8) 100%
  );
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(249, 180, 74, 0.2);
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;

  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--gradient-bg);
  animation: expandWidth 1.5s ease-in-out;
}

@keyframes expandWidth {
  0% {
    width: 0;
  }

  100% {
    width: 100px;
  }
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  margin-top: 2rem;
  max-width: 600px;
  animation: fadeInUp 1s ease-in-out;
  text-align: justify;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background: var(--gradient-bg);
  color: var(--light-color);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(147, 57, 83, 0.3);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.btn-primary-custom:hover::before {
  left: 100%;
}

.btn-primary-custom i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-primary-custom:hover i {
  transform: translateX(5px);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(147, 57, 83, 0.4);
  color: var(--light-color);
}

.btn-outline-custom {
  background: var(--gradient-bg);
  color: var(--light-color);
  border: 2px solid var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.btn-outline-custom i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-outline-custom:hover i {
  transform: translateX(5px);
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.hero-feature {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.hero-feature i {
  color: var(--primary-color);
  margin-right: 8px;
  font-size: 1rem;
}

.hero-image {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-image-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(249, 180, 74, 0.3) 0%,
    rgba(147, 57, 83, 0.1) 50%,
    transparent 70%
  );
  border-radius: 15px;
  z-index: -1;
  filter: blur(20px);
  animation: glow 3s infinite alternate;
}

@keyframes glow {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 0.8;
  }
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.hero-image:hover img {
  transform: translateY(-10px) scale(1.02);
}

/* Enhanced Book Details Section */
.book-details-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
  position: relative;
  overflow: hidden;
}

.book-details-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(0, 0, 0, 0.03)" stroke-width="1"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.book-details-container {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 20px;

  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.book-showcase {
  background: linear-gradient(135deg, var(--light-color) 0%, #f8f9fa 100%);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  margin-bottom: 60px;
  position: relative;
}

.book-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-bg);
}

.book-showcase-content {
  padding: 40px 0;
}

.book-cover-container {
  position: relative;
  text-align: center;
  perspective: 1000px;
  padding: 20px 0;
}

.book-cover-3d {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.book-cover-3d:hover {
  transform: rotateY(25deg) rotateX(-10deg) scale(1.05);
}

.book-cover-main {
  width: 280px;
  height: 420px;
  border-radius: 15px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 3px var(--primary-color),
    inset 0 0 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.book-cover-main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%
  );
  border-radius: 15px;
  pointer-events: none;
}

.book-spine {
  position: absolute;
  left: -40px;
  top: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(
    90deg,
    #8b6914 0%,
    #f9b44a 20%,
    #8b6914 40%,
    #f9b44a 60%,
    #8b6914 80%,
    #f9b44a 100%
  );
  transform: rotateY(-90deg);
  transform-origin: right;
  border-radius: 10px 0 0 10px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.book-pages {
  position: absolute;
  right: -20px;
  top: 5px;
  bottom: 5px;
  width: 20px;
  background: linear-gradient(90deg, #f8f8f8 0%, #e0e0e0 100%);
  transform: rotateY(90deg);
  transform-origin: left;
  border-radius: 0 10px 10px 0;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.book-info {
  padding: 0 30px;
}

.book-title-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;

  line-height: 1.2;
  background: var(--gradient-bg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.book-subtitle {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  font-weight: 500;
  font-style: italic;
}

.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(
    135deg,
    rgba(249, 180, 74, 0.1) 0%,
    rgba(147, 57, 83, 0.1) 100%
  );
  border-radius: 50px;
  border: 2px solid rgba(249, 180, 74, 0.3);
  transition: var(--transition);
}

.meta-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(249, 180, 74, 0.2);
  border-color: var(--primary-color);
}

.meta-item i {
  color: var(--primary-color);
  font-size: 1rem;
}

.meta-item span {
  font-weight: 600;
  color: var(--dark-color);
  font-size: 1rem;
}

.book-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 25px;
  text-align: justify;
  position: relative;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.book-description::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 2.5rem;
  color: var(--primary-color);
  opacity: 0.2;
}

.book-highlights {
  background: linear-gradient(
    135deg,
    rgba(249, 180, 74, 0.15) 0%,
    rgba(147, 57, 83, 0.15) 100%
  );
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}

.book-highlights::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(249, 180, 74, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.highlights-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;

  position: relative;
  z-index: 1;
}

.highlights-list {
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

.highlights-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
}

.highlights-list li:hover {
  padding-left: 10px;
}

.highlights-list li:last-child {
  border-bottom: none;
}

.highlights-list i {
  color: var(--primary-color);
  font-size: 1rem;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(249, 180, 74, 0.3);
}

.highlights-list span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-color);
}

.book-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.spec-item {
  background: var(--light-color);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.spec-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-bg);
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.spec-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.spec-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spec-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-color);
}

.book-gallery {
  margin-top: 60px;
}

.gallery-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 40px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  cursor: pointer;
  height: 300px;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-text {
  color: var(--light-color);
  transform: translateY(15px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-text {
  transform: translateY(0);
}

.gallery-text h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  /* font-family: "Cinzel", serif; */
}

.gallery-text p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* About Us Section */
.about-us-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
  position: relative;
  overflow: hidden;
}

.about-us-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(0, 0, 0, 0.03)" stroke-width="1"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.about-container {
  position: relative;
  z-index: 1;
}

.author-profile {
  background: var(--light-color);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
  margin-bottom: 50px;
}

.author-profile-content {
  padding: 40px 0;
}

.author-image-container {
  position: relative;
  text-align: center;
  padding: 10px 0;
}

.author-image-frame {
  position: relative;
  display: inline-block;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.author-image-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.author-image-frame img {
  width: 280px;
  height: 350px;
  object-fit: cover;
  display: block;
}

.author-image-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(249, 180, 74, 0.2) 0%,
    rgba(147, 57, 83, 0.2) 100%
  );
  z-index: 1;
}

.author-info {
  padding: 0 25px;
}

.author-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;

  background: var(--gradient-bg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.author-tagline {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  font-style: italic;
}

.author-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 25px;
  text-align: justify;
  position: relative;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.author-bio::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 2.5rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: "Playfair Display", serif;
}

.author-achievements {
  background: linear-gradient(
    135deg,
    rgba(249, 180, 74, 0.15) 0%,
    rgba(147, 57, 83, 0.15) 100%
  );
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
}

.achievements-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.achievements-list {
  list-style: none;
  padding: 0;
}

.achievements-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
}

.achievements-list li:hover {
  padding-left: 10px;
}

.achievements-list li:last-child {
  border-bottom: none;
}

.achievements-list i {
  color: var(--primary-color);
  font-size: 1rem;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(249, 180, 74, 0.3);
}

.achievements-list span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-color);
}

.author-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.stat-item {
  background: var(--light-color);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-bg);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Us Section */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255, 255, 255, 0.05)" stroke-width="1"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.contact-container {
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-bg);
  border-radius: 50%;
  margin-right: 15px;
  font-size: 1rem;
  color: var(--light-color);
  box-shadow: 0 8px 20px rgba(249, 180, 74, 0.3);
}

.contact-details h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-details p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-form-card {
  background: var(--light-color);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-color);
  font-size: 1rem;
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  background: #f8f9fa;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(249, 180, 74, 0.25);
  outline: none;
  background: var(--light-color);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--gradient-bg);
  color: var(--light-color);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(249, 180, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(249, 180, 74, 0.4);
}

.submit-btn i {
  font-size: 1rem;
}

.social-contact {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.social-links-contact {
  display: flex;
  gap: 12px;
}

.social-link-contact {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-color);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.social-link-contact:hover {
  background: var(--gradient-bg);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(249, 180, 74, 0.3);
}

/* Books Section */
.books-section {
  padding: 80px 0;
  background-color: var(--dark-color);
  color: var(--light-color);
  position: relative;
}

.books-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255, 255, 255, 0.05)" stroke-width="1"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.book-card {
  background-color: var(--light-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.book-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-bg);
}

.book-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.book-image {
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  position: relative;
}

.book-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-bg);
  opacity: 0.1;
  z-index: 1;
}

.book-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  position: relative;
  z-index: 0;
}

.book-card:hover .book-image img {
  transform: scale(1.05);
}

.book-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-family: "Playfair Display", serif;
}

.book-description {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

/* Reviews Section */
.reviews-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255, 255, 255, 0.05)" stroke-width="1"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.reviews-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.reviews-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.reviews-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-bg);
}

.reviews-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.reviews-container {
  position: relative;
  z-index: 1;
}

.review-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.review-content {
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.review-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

.review-rating i {
  color: var(--primary-color);
  font-size: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.review-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 12px;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.review-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-info {
  flex-grow: 1;
}

.review-author-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 3px;
}

.review-author-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Enhanced Footer */
footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
  color: var(--light-color);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer-top {
  background: var(--dark-color);
  padding: 50px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255, 255, 255, 0.03)" stroke-width="1"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.footer-wave {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230a0a0a" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 25px;

  display: flex;
  align-items: center;
}

.footer-logo i {
  margin-right: 12px;
  font-size: 1.5rem;
}

.footer-description {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  max-width: 450px;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-bg);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.footer-links a i {
  margin-right: 10px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-color);
  transition: var(--transition);
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--gradient-bg);
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(249, 180, 74, 0.3);
}

.footer-middle {
  background: #111111;
  padding: 30px 0;
  position: relative;
}

.footer-middle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255, 255, 255, 0.03)" stroke-width="1"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.footer-middle-content {
  position: relative;
  z-index: 2;
}

.footer-widget {
  margin-bottom: 25px;
}

.footer-widget h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-family: "Playfair Display", serif;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 8px;
}

.footer-widget ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-widget ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  background: #050505;
  padding: 25px 0;
  position: relative;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255, 255, 255, 0.03)" stroke-width="1"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.footer-bottom-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.copyright {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.copyright a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom-links {
  display: flex;
  gap: 15px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-bg);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .reviews-title {
    font-size: 2.5rem;
  }

  .footer-logo {
    font-size: 2.5rem;
  }

  .book-title-large {
    font-size: 2.2rem;
  }

  .book-cover-main {
    width: 260px;
    height: 390px;
  }

  .author-name {
    font-size: 2.2rem;
  }

  .author-image-frame img {
    width: 260px;
    height: 330px;
  }

  .contact-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .reviews-title {
    font-size: 2.2rem;
  }

  .footer-logo {
    font-size: 2.2rem;
  }

  .hero-features {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .book-title-large {
    font-size: 2rem;
  }

  .book-cover-main {
    width: 240px;
    height: 360px;
  }

  .book-info {
    padding: 0 20px;
  }

  .book-showcase-content {
    padding: 30px 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .author-name {
    font-size: 2rem;
  }

  .author-image-frame img {
    width: 240px;
    height: 300px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 30px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .reviews-title {
    font-size: 2rem;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  .about-section,
  .books-section,
  .reviews-section,
  .contact-section,
  .book-details-section,
  .about-us-section {
    padding: 60px 0;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-features {
    flex-direction: column;
    gap: 15px;
  }

  .review-card {
    padding: 20px;
  }

  .footer-top {
    padding: 40px 0 25px;
  }

  .footer-middle {
    padding: 25px 0;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .book-title-large {
    font-size: 1.5rem;
  }

  .book-cover-main {
    width: 220px;
    height: 330px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .author-name {
    font-size: 1.8rem;
  }

  .author-image-frame img {
    width: 220px;
    height: 280px;
  }

  .author-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 25px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.41rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .reviews-title {
    font-size: 1.7rem;
  }

  .footer-logo {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .about-content {
    font-size: 1rem;
  }

  .book-image {
    height: 250px;
  }

  .review-card {
    padding: 15px;
  }

  .footer-top {
    padding: 35px 0 20px;
  }

  .footer-middle {
    padding: 20px 0;
  }

  .footer-bottom {
    padding: 18px 0;
  }

  .book-title-large {
    font-size: 1.5rem;
  }

  .book-cover-main {
    width: 200px;
    height: 300px;
  }

  .book-meta {
    flex-direction: column;
    gap: 10px;
  }

  .book-specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .author-name {
    font-size: 1.3rem;
  }

  .author-image-frame img {
    width: 200px;
    height: 250px;
  }

  .author-stats {
    grid-template-columns: 1fr;
  }

  .contact-title {
    font-size: 1.7rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 20px;
  }
}

@media (max-width: 375px) {
    
    .hero-title{
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    margin-top: 1rem;
     }
    
    .btn-primary-custom {
    background: var(--gradient-bg);
    color: var(--light-color);
    border: none;
    padding: 0.55rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(147, 57, 83, 0.3);
    display: inline-flex
;
    align-items: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn-outline-custom {
    background: var(--gradient-bg);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
    padding: 0.3rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
    display: inline-flex
;
    align-items: center;
    text-decoration: none;
}


    
    
  .hero-title {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .reviews-title {
    font-size: 1.4rem;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .about-content {
    font-size: 0.95rem;
  }

  .book-content {
    padding: 1rem;
  }

  .book-title {
    font-size: 1.2rem;
  }

  .book-description {
    font-size: 0.9rem;
  }

  .review-text {
    font-size: 0.95rem;
  }

  .footer-description {
    font-size: 0.95rem;
  }

  .footer-links a {
    font-size: 0.95rem;
  }

  .book-title-large {
    font-size: 1rem;
  }

  .book-cover-main {
    width: 180px;
    height: 270px;
  }

  .author-name {
    font-size: 1.2rem;
  }

  .author-image-frame img {
    width: 180px;
    height: 230px;
  }

  .contact-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 992px) {
  .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    margin-top: 68px;
  }
}

/* The main button container */
.whatsapp-button {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* --- Animation --- */
  animation: pulse 2s infinite;
  transition: transform 0.2s ease-in-out;
}

/* Hover effect */
.whatsapp-button:hover {
  transform: scale(1.1);
}

/* The pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Styling for the SVG icon */
.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: white;
}

.page-header-container {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
}

.page-header-image {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
  transition: transform 10s ease-out;
}

.page-header-container:hover .page-header-image {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-header-container {
    height: 40vh;
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .page-header-container {
    height: 30vh;
    min-height: 250px;
  }
}

