@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary: #2D3A4F;
    --secondary: #F7E9E1;
    --accent-green: #8DC63F;
    --accent-light-blue: #ADD8E6;
    --white: #FFFFFF;
    --light-grey: #E0E0E0;
    --text-dark: #2D3A4F;
    --text-light: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    height: 50px;
    width: auto;
}

.nav-desktop {
    display: none;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-desktop a {
    color: var(--primary);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    width: 100%;
}

.header-cta {
    display: none;
}

.social-icons {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    text-align: center;
}

.mobile-nav-content .logo {
    position: absolute;
    top: 20px;
    left: 20px;
}

.mobile-nav-content .logo svg {
    height: 40px;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-links a {
    color: var(--white);
    font-size: 24px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.mobile-nav-contact {
    margin-top: 30px;
}

.mobile-nav-contact a {
    color: var(--accent-light-blue);
    font-size: 16px;
}

.mobile-social {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.mobile-social a {
    color: var(--white);
    font-size: 24px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 58, 79, 0.85) 0%, rgba(45, 58, 79, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* CTA Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease-out;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-green);
    color: var(--primary);
}

.btn-primary:hover {
    background: #7ab332;
    box-shadow: 0 5px 20px rgba(141, 198, 63, 0.4);
}

.btn-secondary {
    background: var(--accent-light-blue);
    color: var(--primary);
}

.btn-secondary:hover {
    background: #9ac8e0;
    box-shadow: 0 5px 20px rgba(173, 216, 230, 0.4);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background: #1e293b;
    box-shadow: 0 5px 20px rgba(45, 58, 79, 0.4);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--light-grey);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.hero .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-light {
    background: var(--secondary);
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-white {
    background: var(--white);
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: #666;
}

/* Who We Are Section */
.who-we-are {
    background: var(--secondary);
}

.who-we-are-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.who-we-are-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary);
}

.who-we-are-text p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
}

.who-we-are-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--light-grey);
}

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

.service-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.service-card a {
    color: var(--accent-green);
    font-weight: 600;
    position: relative;
}

.service-card a::after {
    content: ' →';
    transition: margin-left 0.3s ease;
}

.service-card a:hover::after {
    margin-left: 5px;
}

/* Featured Book Section */
.featured-book {
    background: var(--primary);
    color: var(--white);
}

.featured-book-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-book-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.featured-book-text p {
    font-size: 17px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.book-cover {
    display: flex;
    justify-content: center;
}

.book-cover img {
    max-width: 300px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

/* Testimonials Section */
.testimonials {
    background: var(--secondary);
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    margin: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-card blockquote {
    font-size: 18px;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--primary);
    font-style: normal;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-grey);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-green);
}

/* Newsletter Section */
.newsletter {
    background: var(--white);
    text-align: center;
}

.newsletter h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.newsletter p {
    color: #666;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 15px 25px;
    border: 2px solid var(--light-grey);
    border-radius: 50px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-light-blue);
    box-shadow: 0 0 0 3px rgba(173, 216, 230, 0.3);
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-brand a {
    color: var(--white);
    opacity: 0.8;
    display: block;
    margin-bottom: 5px;
}

.footer-brand a:hover {
    opacity: 1;
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-green);
}

.footer-newsletter p {
    opacity: 0.8;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-newsletter-form {
    display: flex;
    gap: 10px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
}

.footer-newsletter-form button {
    padding: 12px 25px;
    background: var(--accent-green);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter-form button:hover {
    background: #7ab332;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-green);
    color: var(--primary);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: var(--white);
    opacity: 0.7;
    margin: 0 10px;
}

.footer-bottom a:hover {
    opacity: 1;
}

/* Page Hero (Internal Pages) */
.page-hero {
    padding: 150px 0 80px;
    background: var(--secondary);
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.page-hero p {
    font-size: 20px;
    color: #666;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* About Page Styles */
.about-story {
    padding: 80px 0;
}

.about-story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--primary);
}

.about-story-text p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Founder Section */
.founder-section {
    background: var(--secondary);
    padding: 80px 0;
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.founder-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.founder-text h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary);
}

.founder-text h3 {
    font-size: 20px;
    color: var(--accent-green);
    margin-bottom: 20px;
    font-weight: 500;
}

.founder-text p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--light-grey);
    transition: all 0.3s ease;
}

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

