.blogs .blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem 0 1.25rem;
}

.blogs .chip {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a1a;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.blkl {
    color: black !important;
}

.lake {
    color: #1a1a1a !important;
    line-height: 1.8;
    font-size: 1.05rem;
}

.blogs .blog-meta {
    display: flex;
    gap: 0.75rem;
    color: #999;
    font-size: 0.85rem;
}

.uppa {
    margin-top: 20px !important;
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(44, 95, 93, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    animation: particleMove 20s infinite linear;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blogs .blog-meta i {
    color: #d4af37;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Blogs Section */
.blogs {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-cream) 100%);
    position: relative;
    overflow: hidden;
}

.blogs .section-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.blogs .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--gold));
}

.blogs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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="%23f0f0f0"/><circle cx="75" cy="75" r="1" fill="%23f0f0f0"/><circle cx="50" cy="10" r="0.5" fill="%23f0f0f0"/><circle cx="10" cy="60" r="0.5" fill="%23f0f0f0"/><circle cx="90" cy="40" r="0.5" fill="%23f0f0f0"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.15);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(139, 69, 19, 0.1);
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(139, 69, 19, 0.25);
    border-color: var(--primary-color);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.1);
}

.blog-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.blog-category {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta i {
    color: #d4af37;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blogs .blog-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(139, 69, 19, 0.1);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.15);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.blogs .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(139, 69, 19, 0.25);
    border-color: var(--primary-color);
}

/* Blog post */
.blog-post-header {
    margin-top: 2.5rem;
    text-align: center;
}

.blog-post-header .section-title {
    font-size: 2.2rem;
}

.blog-post-header .section-subtitle {
    margin-top: 0.5rem;
}

.post-meta {
    margin-top: 0.75rem;
    justify-content: center;
}

.blog-post-content {
    margin-top: 1.5rem;
}

.blog-pullquote {
    margin: 1.25rem 0;
    font-size: 1.1rem;
    font-style: italic;
    color: #2c5f5d;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #d4af37;
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.blog-pullquote::before {
    content: '"';
    font-size: 3rem;
    color: #d4af37;
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.3;
}

.blog-post-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-post-actions .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-post-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.blog-post-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;
}

.blog-post-actions .btn:hover::before {
    left: 100%;
}

/* Blog button */
.blogs .blog-btn {
    border: 2px solid #2E8B57;
    color: #2E8B57;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.blogs .blog-btn:hover {
    background: linear-gradient(135deg, #32CD32 0%, #2E8B57 100%);
    color: #ffffff;
    border-color: #32CD32;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
}

.blogs .blog-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.blogs .blog-btn:hover::before {
    left: 100%;
}

/* Accent removal */
.blogs .blog-card::before {
    content: none;
}

/* Grid fix */
.blogs .blogs-grid {
    display: block;
}

.blog-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 1rem;
}

.blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.blog-btn i {
    transition: all 0.3s ease;
}

.blog-btn:hover {
    background: linear-gradient(135deg, #32CD32 0%, #2E8B57 100%);
    color: #ffffff;
    transform: translateY(-3px) translateX(5px);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.35);
}

.blog-btn:hover i {
    transform: scale(1.2) rotate(45deg);
    color: #ffffff;
}

.blog-btn span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* CTA */
.blogs-cta {
    text-align: center;
    margin-top: 4rem;
}

.blogs-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-card {
        margin: 0 1rem;
    }

    .blog-content {
        padding: 1.25rem;
    }

    .blog-title {
        font-size: 1.2rem;
    }

    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .blogs {
        padding: 4rem 0;
    }

    .blog-content {
        padding: 1rem;
    }

    .blog-title {
        font-size: 1.1rem;
    }

    .blogs-cta .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .blog-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }
}

