/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
	background-color: #f4f4f4; /* Light gray background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 1rem;
}

header h1 {
    font-size: 2.5rem;
}

/* Navigation (Top) */
.top-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.top-nav a {
    text-decoration: none;
    color: white;
    padding: 0.5rem 1rem;
    background-color: #333;
    border-radius: 5px;
    font-size: 1rem;
}

.top-nav a:hover {
    background-color: #555;
}


/* Home Image Styling */
.home-image img {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}
/* About Us Section */
.about-section {
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-section h3 {
    font-size: 1.8rem;
    margin-top: 20px;
    color: #333;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.about-section ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.about-section ul li {
    font-size: 1rem;
    margin: 10px 0;
}

.about-section ul li strong {
    font-weight: bold;
}

/* Style the video container */
.video-container {
    text-align: center; /* Center the video */
    margin-top: 20px;
}

iframe {
    width: 100%; /* Makes the video responsive */
    max-width: 560px; /* Optional: Limits the video width */
    height: 315px; /* Set the height of the video */
}


/* Contact Us Page Centering */

/* Contact Us Section */
.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
}

/* Contact Information */
.contact-info {
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-align: left;
    width: 100%;
    max-width: 600px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1rem;
}

/* Contact Form */
.contact-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-section form input,
.contact-section form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.contact-section form button {
    padding: 10px 20px;
    border: none;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-section form button:hover {
    background-color: #0056b3;
}

}

/* Category Image Styling */
.category-img {
    width: 200%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}


/* Category Section */
.categories {
    padding: 2rem;
    background-color: white;
    margin-top: 20px;
    border-radius: 8px;
}

/* Categories Section */
.book-categories {
    padding: 40px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.book-categories h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.category {
    margin-bottom: 40px;
    text-align: left;
}

.category h3 {
    font-size: 1.8rem;
    color: #007BFF;
    margin-bottom: 10px;
    text-align: center;
}

.category ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.category ul li {
    margin: 10px 0;
    line-height: 1.5;
    color: #555;
}


/* Tab Buttons */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    padding: 0.5rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    background-color: #f4f4f4; /* Neutral background */
    border: 2px solid #ddd;
    margin: 0 5px;
    border-radius: 5px;
}

.tab-button:hover {
    background-color: #45a049; /* Slightly darker on hover */
}

.tab-button.active {
	display: block;
    background-color: #f4f4f4; /* Neutral background for active tab */
    color: #333; /* Dark text color */
}

.tab-link {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
}

.tab-link:hover {
    background-color: #45a049;
}


/* Ensuring all tabs are visually active */
.tab-content {
    display: block;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}

.tab-content img {
    max-width: 60%;
    height: auto;
    margin-top: 15px;
    border-radius: 10px;
}

html {
    scroll-behavior: smooth;
}


/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Social Media Section */
.social-media {
    margin-top: 20px;
}

.social-media p {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

/* Social Media Icon Styling */
.social-icon {
    margin: 0 15px;
}

.social-logo {
    width: 40px; /* Set icon size */
    height: 40px;
    transition: transform 0.3s;
}

.social-logo:hover {
    transform: scale(1.1); /* Hover effect to slightly enlarge the icons */
}

/* Fixed Navigation (Bottom Right) */
nav.fixed-nav {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

nav.fixed-nav a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 0.5rem;
    margin: 0.5rem 0;
    font-size: 1rem;
    text-align: center;
    background-color: #333;
    border-radius: 5px;
}

nav.fixed-nav a:hover {
    background-color: #555;
}

/* Media Queries for Responsiveness */

/* Mobile Devices */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    .top-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .home-image img {
        width: 100%;
        height: auto;
    }

    .tabs {
        flex-direction: column;
    }

    .tab-button {
        margin: 10px 0;
        width: 100%;
    }

    .categories {
        padding: 1rem;
    }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 1024px) {
    header h1 {
        font-size: 2.2rem;
    }

    .top-nav {
        gap: 1rem;
    }

    .tabs {
        justify-content: center;
    }

    .tab-button {
        font-size: 1.2rem;
        padding: 0.6rem 2rem;
    }

    .categories {
        padding: 2rem;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    header h1 {
        font-size: 2.5rem;
    }

    .top-nav {
        gap: 2rem;
    }

    .tabs {
        justify-content: center;
    }

    .tab-button {
        font-size: 1.4rem;
        padding: 0.8rem 2.5rem;
    }

    .categories {
        padding: 2rem 4rem;
    }
}