.value-card-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.value-card p {
    font-size: 15px;
    color: #666;
}

/* Services Page Styles */
.services-detail {
    padding: 80px 0;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-block:nth-child(even) .service-block-image {
    order: 2;
}

.service-block-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-block-text p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-block-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Custom Solutions Section */
.custom-solutions {
    background: var(--secondary);
    padding: 80px 0;
    text-align: center;
}

.custom-solutions h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary);
}

.custom-solutions p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Book Page Styles */
.book-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #3d4d63 100%);
    color: var(--white);
}

.book-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.book-hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.book-hero-text p {
    font-size: 20px;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.book-hero-image {
    display: flex;
    justify-content: center;
}

.book-hero-image img {
    max-width: 350px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* About the Book Section */
.about-book {
    padding: 80px 0;
}

.about-book-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-book-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-book-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--primary);
}

.about-book-text p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Book Testimonials */
.book-testimonials {
    background: var(--secondary);
    padding: 80px 0;
}

.book-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.book-testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.book-testimonial-card blockquote {
    font-size: 16px;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.book-testimonial-card cite {
    font-weight: 600;
    color: var(--primary);
    font-style: normal;
}

/* Purchase Section */
.purchase-section {
    padding: 80px 0;
    text-align: center;
}

.purchase-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary);
}

.purchase-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.purchase-buttons .btn {
    min-width: 200px;
}

/* Contact Page Styles */
.contact-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #3d4d63 100%);
    color: var(--white);
    text-align: center;
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.contact-hero p {
    font-size: 20px;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-container h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-grey);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(141, 198, 63, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-container .btn {
    width: 100%;
}

/* Contact Info Section */
.contact-info-section {
    background: var(--secondary);
    padding: 80px 0;
}

.contact-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--primary);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item span {
    font-size: 24px;
}

.contact-info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-info-item p,
.contact-info-item a {
    color: #555;
    font-size: 16px;
}

.contact-info-item a:hover {
    color: var(--accent-green);
}

.map-placeholder {
    background: var(--white);
    border-radius: 20px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder p {
    color: #999;
    font-size: 16px;
}

/* Blog Page Styles */
.blog-hero {
    padding: 150px 0 80px;
    background: var(--secondary);
    text-align: center;
}

.blog-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.blog-hero p {
    font-size: 20px;
    color: #666;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* Featured Posts */
.featured-posts {
    padding: 80px 0;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.featured-post-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.featured-post-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.featured-post-content {
    padding: 30px;
}

.featured-post-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.featured-post-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.featured-post-content a {
    color: var(--accent-green);
    font-weight: 600;
}

/* All Posts */
.all-posts {
    background: var(--secondary);
    padding: 80px 0;
}

.all-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.post-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.post-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.post-content a {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 14px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: var(--accent-green);
    color: var(--primary);
}

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

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

/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-background {
        transform: none !important;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .who-we-are-content,
    .featured-book-content,
    .about-story-content,
    .founder-content,
    .service-block,
    .about-book-content,
    .contact-info-content {
        grid-template-columns: 1fr;
    }
    
    .featured-book-content .book-cover {
        order: -1;
    }
    
    .service-block:nth-child(even) .service-block-image {
        order: 0;
    }
    
    .featured-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .all-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-hero h1,
    .book-hero h1,
    .contact-hero h1,
    .blog-hero h1 {
        font-size: 36px;
    }
    
    .book-hero-content,
    .about-book-content {
        grid-template-columns: 1fr;
    }
    
    .book-hero-image img {
        max-width: 250px;
    }
    
    .all-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        min-width: 100%;
    }
    
    .footer-newsletter-form {
        flex-direction: column;
    }
    
    .purchase-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
    
    .nav-desktop {
        display: flex;
    }
    
    .header-cta {
        display: block;
    }
    
    .mobile-nav-overlay {
        display: none !important;
    }
}
