
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    /* font-family: 'Playfair Display'; */
    font-weight: normal;
}

body {
    background-color: #f5f5f5;
    padding: 0px;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.chapters-header {
    text-align: center;
    margin: 40px 0;
}

.chapters-header p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.start-chapter-btn {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background: #b31f36;
    border-radius: 0px;
    height: 50px;
    line-height: 50px;
}

.start-chapter-btn:hover {
    background-color: #B31F36;
}

.continent-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 0px !important;
    padding: 0px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-transform: uppercase;
}

.filter-btn.active {
    background-color: #B31F36;
}

.filter-btn:hover {
    background-color: #B31F36;
}

.continent-title {
    padding: 0 20px;
    margin-top: 20px;
    margin-bottom: 0px;
}

.continent-title h2 {
    font-size: 36px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    font-weight:600;
}

.continent-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    /* background-color: #B31F36; */
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.chapter-card {
    background: white;
    border-radius: 0px !important;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.chapter-card:hover {
    transform: translateY(-5px);
}

.chapter-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.chapter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-chapter-btn {
    position: absolute;
    top: 40%;
    left: 24%;
    border: none;
    padding: 0px 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background: #b31f36;
    border-radius: 0px;
    height: 50px;
    line-height: 50px;
}

.view-chapter-btn:hover {
    background-color: #B31F36 !important;
}

.chapter-image:hover .view-chapter-btn {
    opacity: 1;
}

.chapter-info {
    padding: 20px;
}

.chapter-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.member-count {
    color: #B31F36;
    font-size: 18px;
    font-style: italic;
    font-weight: 600;
}

@media (max-width: 768px) {
    .chapters-header h1 {
        font-size: 32px;
    }

    .chapters-header p {
        font-size: 16px;
        padding: 0 20px;
    }

    .continent-filters {
        padding: 0 10px;
    }

    .chapters-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        padding: 20px 10px;
    }

    .continent-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .chapters-header h1 {
        font-size: 28px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .chapters-grid {
        grid-template-columns: 1fr;
    }

    .continent-title h2 {
        font-size: 24px;
    }
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background: #F0EDE8;
    border-radius: 0px !important;
    padding: 74px;
    max-width: 710px;
    width: 90%;
    height: 365px;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius:0px !important;
}

.close-btn svg {
    width: 24px;
    height: 24px;
    color: #323232;
    transition: color 0.2s;
}

.close-btn:hover svg {
    color: #323232;
    background: none;
}
.close-btn:hover {
    color: #323232;
    background: none;
}

.modal-content {
    text-align: center;
}

.modal-title {
    font-size: 33px;
    font-weight: bold;
    color: #323232;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 24px;
}

.modal-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.start-now-btn {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background: #b31f36;
    border-radius: 0px;
    height: 50px;
    line-height: 50px;
}

.start-now-btn:hover {
    background-color: #B31F36;
}

@media (max-width: 768px) {
    .modal {
        padding: 30px;
    }

    .modal-title {
        font-size: 28px;
    }

    .modal-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 20px;
    }

    .modal-title {
        font-size: 24px;
    }

    .close-btn {
        top: 15px;
        right: 15px;
    }

    .close-btn svg {
        width: 20px;
        height: 20px;
    }
}

.hide{
    display:none !important;
}

.start-now-btn a{
    color: #fff !important;
}

.joinform-wrapper .top-bar-title{
    padding-bottom:0px !important;
}