/* General Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f7fc;
    animation: fadeIn 2s ease-in;
}

/* Header */
header {
    text-align: center;
    background-color: #4e73df;
    color: white;
    padding: 30px 20px;
    animation: slideInFromTop 1s ease-out;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: center;
    background-color: #1cc88a;
    padding: 15px 5px;
    flex-wrap: wrap;
    transition: background-color 0.3s ease;
}

nav:hover {
    background-color: #17a673;
}

nav a {
    text-decoration: none;
    color: white;
    margin: 10px 20px;
    font-size: 1.1rem;
    transition: transform 0.3s ease-in-out;
    opacity: 0.9;
}

nav a:hover {
    transform: scale(1.1);
    opacity: 1;
    color: #fef9ef;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Page-Specific Sections */
.contact-section,
.books-list,
.exams-section,
.feedback-form {
    text-align: center;
    padding: 40px 20px;
    margin: auto;
    max-width: 1200px;
    opacity: 0;
    animation: fadeInUp 1s ease-in forwards;
}

/* Books Section - Hover Effects */
.book-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    margin: auto;
    max-width: 1000px;
}

.book-item {
    padding: 15px;
    background: #fef9ef;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.book-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #1cc88a;
    color: white;
}

.book-item img {
    transition: transform 0.3s ease;
}

.book-item:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    text-align: center;
    background-color: #4e73df;
    color: white;
    padding: 15px 10px;
    margin-top: 20px;
    animation: slideInFromBottom 1s ease-out;
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Contact Us Section */
.contact-details {
    margin-bottom: 40px;
    background-color: #f6f6f6;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: inline-block;
    text-align: left;
    max-width: 600px;
    width: 100%;
    opacity: 0;
    animation: fadeInUp 1s ease-in forwards;
}

.contact-details h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-details p {
    font-size: 1rem;
    line-height: 1.6;
}

.contact-details a {
    color: #1cc88a;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Feedback Form */
.feedback-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    opacity: 0;
    animation: fadeInUp 1s ease-in forwards;
}

.feedback-form h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.feedback-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.feedback-form textarea {
    height: 100px;
}

.feedback-form .submit-btn {
    background-color: #1cc88a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.feedback-form .submit-btn:hover {
    background-color: #17a673;
}

