/* Root Variables */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2B48C;
    --accent-color: #CD853F;
    --text-dark: #3E2723;
    --text-light: #6D4C41;
    --bg-light: #FFF8DC;
    --bg-cream: #F5F5DC;
    --gold: #DAA520;
    --brown-dark: #654321;
    --brown-light: #DEB887;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brown-dark);
}

/* Navigation */
.custom-navbar {
    background: rgba(255, 248, 220, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.brand-text {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section - Interactive Book Cover Inspired */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #FFF8DC 0%, #F5F5DC 30%, #F0E68C 70%, #DEB887 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: auto;
}

/* Interactive Book Cover Background */
.wooden-stairs-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 69, 19, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(160, 82, 45, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 40% 60%, rgba(218, 165, 32, 0.04) 0%, transparent 60%);
    z-index: 1;
    animation: gentleGlow 10s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Interactive Cursor Effects */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.8), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    background: rgba(139, 69, 19, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: trailFade 0.8s ease-out forwards;
}

@keyframes trailFade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.3); }
}

@keyframes gentleGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.floating-story-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.7;
    animation: floatStoryElement 10s ease-in-out infinite;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.2));
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: center;
}

.floating-element:hover {
    transform: scale(1.3) rotate(10deg);
    opacity: 1;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
    animation-play-state: paused;
}

.paw-print {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}
.aud{
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}
.book-icon {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.collar {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.whiskers {
    top: 40%;
    right: 25%;
    animation-delay: 3s;
    animation-duration: 5s;
}

.stairs {
    bottom: 20%;
    right: 10%;
    animation-delay: 4s;
    animation-duration: 9s;
}

.feather {
    top: 70%;
    left: 70%;
    animation-delay: 5s;
    animation-duration: 6s;
}

/* Book Cover Inspired Additional Elements */
.cat-eyes {
    top: 15%;
    right: 20%;
    animation-delay: 1.5s;
    animation-duration: 7s;
    color: #90EE90;
}

.leather-collar {
    bottom: 25%;
    left: 15%;
    animation-delay: 3.5s;
    animation-duration: 8s;
    color: #8B4513;
}

.wooden-texture {
    top: 50%;
    right: 30%;
    animation-delay: 2.5s;
    animation-duration: 9s;
    color: #DEB887;
}

@keyframes floatStoryElement {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-20px) rotate(5deg) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) rotate(-3deg) scale(0.9);
        opacity: 0.7;
    }
    75% { 
        transform: translateY(-25px) rotate(8deg) scale(1.05);
        opacity: 0.9;
    }
}

.vintage-paper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(160, 82, 45, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(218, 165, 32, 0.05) 0%, transparent 50%);
    z-index: 2;
    animation: vintageGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes vintageGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

#wooden-texture-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
    pointer-events: none;
}

/* Update hero content z-index */
.hero-content {
    position: relative;
    z-index: 4;
    padding: 2rem 0;
    cursor: auto;
}

.hero-book {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: auto;
}

/* Enhanced Book Shelf Effect - removed per request */
/* .book-container::before {}
.book-container::after {} */

@keyframes shelfGlow {
    0% { box-shadow: 0 8px 20px rgba(139, 69, 19, 0.5); }
    100% { box-shadow: 0 12px 30px rgba(139, 69, 19, 0.7); }
}

/* Interactive Sparkle Effects */
.book-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.sparkle {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.sparkle-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 2s;
}

@keyframes sparkleFloat {
    0%, 100% { 
        opacity: 0; 
        transform: translateY(0px) scale(0.5) rotate(0deg); 
    }
    50% { 
        opacity: 1; 
        transform: translateY(-20px) scale(1) rotate(180deg); 
    }
}

/* Enhanced scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator::before {
    content: 'Discover Cooper\'s Story';
    font-size: 1.8rem;
    color: #000000;
    font-weight: 700;
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounceWooden 2s infinite;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounceWooden 2s infinite 0.3s;
}

@keyframes bounceWooden {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0) rotate(-45deg);
        opacity: 1;
    }
    40% { 
        transform: translateY(-15px) rotate(-45deg);
        opacity: 0.7;
    }
    60% { 
        transform: translateY(-8px) rotate(-45deg);
        opacity: 0.9;
    }
}

/* Creative Particle Effects */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

