
/* =================================
   ABOUT PAGE STYLING
================================= */

/* Main About Hero Section */
.about-hero {
    text-align: center;
    padding: 90px 20px;
    background: linear-gradient(135deg, #101b35, #172f60);
}

/* Small Section Label */
.section-label {
    color: #4385ff;
    font-weight: bold;
    letter-spacing: 3px;
}

/* Main Heading */
.about-hero h1 {
    font-size: 48px;
    color: white;
    margin: 20px 0;
}

/* Hero Description */
.about-hero p {
    color: #c5d2e8;
    max-width: 650px;
    margin: 15px auto;
    line-height: 1.8;
}

/* Common About Sections */
.about-section {
    padding: 65px 8%;
}

/* About Content */
.about-content {
    max-width: 900px;
    margin: auto;
}

/* Section Headings */
.about-section h2 {
    color: #4385ff;
    font-size: 32px;
    margin-bottom: 20px;
}

/* Paragraph Styling */
.about-section p {
    color: #c5cfe0;
    line-height: 1.8;
    font-size: 16px;
}

/* Mission Section */
.mission-section {
    background: #111d35;
}

/* Center Heading */
.center-heading {
    text-align: center;
}

/* Feature Cards Container */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 35px;
}

/* Individual Feature Card */
.about-card {
    background: #172746;
    padding: 28px;
    border: 1px solid #263e68;
    border-radius: 12px;
}

/* Card Heading */
.about-card h3 {
    color: white;
    margin-bottom: 15px;
}

/* Call To Action Section */
.about-cta {
    text-align: center;
    padding: 70px 20px;
    background: #14264a;
}

/* CTA Heading */
.about-cta h2 {
    color: white;
    font-size: 32px;
}

/* CTA Description */
.about-cta p {
    color: #c5cfe0;
    margin: 20px 0;
}

/* Explore Books Button */
.about-button {
    display: inline-block;
    padding: 13px 25px;
    background: #2864e8;
    color: white;
    text-decoration: none;
    border-radius: 7px;
    margin-top: 10px;
    transition: 0.3s;
}

/* Button Hover Effect */
.about-button:hover {
    background: #4385ff;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {

    .about-hero h1 {
        font-size: 34px;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 45px 6%;
    }

}

/* =================================
   ABOUT PAGE HOVER EFFECTS
================================= */

/* Smooth Transition for Cards */
.about-card {
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
}

/* Card Hover Effect */
.about-card:hover {
    transform: translateY(-10px);
    border-color: #4385ff;
    box-shadow: 0 10px 30px rgba(40, 100, 232, 0.25);
}

/* Heading Hover Effect */
.about-card h3 {
    transition: color 0.3s ease;
}

.about-card:hover h3 {
    color: #4385ff;
}

/* Explore Books Button Hover */
.about-button {
    transition: all 0.3s ease;
}

.about-button:hover {
    background: #4385ff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(40, 100, 232, 0.3);
}

/* Navbar Link Hover */
header nav a {
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #4385ff;
}

/* Login and Register Hover */
.header-auth .auth-btn {
    transition: all 0.3s ease;
}

.header-auth .auth-btn:hover {
    transform: translateY(-3px);
}
