body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  text-align: center;
}

#book-box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;

}
.main-container {
    width: 80%;
    margin: auto;
    padding: 2rem;
   background-color: --white;
   margin-top: 10%;
}
@media (max-width: 768px) {
    .main-container {
        margin-top: 50%;
        width: 90%;
    }
}
#books-grid {
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

        
        /* Disabled/Coming Soon style */
        .coming-soon {
            background-color: #6c757d;
            cursor: not-allowed;
        }
        .coming-soon:hover {
            background-color: #5a6268;
        }
        /* Go Back Button Style */
.seo-subject-info {
    max-width: 850px;        /* keep it readable on wide screens */
    margin: 25px auto;        /* center with some space above/below */
    padding: 20px 25px;       /* breathing room inside */
    background-color: #f9f9f9; /* subtle background for distinction */
    border-left: 4px solid #007bff; /* small visual highlight */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); /* subtle shadow for depth */
    font-size: 16px;
    line-height: 1.7;
    color: #333;              /* readable text color */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Optional: responsive adjustments for mobile */
@media (max-width: 768px) {
    .seo-subject-info {
        padding: 15px 20px;
        font-size: 15px;
        margin: 20px 10px;
    }
}

/* SEO Content Styles Refined */
.book-selection-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.book-selection-header h2 {
    color: #0f172a;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.book-selection-header p {
    color: #64748b;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.book-features-seo {
    margin: 4rem auto 2rem auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.05);
}

.features-title {
    color: #0f172a;
    font-size: clamp(1.3rem, 4vw, 1.75rem);
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.1), 0 10px 10px -5px rgba(59, 130, 246, 0.04);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 14px;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: #3b82f6;
    transform: rotate(8deg) scale(1.1);
}

.feature-card:hover .icon {
    filter: brightness(0) invert(1);
}

.feature-text {
    text-align: left;
}

.feature-text strong {
    display: block;
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .book-features-seo {
        padding: 2rem 1.25rem;
        margin-top: 3rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .feature-icon-wrapper {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-text {
        text-align: center;
    }
}