/* Book Cover Inspired Particle Overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(218, 165, 32, 0.1) 0%, transparent 50%);
    z-index: 2;
    animation: particleFloat 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/hero-bg.png') center/cover;
    opacity: 0.1;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem 0;
    cursor: auto;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-title:hover {
    transform: scale(1.02);
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.8);
}

/* Remove decorative underline next to hero title */
.hero-title::after {
    content: none;
}

.hero-title:hover::after {
    width: 100%;
}

.title-line-1, .title-line-2 {
    display: block;
    opacity: 0;
    transform: translateX(-50px);
}
.title-line-1{
    font-size: 100px !important;
}
.title-line-2 {
    color: #000000 !important;
    font-size: 70px !important;
    /* background: linear-gradie
    backgront(45deg, #000000, #2C1810); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* background-clip: text; */
    /* text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9); */
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.4);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-book {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-container {
    position: relative;
    max-width: 400px;
    opacity: 0;
    transform: scale(0.8) rotateY(20deg);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
    cursor: auto;
    pointer-events: auto;
}

.book-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.3) 0%, transparent 70%);
    border-radius: 20px;
    animation: glow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

.book-particles {
    pointer-events: none;
}

@keyframes glow {
    from { opacity: 0.5; transform: scale(1); }
    to { opacity: 0.8; transform: scale(1.1); }
}

.floating-book {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.3);
    animation: float 6s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
    cursor: auto;
    transform-style: preserve-3d;
    pointer-events: auto;
}

.floating-book:hover {
    transform: scale(1.08) rotateY(-8deg) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(139, 69, 19, 0.4);
    animation-play-state: paused;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    25% { transform: translateY(-10px) scale(1.02); }
    50% { transform: translateY(-20px) scale(1.05); }
    75% { transform: translateY(-10px) scale(1.02); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(-45deg); }
    40% { transform: translateY(-10px) rotate(-45deg); }
    60% { transform: translateY(-5px) rotate(-45deg); }
}


/* Cooper's Song Section */
.cooper-song-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-cream) 100%);
    position: relative;
}

.cooper-song-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(139, 69, 19, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(218, 165, 32, 0.05) 0%, transparent 60%);
    z-index: 1;
}

.song-container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.song-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(139, 69, 19, 0.2);
}

.song-info {
    margin-top: 1.5rem;
    text-align: center;
}

.song-description {
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
}

/* Cooper's Video Section */
.cooper-video-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    position: relative;
}

.cooper-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 69, 19, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 75% 75%, rgba(218, 165, 32, 0.03) 0%, transparent 60%);
    z-index: 1;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.cooper-video {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
}

/* Cooper's Images Gallery */
.cooper-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-cream);
    padding: 5px;
}

.cooper-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.3);
}

.cooper-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.5s ease;
}

.cooper-image-wrapper:hover .cooper-image {
    transform: scale(1.05);
}

.image-overlay-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0) 0%, rgba(139, 69, 19, 0.1) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cooper-image-wrapper:hover .image-overlay-effect {
    opacity: 1;
}

/* Cooper's Featured Image */
.cooper-featured-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(139, 69, 19, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(218, 165, 32, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    padding: 5px;
    aspect-ratio: 3 / 4;
}

.cooper-featured-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.3);
}

.cooper-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    display: block;
    transition: transform 0.5s ease;
    transform-origin: center center;
}

.cooper-featured-image-wrapper:hover .cooper-featured-image {
    transform: scale(1.05);
}

.cooper-featured-image-wrapper:hover .image-overlay-effect {
    opacity: 1;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fff 0%, var(--bg-cream) 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/about-bg.png') center/cover;
    opacity: 0.05;
    z-index: 1;
}

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