/* Single Blog Page - Themed Content Section and Card */
.blog-content-section {
    /* push content below fixed navbar */
    margin-top: 100px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #F0FFF0 0%, #E6FFE6 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.blog-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(46, 139, 87, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(50, 205, 50, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.blog-article-card {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(46, 139, 87, 0.15);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(46, 139, 87, 0.15), 
                0 8px 20px rgba(50, 205, 50, 0.08);
    backdrop-filter: blur(10px);
    padding: 3rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.blog-article-card:hover {
    box-shadow: 0 25px 75px rgba(46, 139, 87, 0.2), 
                0 12px 30px rgba(50, 205, 50, 0.1);
    border-color: rgba(46, 139, 87, 0.3);
}

.blog-post-content h2, .blog-post-content h3 {
    color: #2E8B57 !important;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content h2 {
    font-size: 2rem;
    border-left: 4px solid #32CD32;
    padding-left: 1rem;
    margin-left: -1rem;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
}

.blog-post-content p {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.blog-post-content .blkl {
    color: #2E8B57 !important;
    font-weight: 700;
}

.blog-post-actions .btn {
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.15);
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.blog-post-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(46, 139, 87, 0.3);
}

.blog-post-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;
}

.blog-post-actions .btn:hover::before {
    left: 100%;
}

.blog-post-actions .btn-outline {
    border: 2px solid #2E8B57;
    color: #2E8B57;
    background: transparent;
}

