/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1199px) {
    #cta {
        max-width: 90%;
        margin: 60px auto;
        padding: 60px;
        border-radius: 30px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        padding: 160px 32px 100px;
    }

    .hero-content {
        max-width: 550px;
    }

    .hero-circles {
        display: none;
    }

    .books-grid,
    .engage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .fcol {
        border-right: none;
        padding: 0;
    }

    .fcol:last-child {
        padding-left: 0;
        text-align: center;
    }

    #cta {
        padding: 40px;
    }

    .cta-card {
        padding: 0px !important;
    }
}

@media (max-width: 768px) {
    #navbar {
        padding: 16px 20px;
        /*backdrop-filter: blur(10px);*/
    }

    #navbar ul {
        display: none;
        /* Mobile menu implementation requires JS */
    }

    .hero-container {
        padding: 120px 24px 80px;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 16px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .books-grid,
    .engage-grid {
        grid-template-columns: 1fr;
    }

    .featured-content {
        flex-direction: column;
        gap: 40px !important;
        text-align: center;
    }

    .featured-links {
        justify-content: center;
    }

    .cta-card {
        padding: 60px 24px;
        width: 100%;
        margin: 40px 0;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .fcol {
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fcol:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .btn {
        /* width: fit-content !important; */
        padding: 12px 20px !important;
    }

    .hero-buttons {
        /* flex-direction: row !important; */
        justify-content: left;
    }
}

@media (max-width: 575px) {
    /*.hero-bg-wrapper {
        width: 200%;
    }*/

    .hero-description {
        font-size: 14px;
        list-style: 18px;
    }
    .hero-bg-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right; 
        opacity: 0.6; 
    }

    .btn {
        font-size: 12px;
    }

    .cta-card {
        margin: 0;
    }

    .featured-content {
        gap: 20px !important;
    }

    .navbar-mobile .logo {
        width: 65px !important;
        height: 65px !important;;
    }

    .featured-image img {
        max-width: 230px;
    }

    .cta-description {
        font-size: 12px;
    }

    #cta {
        max-width: 100%;
        margin: 60px 8px;
        padding: 20px;
        border-radius: 30px;
    }

    .btn {
        /* width: fit-content !important; */
        padding: 12px 20px !important;
    }
}