/* General Body and Text Styling */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Center Content in the Header */
.centered-content {
    text-align: center;
    padding: 40px 0;
}

/* Content Section */
.content-section {
    padding: 40px 20px;
    margin-bottom: 40px;
}

.section-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    padding-right: 15px;
}

/* Section Headers */
.section-header {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

/* Book Image Styling */
.book-image {
    text-align: center;
    margin-top: 30px;
}

.book-img {
    width: 300px;
    height: auto;
    border: 5px solid #ddd;
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.book-img:hover {
    transform: scale(1.05);
    /* Slight zoom effect on hover */
}

/* Footer Styling */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

footer a {
    color: #4CAF50;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Navigation Styling */
.nav {
    display: flex;
    justify-content: center;
    background-color: #333;
    padding: 10px;
    margin: 0;
}

.nav-item {
    margin: 0 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.nav-link:hover {
    color: #4CAF50;
}

/* Back to Home Link */
#back-to-home {
    text-align: center;
    margin-top: 40px;
}

.back-link {
    font-size: 18px;
    color: #4CAF50;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #4CAF50;
    color: white;
}

/* Contact Section Styling */
#contact-section {
    background-color: #f9f9f9;
    padding: 30px 20px;
}

#contact-section .section-container {
    text-align: center;
}

#contact-section .section-header {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

#contact-section p {
    font-size: 18px;
    line-height: 1.8;
}


/* Footer Styling */
footer {
    background-color: #222;
    /* Black background */
    color: white;
    text-align: center;
    padding: 20px 0;
    /* Ensure there's padding on top and bottom */
    width: 100%;
    /* Make sure it stretches across the entire width */
    position: relative;
    bottom: 0;
}


#contact-section a {
    color: #4CAF50;
    /* Same color as the 'Back to Home' button */
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact-section a:hover {
    color: #007BFF;
    /* Change to blue when hovered (optional) */
}


.book-container {
    margin-top: 100px;
}