.about-image-frame {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto;
    background: linear-gradient(45deg, var(--secondary-color), var(--brown-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.2);
}

.author-avatar {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Author Image Styling */
.author-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

.author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s ease;
    filter: brightness(1.05) contrast(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(218, 165, 32, 0.1) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.author-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(139, 69, 19, 0.3);
    cursor: pointer;
}

.author-image-container:hover .author-image {
    filter: brightness(1.1) contrast(1.15) saturate(1.1);
}

.author-image-container:hover .image-overlay {
    opacity: 1;
}

/* About section text hover effects */
.about-content h2:hover {
    color: var(--accent-color) !important;
    transform: translateX(5px) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

/* About the Author Section */
.about-author-section {
    /* padding: 8rem 0; */
    /* background: linear-gradient(135deg, var(--bg-light) 0%, #fff 50%, var(--bg-cream) 100%); */
    position: relative;
    overflow: hidden;
}

.about-author-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%238B4513" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23CD853F" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23DAA520" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.author-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    pointer-events: auto;
}

.author-content a {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    display: inline-block;
    cursor: pointer;
}

.author-text-wrapper {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    pointer-events: auto;
}

.author-text-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--gold));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

.author-description {
    margin: 2rem 0;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.author-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
    position: relative;
    pointer-events: auto;
    user-select: text;
}

.author-description p::first-letter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    float: left;
    line-height: 1;
    margin-right: 8px;
    margin-top: 4px;
    font-family: 'Playfair Display', serif;
}

.author-signature {
    margin-top: 2rem;
    text-align: right;
    position: relative;
}

.signature-line {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 0 0.5rem auto;
    border-radius: 2px;
}

.signature-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
    display: block;
}

.author-image-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.author-image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.2);
    transition: all 0.4s ease;
    background: linear-gradient(45deg, var(--secondary-color), var(--brown-light));
    padding: 8px;
}

.author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s ease;
    filter: brightness(1.05) contrast(1.1);
}

.author-image-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(139, 69, 19, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.author-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(139, 69, 19, 0.3);
}

.author-image-wrapper:hover .author-image {
    filter: brightness(1.1) contrast(1.15) saturate(1.1);
}

.author-image-wrapper:hover .author-image-overlay {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

/* Floating elements for author section */
.about-author-section .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.about-author-section .floating-icon {
    position: absolute;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.about-author-section .floating-icon.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.about-author-section .floating-icon.icon-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1.5s;
}

.about-author-section .floating-icon.icon-3 {
    bottom: 25%;
    left: 20%;
    animation-delay: 3s;
}

.about-author-section .floating-icon.icon-4 {
    bottom: 35%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-author-section {
        padding: 4rem 0;
    }
    
    .author-text-wrapper {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .author-image-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .author-description p {
        font-size: 1rem;
    }
    
    .author-description p::first-letter {
        font-size: 2rem;
    }
}

.about-text:hover {
    color: var(--primary-color) !important;
    transform: translateX(3px) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--accent-color);
    animation: floatIcon 4s ease-in-out infinite;
}

.icon-1 { top: 10%; right: 10%; animation-delay: 0s; }
.icon-2 { bottom: 10%; left: 10%; animation-delay: 1s; }
.icon-3 { top: 10%; left: 10%; animation-delay: 2s; }
.icon-4 { bottom: 10%; right: 10%; animation-delay: 3s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

.about-content {
    position: relative;
    z-index: 2;
    padding-left: 2rem;
}

.section-subtitle {
    font-size: 1.1rem !important;
    color: var(--accent-color) !important;
    font-weight: 500 !important;
    display: block !important;
    margin-bottom: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 999 !important;
}

.section-subtitle:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px) !important;
    letter-spacing: 3px !important;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
}

/* Remove decorative underline next to all section titles */
.section-title::after {
    content: none;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.author-achievements {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
}

.achievement-item {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1.5rem !important;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(218, 165, 32, 0.1) 100%) !important;
    border: 2px solid rgba(139, 69, 19, 0.2) !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.15) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 999 !important;
}