.blog-post-actions .btn-outline:hover {
    background: linear-gradient(135deg, #32CD32 0%, #2E8B57 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(46, 139, 87, 0.35);
    border-color: #32CD32;
}

/* Responsive Styles for Blog Article Card */
@media (max-width: 768px) {
    .blog-article-card {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .blog-post-content h2 {
        font-size: 1.75rem;
        margin-left: -0.5rem;
        padding-left: 0.5rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.3rem;
        margin-top: 2rem;
    }
    
    .blog-post-content p {
        font-size: 1rem;
    }
    
    .blog-post-actions .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .blog-article-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .blog-post-content h2 {
        font-size: 1.5rem;
        border-left: 3px solid #32CD32;
    }
    
    .blog-post-content h3 {
        font-size: 1.2rem;
    }
    
    .blog-post-content p {
        font-size: 0.95rem;
    }
    
    .blog-post-actions .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .lake {
        font-size: 1rem !important;
    }
}

/* Book Fair Section */
.book-fair {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F0FFF0 0%, #E6FFE6 100%);
    position: relative;
    overflow: hidden;
}

.book-fair::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(46, 139, 87, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(50, 205, 50, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.fair-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.fair-text .section-title { 
    margin-bottom: 0.5rem; 
    font-size: 3rem; 
    color: #2E8B57;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.fair-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FF6347 0%, #FF69B4 100%);
    color: #ffffff;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255, 99, 71, 0.3);
    margin-bottom: 1rem;
}

.fair-intro {
    font-size: 1.2rem;
    color: #556B2F;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.fair-meta { 
    display: grid; 
    gap: 0.6rem; 
    margin-bottom: 1.75rem; 
}

.fair-meta .meta-item { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    color: #2E8B57; 
    font-weight: 600; 
    font-size: 1rem;
}

.fair-meta .meta-item i {
    color: #32CD32;
    font-size: 1.1rem;
}

.fair-actions { 
    display: flex; 
    gap: 1rem; 
    flex-wrap: wrap; 
}

.fair-actions .btn { 
    padding: 14px 34px; 
    font-size: 1.05rem; 
    transition: all 0.3s ease;
}

.fair-actions .btn-outline {
    border: 2px solid #2E8B57;
    color: #2E8B57;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fair-actions .btn-outline:hover {
    background: linear-gradient(135deg, #32CD32 0%, #2E8B57 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 139, 87, 0.3);
    border-color: #32CD32;
}

.fair-actions .btn-outline i {
    transition: transform 0.3s ease;
}

.fair-actions .btn-outline:hover i {
    transform: scale(1.1) rotate(5deg);
}

.fair-visual { 
    display: flex; 
    justify-content: center; 
    position: relative;
}

.fair-image-frame { 
    position: relative; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 15px 35px rgba(46, 139, 87, 0.2), 
                0 5px 15px rgba(50, 205, 50, 0.1);
    background: #ffffff; 
    padding: 20px; 
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(46, 139, 87, 0.1);
}

.fair-image-frame:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 25px 60px rgba(46, 139, 87, 0.3), 
                0 10px 25px rgba(50, 205, 50, 0.2);
    border-color: #32CD32;
}

.fair-image { 
    width: 100%; 
    height: auto; 
    max-height: 420px; 
    object-fit: contain; 
    display: block; 
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.fair-image-frame:hover .fair-image {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .book-fair {
        padding: 4rem 0;
    }
    
    .fair-content { 
        grid-template-columns: 1fr; 
        gap: 2rem;
    }
    
    .fair-text .section-title { 
        font-size: 2.5rem; 
    }
    
    .fair-image { 
        max-height: 340px; 
    }
    
    .fair-image-frame {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .book-fair {
        padding: 3rem 0;
    }
    
    .fair-text .section-title { 
        font-size: 2rem; 
    }
    
    .fair-image { 
        max-height: 300px; 
    }
    
    .fair-image-frame {
        padding: 12px;
        border-radius: 15px;
    }
    
    .fair-actions .btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
}

/* Book Fair Gallery Section */
.book-fair-gallery {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.02) 0%, rgba(50, 205, 50, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.book-fair-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 20%, rgba(46, 139, 87, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(50, 205, 50, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.gallery-header .section-title {
    font-size: 2.8rem;
    color: #2E8B57;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    font-size: 1.15rem;
    color: #556B2F;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    width: 100%;
}

.gallery-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(46, 139, 87, 0.2),
                0 5px 15px rgba(50, 205, 50, 0.1);
    background: #ffffff;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(46, 139, 87, 0.1);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-frame:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 25px 60px rgba(46, 139, 87, 0.3),
                0 10px 25px rgba(50, 205, 50, 0.2);
    border-color: #32CD32;
}

.gallery-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.gallery-image-frame:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.85) 0%, rgba(50, 205, 50, 0.85) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-image-frame:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    text-align: center;
    color: #ffffff;
}

.gallery-caption i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.gallery-caption p {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

@media (max-width: 1024px) {
    .book-fair-gallery {
        padding: 4rem 0;
    }
    
    .gallery-header .section-title {
        font-size: 2.4rem;
    }
    
    .gallery-container {
        gap: 2rem;
    }
    
    .gallery-image {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .book-fair-gallery {
        padding: 3rem 0;
    }
    
    .gallery-header {
        margin-bottom: 2.5rem;
    }
    
    .gallery-header .section-title {
        font-size: 2rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-image-frame {
        padding: 12px;
        border-radius: 15px;
    }
    
    .gallery-image {
        max-height: 350px;
    }
    
    .gallery-overlay {
        top: 12px;
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
    
    .gallery-caption i {
        font-size: 2rem;
    }
    
    .gallery-caption p {
        font-size: 1rem;
    }
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    animation: newsletterPattern 20s infinite linear;
}

@keyframes newsletterPattern {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.newsletter-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.magic-book {
    position: relative;
    width: 200px;
    height: 150px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    animation: bookHover 3s infinite ease-in-out;
}

@keyframes bookHover {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.book-pages {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(90deg, var(--light-color) 0%, var(--white) 100%);
    border-radius: var(--radius-sm);
}

.book-pages::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--border-color);
    box-shadow: 0 10px 0 var(--border-color), 0 20px 0 var(--border-color);
}

.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 30% 30%, var(--accent-color) 2px, transparent 2px),
        radial-gradient(circle at 70% 70%, var(--accent-color) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
    animation: sparkleMove 2s infinite;
}

@keyframes sparkleMove {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-form {
    max-width: 500px;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
}

.input-group input::placeholder {
    color: var(--text-light);
}

.newsletter-benefits {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.benefit-item i {
    color: var(--accent-color);
}