/* Animations */
@keyframes fadeInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav a {
        margin: 10px 0;
    }

    .book-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .contact-section,
    .exams-section {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    header {
        font-size: 1.2rem;
    }

    nav a {
        font-size: 1rem;
    }

    .contact-section,
    .feedback-form {
        padding: 20px;
    }
}
/* General Button Styles */
button,
.nav-btn {
    background: linear-gradient(45deg, #1cc88a, #4e73df);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

button:hover,
.nav-btn:hover {
    background: linear-gradient(45deg, #17a673, #2258ff);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* Special Submit Button in Feedback Form */
.feedback-form .submit-btn {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    letter-spacing: 1px;
}

.feedback-form .submit-btn:hover {
    background: linear-gradient(45deg, #feb47b, #ff7e5f);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Nav Button Styles */
nav a {
    background: linear-gradient(45deg, #4e73df, #17a673);
    color: white;
    padding: 12px 25px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

nav a:hover {
    background: linear-gradient(45deg, #17a673, #4e73df);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* Buttons in Books Section */
.book-item button {
    background: linear-gradient(45deg, #1cc88a, #4e73df);
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}

.book-item button:hover {
    background: linear-gradient(45deg, #17a673, #2258ff);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* Responsive Styling for Buttons */
@media (max-width: 768px) {
    button,
    nav a {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .feedback-form .submit-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    button,
    nav a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .feedback-form .submit-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}
/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #4e73df, #1cc88a); /* Beautiful gradient */
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3); /* subtle shadow for depth */
}

/* Hero Text */
.hero-text {
    z-index: 1;
    position: relative;
    animation: fadeInUp 2s ease-in-out;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Explore Books Button Styling */
.explore-btn {
    background: linear-gradient(45deg, #1cc88a, #2258ff);
    color: white;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.explore-btn:hover {
    background: linear-gradient(45deg, #17a673, #4e73df);
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

/* Text Animation for the Hero Section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .explore-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .explore-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #212529;
    line-height: 1.6;
    background-color: #F8F9FA;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #007BFF;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.navbar nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.navbar nav a:hover {
    color: #FFC107;
}

.navbar .btn-primary {
    background: #28A745;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.navbar .btn-primary:hover {
    background: #218838;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to bottom right, #007BFF, #28A745);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero-section .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-section .btn-secondary {
    background: #FFC107;
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.hero-section .btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    background-color: white;
    padding: 40px 20px;
    gap: 20px;
}

.feature {
    text-align: center;
    flex: 1;
    background: #F8F9FA;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #007BFF;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #007BFF;
    color: white;
    margin-top: 20px;
}

.footer p {
    margin-bottom: 10px;
}
/* About Section */
.about-section {
    padding: 50px 20px;
    background-color: #FFFFFF;
    color: #212529;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h1 {
    font-size: 2.5rem;
    color: #007BFF;
    text-align: center;
    margin-bottom: 20px;
}

.about-section h2 {
    font-size: 1.8rem;
    color: #28A745;
    margin-top: 30px;
}

.about-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-section ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}

.about-section ul li {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Centering container */
.container {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #F8F9FA;
}
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #212529;
    background-color: #F8F9FA;
    line-height: 1.8;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(to right, #007BFF, #6C63FF);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.navbar nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: #FFC107;
}

.navbar .btn-primary {
    background: #FFC107;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    color: #212529;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(to right, #6C63FF, #007BFF);
    color: white;
    text-align: center;
    padding: 100px 20px;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.about-hero p {
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* About Section */
.about-details {
    padding: 50px 20px;
    background: #FFF;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.about-card {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33% - 20px);
    max-width: calc(33% - 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.about-card h2 {
    font-size: 1.8rem;
    color: #007BFF;
    margin-bottom: 15px;
}

.about-card p, .about-card ul {
    font-size: 1.2rem;
}

.about-card ul {
    list-style: disc;
    margin: 15px 0 0 20px;
}

/* Footer */
.footer {
    background: #007BFF;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

.footer h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer p {
    margin-bottom: 10px;
    font-size: 1.2rem;
}
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #212529;
    background-color: #F8F9FA;
    line-height: 1.8;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(to right, #007BFF, #6C63FF);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.navbar nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: #FFC107;
}

.navbar .btn-primary {
    background: #FFC107;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    color: #212529;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section (Home Page) */
.hero {
    background: linear-gradient(to right, #6C63FF, #007BFF);
    color: white;
    text-align: center;
    padding: 100px 20px;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero .btn-primary {
    background: #FFC107;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
.section {
    padding: 50px 20px;
    background: #FFF;
}

.section h1 {
    font-size: 2.5rem;
    color: #007BFF;
    text-align: center;
    margin-bottom: 20px;
}

.section p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 20px;
}

/* Cards for Books, About, and Other Sections */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.card {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card h2 {
    font-size: 1.5rem;
    color: #6C63FF;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
}

.card .btn-secondary {
    background: #007BFF;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #007BFF;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

.footer h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer p {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .card {
        flex: 1 1 100%;
    }
}
/* General Responsive Adjustments */
body {
    font-size: 16px;
    line-height: 1.6;
}

/* Navbar Adjustments for Small Screens */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 10px 15px;
    }

    .navbar .logo {
        font-size: 1.5rem;
        flex: 1 1 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .navbar nav {
        flex: 1 1 100%;
        text-align: center;
    }

    .navbar nav a {
        display: inline-block;
        margin: 10px 5px;
        font-size: 0.9rem;
    }

    .navbar .btn-primary {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

/* Hero Section Adjustments for Smaller Screens */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero .btn-primary {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Card Layout Adjustments */
@media (max-width: 1024px) {
    .card-container {
        flex-wrap: wrap;
    }

    .card {
        flex: 1 1 calc(33% - 20px); /* Display 3 cards per row */
        max-width: calc(33% - 20px);
    }
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 calc(50% - 20px); /* Display 2 cards per row */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .card {
        flex: 1 1 100%; /* Display 1 card per row */
    }
}

/* Footer Adjustments */
@media (max-width: 768px) {
    .footer h2 {
        font-size: 1.5rem;
    }

    .footer p {
        font-size: 1rem;
    }
}

/* Optimized Font Sizes for Large Screens */
@media (min-width: 1400px) {
    .hero h1 {
        font-size: 4.5rem;
    }

    .hero p {
        font-size: 2rem;
    }

    .card h2 {
        font-size: 1.8rem;
    }

    .card p {
        font-size: 1.1rem;
    }
}
.books-categories {
    text-align: center;
    margin: 20px auto;
    padding: 20px;
}

.category-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.category-btn {
    background: linear-gradient(45deg, #1cc88a, #4e73df);
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.category-btn:hover {
    background: linear-gradient(45deg, #17a673, #2258ff);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}
.books-page {
    background-image: url('1.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensures the image covers the entire screen */
    background-position: center; /* Centers the image */
    background-attachment: fixed; /* Keeps the background fixed during scroll */
    background-repeat: no-repeat; /* Prevents tiling */
}
/* General Styling */
body.books-page {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f9fc;
    color: #333;
}

header {
    text-align: center;
    background: #0047ab;
    color: white;
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: center;
    background: #f0f0f0;
    padding: 10px 0;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

nav a:hover {
    color: #0047ab;
    font-weight: bold;
}

.books-categories {
    text-align: center;
    padding: 40px 20px;
}

.books-categories h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.category-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-btn {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 15px 30px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: bold;
}

/* Button Colors for Themes */
.icse-btn {
    background: #0073e6;
}

.cbse-btn {
    background: #28a745;
}

.neet-btn {
    background: #ffc107;
}

.jee-btn {
    background: #dc3545;
}

/* Hover Effects */
.category-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f9fc;
    color: #333;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0047ab;
    color: white;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.navbar .logo {
    font-size: 20px;
    font-weight: bold;
}

.navbar nav {
    display: flex;
    gap: 15px;
}

.navbar nav a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

.navbar .btn-primary {
    text-decoration: none;
    background: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
}

.navbar .btn-primary:hover {
    background: #0056b3;
}

/* About Section Styling */
.section {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.section h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: #f0f0f0;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 30%; /* Default width for larger screens */
    min-width: 280px; /* Ensure proper sizing for smaller screens */
    box-sizing: border-box;
}

.card h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
}

/* Footer Styling */
.footer {
    background: #0047ab;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer h2 {
    font-size: 20px;
}

.footer p {
    font-size: 14px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .navbar nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .navbar .btn-primary {
        margin-top: 10px;
    }

    .card {
        width: 100%; /* Cards take up full width on smaller screens */
        margin-bottom: 15px;
    }

    .section h1 {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar .logo {
        font-size: 18px;
    }

    .section h1 {
        font-size: 22px;
    }

    .card p {
        font-size: 14px;
    }
}
/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f9fc;
    color: #333;
    line-height: 1.6;
}

/* Navbar Styles */

/* Updated CSS for scrolling navbar */
.navbar {
    position: relative; /* Allows the navbar to scroll with the page */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f8f8; /* Keeps the navbar visible with a background */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Adds slight elevation effect */
    z-index: 1000; /* Ensures it stays above other elements */
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0047ab;
    color: white;
    padding: 10px 20px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.navbar .logo {
    font-size: 20px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Adjust layout for smaller screens */
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: #0056b3;
}

.btn-primary {
    text-decoration: none;
    background: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Responsive Navbar Adjustments */
@media screen and (max-width: 768px) {
    .nav-links {
        flex-direction: column; /* Stack links vertically */
        align-items: flex-start; /* Align links to the left */
        width: 100%; /* Take up full width */
        padding: 10px 0;
    }

    .nav-links a {
        font-size: 14px;
        padding: 10px 0;
        text-align: left; /* Align text to the left for better readability */
        width: 100%; /* Take up full width */
    }

    .btn-primary {
        width: 100%; /* Make the login button full-width */
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links a {
        font-size: 13px;
        padding: 8px 0;
    }

    .logo {
        font-size: 18px;
    }
}
.background-image {
    background-image: url('1.jpg'); /* Replace with your image file */
    background-size: cover;
    background-position: center;
    height: 100vh; /* Full viewport height */
    width: 100%;
    position: relative;
}

@tailwind base;
@tailwind components;
@tailwind utilities;