.achievement-item:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.3) !important;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.15) 0%, rgba(218, 165, 32, 0.15) 100%) !important;
    border-color: rgba(139, 69, 19, 0.4) !important;
    cursor: pointer !important;
    border: 3px solid red !important;
}

.achievement-icon {
    font-size: 2rem !important;
    color: var(--primary-color) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 999 !important;
}

.achievement-item:hover .achievement-icon {
    transform: scale(1.1) rotate(5deg) !important;
    color: var(--accent-color) !important;
}

.achievement-text h4 {
    color: var(--primary-color) !important;
    margin-bottom: 0.5rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 999 !important;
}

.achievement-item:hover .achievement-text h4 {
    color: var(--accent-color) !important;
    transform: translateX(5px) !important;
}

.achievement-text p {
    color: var(--text-light) !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 999 !important;
}

.achievement-item:hover .achievement-text p {
    color: var(--primary-color) !important;
    transform: translateX(5px) !important;
}

/* Books Section */
.books-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

/* Testimonials Section */
.testimonials-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 69, 19, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(218, 165, 32, 0.05) 0%, transparent 60%);
    z-index: 1;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.05) 0%, rgba(139, 69, 19, 0.05) 100%);
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(139, 69, 19, 0.25);
}

.testimonial-quote {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2rem;
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
    animation: quoteFloat 3s ease-in-out infinite;
}

@keyframes quoteFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.8; }
    50% { transform: translateY(-5px) rotate(5deg); opacity: 1; }
}

.testimonial-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
}

.testimonial-text::after {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: -5px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
}

.testimonial-author {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
}

.testimonial-author:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

.author-avatar {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.testimonial-author:hover .author-avatar {
    transform: scale(1.1);
    opacity: 1;
}

.author-info {
    text-align: left;
}

.author-name {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.author-title {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.testimonial-rating i {
    color: var(--gold);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.testimonial-rating i:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}

.testimonial-actions {
    position: relative;
    z-index: 2;
}

.testimonial-actions .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

.testimonial-link {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.testimonial-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.testimonial-actions .btn:hover::before {
    left: 100%;
}

.testimonial-actions .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.4);
}

/* Testimonial floating elements */
.testimonial-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    border-radius: 50%;
    opacity: 0.1;
    animation: testimonialGlow 4s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes testimonialGlow {
    0% { opacity: 0.1; transform: scale(1); }
    100% { opacity: 0.3; transform: scale(1.2); }
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.featured-book-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 248, 0.95) 100%);
    border: 2px solid rgba(139, 69, 19, 0.1);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
    margin-bottom: 4rem;
    transition: all 0.3s ease;
}

.featured-book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(139, 69, 19, 0.25);
}

.book-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1) 0%, rgba(139, 69, 19, 0.1) 100%);
    z-index: 1;
}

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

.book-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
}

.book-image:hover {
    transform: scale(1.05) rotateY(-5deg);
}

.book-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s ease;
}

.book-image-container:hover .book-shine {
    left: 100%;
}

.book-details {
    position: relative;
    z-index: 2;
}

.book-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.book-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--gold);
}

.rating-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.book-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.book-price {
    margin-bottom: 2rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 1rem;
}

.original-price {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.book-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.upcoming-book-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.upcoming-book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(139, 69, 19, 0.2);
}

.upcoming-book-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.upcoming-book-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upcoming-book-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fff 0%, var(--bg-cream) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.1), transparent);
    transition: all 0.6s ease;
}

.gallery-card:hover::before {
    left: 100%;
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(139, 69, 19, 0.2);
}

.gallery-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-color);
}

.gallery-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.gallery-card p {
    color: var(--text-light);
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--brown-dark) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.newsletter-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.newsletter-container h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.newsletter-form .input-group {
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 25px 0 0 25px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 1rem 2rem;
    font-weight: 600;
    background: var(--gold);
    border: none;
}

.newsletter-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/contact-bg.png') center/cover;
    opacity: 0.05;
    z-index: 1;
}

.contact-info, .contact-form-container {
    position: relative;
    z-index: 2;
}

