/*
Theme Name: Serenity Methods
Theme URI: https://example.com/serenitymethods
Author: Your Name
Author URI: https://example.com
Description: A custom WordPress theme designed for Serenity Methods. Built with Bootstrap 5.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: serenitymethods
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# CSS Variables (Brand Colors)
# Typography
# Header & Navigation
# Hero Section
# Featured Section
# CTA Section
# Footer
# Utilities & Animations
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# CSS Variables (Brand Colors from Logo)
--------------------------------------------------------------*/
:root {
    /* Serenity Methods Brand Palette */
    --sm-primary: #5FB8B8;
    /* Soft Teal */
    --sm-primary-dark: #4A9E9E;
    --sm-primary-light: #7FCFCF;
    --sm-secondary: #B8A5C8;
    /* Lavender Purple */
    --sm-accent: #F5D0C5;
    /* Peachy Coral */
    --sm-mint: #A8D8D0;
    /* Mint Green */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--sm-primary) 0%, var(--sm-mint) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--sm-secondary) 0%, var(--sm-accent) 100%);
    --gradient-hero: linear-gradient(135deg, #f8f6fa 0%, #e8f4f3 50%, #fef5f2 100%);
    --gradient-cta: linear-gradient(135deg, #1a2a3a 0%, #0f172a 100%);
}

/* Override Bootstrap primary color */
.btn-primary {
    --bs-btn-bg: var(--sm-primary);
    --bs-btn-border-color: var(--sm-primary);
    --bs-btn-hover-bg: var(--sm-primary-dark);
    --bs-btn-hover-border-color: var(--sm-primary-dark);
    --bs-btn-active-bg: var(--sm-primary-dark);
    --bs-btn-active-border-color: var(--sm-primary-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--sm-primary);
    --bs-btn-border-color: var(--sm-primary);
    --bs-btn-hover-bg: var(--sm-primary);
    --bs-btn-hover-border-color: var(--sm-primary);
}

.text-primary {
    color: var(--sm-primary) !important;
}

.bg-primary {
    background-color: var(--sm-primary) !important;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1,
h2,
h3,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Playfair Display', serif;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
/* Sticky Footer Layout */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content {
    flex: 1 0 auto;
    background-color: #fff;
}

.site-footer {
    flex-shrink: 0;
}

/* Prevent gaps on mobile */
#page {
    background-color: #fff;
}

.site-header {
    margin: 0;
    padding: 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

/* Sticky Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
}

.site-header .navbar {
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

/*--------------------------------------------------------------
# Hero Slider Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Hero Slider Section
--------------------------------------------------------------*/
.hero-section {
    background: #0f172a;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.7));
    z-index: 0;
}

/* Utilities */
.text-teal-300 {
    color: #5eead4 !important;
}

.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.letter-spacing-tight {
    letter-spacing: -0.025em;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Featured / Philosophy Section
--------------------------------------------------------------*/
.blob-soft {
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.image-stack {
    perspective: 1000px;
}

.shadow-xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

.feature-circle {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
}

.feature-circle i {
    font-size: 1rem;
    line-height: 1;
}

.translate-middle-sm {
    transform: translate(15px, 15px);
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.bg-opacity-10 {
    --bs-bg-opacity: 0.1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.object-fit-cover {
    object-fit: cover;
}

.transition-all {
    transition: all 0.3s ease;
}

.list-unstyled li {
    transition: transform 0.2s ease;
}

.list-unstyled li:hover {
    transform: translateX(5px);
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta-section {
    background: var(--gradient-cta);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top left, rgba(95, 184, 184, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(184, 165, 200, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-btn {
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--sm-dark);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background-color: var(--sm-primary-light);
    color: var(--sm-dark);
}

.text-gradient-light {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-section .form-control:focus {
    border-color: var(--sm-primary);
    box-shadow: 0 0 0 0.25rem rgba(95, 184, 184, 0.25);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: #f8f9fa;
    margin-top: 0 !important;
}

.footer-link {
    transition: color 0.2s ease;
}

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

/*--------------------------------------------------------------
# Scroll to Top Button
--------------------------------------------------------------*/
.scroll-to-top {
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
}

.scroll-to-top i {
    font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Utilities & Animations
--------------------------------------------------------------*/
.py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
}

.transition-all {
    transition: all 0.3s ease;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(95, 184, 184, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(95, 184, 184, 0.6);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animation classes */
[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease-out forwards;
}

/*--------------------------------------------------------------
# WordPress Core Classes
--------------------------------------------------------------*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    /* body {
        padding-top: 66px;
    } */

    .hero-section {
        padding-top: 40px;
    }

    .floating-circle {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }
}

/*--------------------------------------------------------------
# Blog Styles
--------------------------------------------------------------*/
/* Blog Cards */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-title-link {
    transition: color 0.2s ease;
}

.blog-title-link:hover {
    color: var(--sm-primary) !important;
}

/* Single Post Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: #1a202c;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-content h2 {
    font-size: 1.75rem;
}

.article-content h3 {
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--sm-primary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f7fafc;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content a {
    color: var(--sm-primary);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--sm-dark);
}

/* Post Navigation */
.nav-post-link {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-post-link:hover {
    border-color: var(--sm-primary);
    transform: translateY(-2px);
}

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

/* Pagination */
.pagination {
    gap: 0.5rem;
}

.pagination .page-link {
    border-radius: 8px;
    border: none;
    padding: 0.5rem 1rem;
    color: #4a5568;
    background: #f7fafc;
}

.pagination .page-item.active .page-link,
.pagination .page-link.current {
    background: var(--sm-primary);
    color: #fff;
}

.pagination .page-link:hover {
    background: var(--sm-primary);
    color: #fff;
}

/* Sidebar */
.sidebar-link {
    transition: color 0.2s ease;
}

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

.sidebar-widget:last-child {
    margin-bottom: 0 !important;
}

/*--------------------------------------------------------------
# Contact Form 7 Styling
--------------------------------------------------------------*/
.wpcf7 {
    width: 100%;
}

.wpcf7-form p {
    margin-bottom: 1rem;
}

.wpcf7-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.wpcf7-form-control:not([type="submit"]) {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

.wpcf7-form-control:not([type="submit"]):focus {
    outline: none;
    border-color: var(--sm-primary);
    box-shadow: 0 0 0 3px rgba(95, 184, 184, 0.15);
}

.wpcf7-form-control::placeholder {
    color: #adb5bd;
}

/* Text area */
.wpcf7-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Select dropdown */
.wpcf7-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    cursor: pointer;
}

/* Checkbox and acceptance */
.wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--sm-primary);
    cursor: pointer;
}

.wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
}

/* Submit button */
.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--sm-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-submit:hover {
    background-color: var(--sm-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.wpcf7-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.wpcf7-spinner {
    display: inline-block;
    margin-left: 10px;
}

/* Validation messages */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.wpcf7-not-valid {
    border-color: #dc3545 !important;
}

/* Response messages */
.wpcf7-response-output {
    margin: 1.5rem 0 0 0 !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    font-size: 0.9rem;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #28a745 !important;
    background-color: #d4edda !important;
    color: #155724 !important;
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #ffc107 !important;
    background-color: #fff3cd !important;
    color: #856404 !important;
}

.wpcf7-mail-sent-ng,
.wpcf7 form.failed .wpcf7-response-output {
    border-color: #dc3545 !important;
    background-color: #f8d7da !important;
    color: #721c24 !important;
}

/* Two column layout for form fields */
.wpcf7-form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wpcf7-form .form-row>p {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .wpcf7-form .form-row {
        flex-direction: column;
    }
}

/*--------------------------------------------------------------
# E-Book Coming Soon Page
--------------------------------------------------------------*/
/* Hero Section */
.ebook-hero {
    background: linear-gradient(135deg, #f8f9fc 0%, #e8f4f3 50%, #fef8f6 100%);
    position: relative;
}

/* Background Shapes */
.ebook-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ebook-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.ebook-bg-shapes .shape-1 {
    width: 500px;
    height: 500px;
    background: var(--sm-primary);
    top: -150px;
    right: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.ebook-bg-shapes .shape-2 {
    width: 400px;
    height: 400px;
    background: var(--sm-secondary);
    bottom: -100px;
    left: -100px;
    animation: floatShape 25s ease-in-out infinite reverse;
}

.ebook-bg-shapes .shape-3 {
    width: 300px;
    height: 300px;
    background: var(--sm-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatShape 30s ease-in-out infinite;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    inset: 0;
}

.floating-particles span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--sm-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 15s infinite;
}

.floating-particles span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-particles span:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
    width: 15px;
    height: 15px;
}

.floating-particles span:nth-child(3) {
    top: 30%;
    right: 20%;
    animation-delay: 4s;
}

.floating-particles span:nth-child(4) {
    top: 70%;
    right: 10%;
    animation-delay: 6s;
    width: 8px;
    height: 8px;
}

.floating-particles span:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 8s;
    width: 12px;
    height: 12px;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Coming Soon Badge */
.coming-soon-badge {
    background: linear-gradient(135deg, rgba(95, 184, 184, 0.15), rgba(184, 165, 200, 0.15));
    border: 1px solid rgba(95, 184, 184, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--sm-primary);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(95, 184, 184, 0.7);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(95, 184, 184, 0);
    }
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--sm-primary);
}

/* Text Gradient */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--sm-primary) 0%, var(--sm-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Chips */
.feature-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.3s ease;
}

.feature-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.feature-chip i {
    color: var(--sm-primary);
}

/* Notify Form */
.notify-form-wrapper {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 500px;
}

.notify-input {
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
}

.notify-input:focus {
    border-color: var(--sm-primary) !important;
    box-shadow: 0 0 0 4px rgba(95, 184, 184, 0.15) !important;
}

.notify-btn {
    border-radius: 12px !important;
    padding: 12px 24px !important;
    white-space: nowrap;
}

/* E-book Visual */
.ebook-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.ebook-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(95, 184, 184, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.ebook-mockup {
    position: relative;
    z-index: 2;
    animation: floatBook 6s ease-in-out infinite;
}

@keyframes floatBook {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.ebook-cover {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.ebook-image {
    max-width: 350px;
    display: block;
}

.ebook-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 150%;
    }
}

/* E-book Placeholder */
.ebook-placeholder {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, var(--sm-primary) 0%, var(--sm-secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 30px;
}

.placeholder-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.placeholder-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Floating Elements */
.ebook-float-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.ebook-float-element i {
    color: var(--sm-primary);
    font-size: 1.25rem;
}

.ebook-float-element.element-1 {
    top: 10%;
    right: 5%;
    animation: floatElement 5s ease-in-out infinite;
}

.ebook-float-element.element-2 {
    bottom: 20%;
    left: 5%;
    animation: floatElement 6s ease-in-out infinite 1s;
}

.ebook-float-element.element-3 {
    top: 50%;
    right: -10%;
    animation: floatElement 7s ease-in-out infinite 2s;
}

@keyframes floatElement {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

/* What's Inside Section */
.whats-inside {
    background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%);
}

.chapter-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chapter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.chapter-card:hover .chapter-icon {
    background: var(--sm-primary);
    color: #fff;
}

.chapter-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(95, 184, 184, 0.1);
    line-height: 1;
}

.chapter-icon {
    width: 60px;
    height: 60px;
    background: rgba(95, 184, 184, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.chapter-icon i {
    font-size: 1.5rem;
    color: var(--sm-primary);
    transition: all 0.3s ease;
}

.chapter-card:hover .chapter-icon i {
    color: #fff;
}

/* E-book CTA Section */
.ebook-cta {
    background: var(--gradient-cta);
    position: relative;
}

.ebook-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top left, rgba(95, 184, 184, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(184, 165, 200, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.notify-form-dark input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 12px;
}

.notify-form-dark input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.notify-form-dark input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--sm-primary);
    box-shadow: 0 0 0 4px rgba(95, 184, 184, 0.2);
    color: #fff;
}

.notify-form-dark .btn-light {
    border-radius: 12px;
}

.notify-form-dark .btn-light:hover {
    background: var(--sm-primary);
    color: #fff;
}

.custom-footer-logo{
	width: 100px;
	height: 100px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .ebook-visual-wrapper {
        margin-top: 40px;
    }

    .ebook-image {
        max-width: 280px;
    }

    .ebook-placeholder {
        width: 250px;
        height: 340px;
    }

    .ebook-float-element.element-3 {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .ebook-image {
        max-width: 220px;
    }

    .ebook-placeholder {
        width: 200px;
        height: 280px;
    }

    .notify-form-wrapper {
        padding: 20px;
    }

    .ebook-float-element {
        width: 40px;
        height: 40px;
    }

    .ebook-float-element i {
        font-size: 1rem;
    }
}

/* Available Badge */
.available-badge {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(32, 201, 151, 0.15)) !important;
    border-color: rgba(40, 167, 69, 0.3) !important;
}

.available-badge .badge-text {
    color: #28a745 !important;
}

/* Download Button */
.download-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(95, 184, 184, 0.4);
}

.download-btn-cta {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.download-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    background: var(--sm-primary);
    color: #fff;
}