.contact-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-items {
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.contact-form-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 248, 0.95) 100%);
    border: 2px solid rgba(139, 69, 19, 0.1);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.2);
    backdrop-filter: blur(10px);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    border: 2px solid rgba(139, 69, 19, 0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
    background: white;
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-11.046-8.954-20-20-20v20h20z'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.footer-section > .container-fluid {
    position: relative;
    z-index: 2;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--brown-dark);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 3rem 0 2rem;
}

.footer-copyright, .footer-love {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 25px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    z-index: 10;
    cursor: pointer;
}

/* Contact Button Specific Styles */
.contact-link-btn {
    display: inline-block;
    text-decoration: none;
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

.contact-button {
    pointer-events: auto;
    cursor: pointer;
    z-index: 10;
    position: relative;
    display: inline-block;
    text-decoration: none;
    border: none;
    outline: none;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

.contact-link-btn:hover {
    text-decoration: none;
}

/* Force Contact Button to be Clickable */
.contact-button-wrapper {
    display: inline-block !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    position: relative !important;
    pointer-events: auto !important;
}

.contact-button-wrapper * {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    position: relative !important;
}

.contact-button-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}


.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    border-radius: 25px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Add spacing between Amazon icon and text in buttons */
.btn-primary .fa-amazon,
.btn-primary .fa-brands {
    margin-right: 0.2rem;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .floating-element {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .floating-element {
        font-size: 1.8rem;
    }
    
    .book-container {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section {
        cursor: auto;
    }
    
    .custom-cursor {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .floating-element {
        font-size: 1.5rem;
        pointer-events: auto;
    }
    
    .floating-element:hover {
        transform: scale(1.2) rotate(5deg);
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .book-container {
        max-width: 250px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .author-achievements {
        flex-direction: column;
        gap: 1rem;
    }
    
    .book-actions {
        flex-direction: column;
    }
    
    .book-actions .btn {
        width: 100%;
    }
    
    /* Cooper Song Responsive for Tablets */
    .song-container {
        padding: 2rem;
    }
    
    .song-description {
        font-size: 1rem;
    }
    
    /* Cooper Video Responsive for Tablets */
    .cooper-video {
        height: 400px;
    }
    
    .cooper-image {
        height: 520px;
    }
    
    .cooper-featured-image-wrapper {
        max-width: 500px;
    }
    
    /* Testimonial Responsive for Tablets */
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .author-name {
        font-size: 1.2rem;
    }
    
    /* Footer Responsive for Tablets */
    .footer-section {
        padding: 3.5rem 0 2rem;
    }
    
    .footer-brand {
        font-size: 1.6rem;
    }
    
    .footer-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0;
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .floating-element {
        font-size: 1.2rem;
    }
    
    .book-container {
        max-width: 200px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .book-title {
        font-size: 1.5rem;
    }
    
    .featured-book-card {
        padding: 1.5rem;
    }
    
    .upcoming-book-card {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .scroll-indicator::before {
        font-size: 1rem;
    }
    
    /* Cooper Song Responsive for Mobile */
    .song-container {
        padding: 1.5rem;
    }
    
    .song-description {
        font-size: 0.9rem;
    }
    
    /* Cooper Video Responsive for Mobile */
    .cooper-video {
        height: 300px;
    }
    
    .cooper-image {
        height: 450px;
    }
    
    .cooper-featured-image-wrapper {
        max-width: 400px;
    }
    
    /* Testimonial Responsive for Mobile */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .author-info {
        text-align: center;
    }
    
    .author-avatar {
        font-size: 3rem;
    }
    
    .author-image-container {
        width: 380px;
        height: 380px;
        margin: 0 auto;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .quote-icon {
        font-size: 2.5rem;
    }
    
    /* Footer Responsive */
    .footer-section {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-brand {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-description {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .floating-element {
        font-size: 1rem;
    }
    
    .book-container {
        max-width: 180px;
    }
    
    .author-image-container {
        width: 320px;
        height: 320px;
    }
    
    .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Footer for Small Mobile */
    .footer-section {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand {
        font-size: 1.3rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
        text-align: center;
    }
}



/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
}

.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}
