body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #2c3e50;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.site-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.footer-site-name {
    color: #f8f9fa !important;
}


@media (max-width: 767px) {
    .site-name {
        font-size: 16px;
    }
}

.logo-img {
    height: 40px;
    width: auto;
}

.footer-logo {
    filter: invert(1);
}

.custom-navbar {
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.custom-navbar .navbar-nav .nav-link {
    color: #2c3e50;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active {
    color: #28a745;
}

.custom-offcanvas .offcanvas-header {
    background-color: #28a745;
    color: #fff;
}

.custom-offcanvas .offcanvas-title {
    color: #fff;
}

.custom-offcanvas .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.custom-offcanvas .offcanvas-body {
    background-color: #f8f9fa;
}

.custom-offcanvas .navbar-nav .nav-link {
    color: #2c3e50;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-offcanvas .navbar-nav .nav-link:hover,
.custom-offcanvas .navbar-nav .nav-link.active {
    background-color: #e9ecef;
    color: #28a745;
}

.hero-section {
    background-color: #34495e;
    position: relative;
    overflow: hidden;
}

.hero-background-slideshow {
    z-index: 0;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-bg-img.active {
    opacity: 1;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-section p.lead {
    font-size: 1.5rem;
    color: #e0e0e0;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .hero-section p.lead {
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .hero-section .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

.btn-primary {
    background-color: #28a745;
    border-color: #28a745;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
}

.btn-primary-custom {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    color: #fff;
}

.scroll-down-arrow {
    z-index: 10;
    animation: bounce 2s infinite;
    text-decoration: none;
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 20px;
}

.scroll-down-arrow i {
    font-size: 2.5rem;
    line-height: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.bg-light-green {
    background-color: #f0fdf4; /* A very light green tint */
}

.text-justify {
    text-align: justify;
}

.article-img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.text-muted-custom {
    color: #6c757d;
    font-size: 0.9rem;
}

.custom-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.custom-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.btn-outline-primary {
    color: #28a745;
    border-color: #28a745;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-outline-primary:hover {
    background-color: #28a745;
    color: #fff;
    border-color: #28a745;
}

.custom-modal-header {
    background-color: #28a745;
    color: #fff;
    border-bottom: none;
}

.custom-modal-header .modal-title {
    color: #fff;
}

.custom-modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 200px); /* Adjust based on header/footer height */
    overflow-y: auto;
}

.editor-pick-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.editor-pick-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08) !important;
}

.editor-pick-item .book-cover {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.testimonial-card {
    border: none;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-card .avatar-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #28a745;
}

.text-secondary-custom {
    color: #6c757d !important;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #28a745;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
    border-color: #28a745;
}

.accordion-button {
    font-weight: 600;
}
.accordion-button {
    background-color: #28a745;
}
.accordion-button::after {
    color: #333;
    filter: invert(1) grayscale(100%) brightness(200%);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.text-primary-custom {
    color: #28a745 !important;
}

.text-primary-custom:hover {
    color: #218838 !important;
}

.gallery-item {
    height: 250px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 767px) {
    .gallery-item {
        height: 200px;
    }
}

footer {
    background-color: #2c3e50 !important;
}

footer .list-unstyled li a {
    transition: color 0.3s ease;
}

footer .list-unstyled li a:hover {
    color: #28a745 !important;
}

#backToTopBtn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

@media (max-width: 1100px) {
    .navbar-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .navbar-nav .nav-item {
        flex-shrink: 0;
    }
    .navbar-collapse {
        display: none;
    }
    .navbar-toggler {
        display: block;
    }
}

@media (min-width: 1101px) {
    .navbar-toggler {
        display: none;
    }
    .offcanvas {
        visibility: hidden;
    }
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
    }
    .offcanvas-backdrop {
        display: none;
    }
}/* Parent container for registration shield content */
.regShieldWrap {
    margin-top: 2rem; /* Top margin for separation from previous content */
    margin-inline: 1rem; /* Side margins for horizontal spacing */
    /* You might want to add max-width and margin: 0 auto here for centering on larger screens */
    /* max-width: 800px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading 1 styles within regShieldWrap */
.regShieldWrap h1 {
    font-size: 2.2rem; /* Moderate font size for main headings */
    font-weight: 600; /* Semi-bold for emphasis */
    line-height: 1.2; /* Good readability for headings */
    margin-top: 1.8rem; /* Top margin to separate from previous content */
    margin-bottom: 0.8rem; /* Bottom margin to separate from following content */
}

/* Heading 2 styles within regShieldWrap */
.regShieldWrap h2 {
    font-size: 1.8rem; /* Slightly smaller than h1 */
    font-weight: 600;
    line-height: 1.2;
    margin-top: 1.6rem;
    margin-bottom: 0.7rem;
}

/* Heading 3 styles within regShieldWrap */
.regShieldWrap h3 {
    font-size: 1.5rem; /* Standard sub-heading size */
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
}

/* Heading 4 styles within regShieldWrap */
.regShieldWrap h4 {
    font-size: 1.25rem; /* Smaller sub-heading */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Heading 5 styles within regShieldWrap */
.regShieldWrap h5 {
    font-size: 1.1rem; /* Smallest heading, often used for minor sections */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

/* Paragraph styles within regShieldWrap */
.regShieldWrap p {
    font-size: 1rem; /* Base font size for body text */
    line-height: 1.6; /* Optimal line height for readability */
    margin-bottom: 1rem; /* Space between paragraphs */
}

/* Unordered list styles within regShieldWrap */
.regShieldWrap ul {
    list-style-type: disc; /* Default disc bullets */
    padding-left: 1.5rem; /* Indentation for bullet points */
    margin-bottom: 1rem; /* Space after the list */
    margin-top: 0.5rem; /* Small margin above the list */
}

/* List item styles within regShieldWrap */
.regShieldWrap li {
    font-size: 1rem; /* Inherit base font size */
    line-height: 1.6; /* Optimal line height for list items */
    margin-bottom: 0.5rem; /* Space between list items */
}
.editor-picks-blok {
    flex-wrap: nowrap;
    display: flex;
    gap: 10px;
    justify-content: center;
}
.editor-picks-blok-item {
    width: 450px;
}
.editor-picks-blok-item .editor-pick-item {
    min-height: 250px;
}
@media (max-width:991px) {
        .editor-picks-blok {
        flex-wrap: wrap;
    }
    .editor-picks-blok-item .editor-pick-item {
    min-height: auto;
}
}
@media (max-width:767px) {
.editor-picks-blok-item {
    width: 100%;
}
    .editor-picks-blok-item {
    
    height: auto;
}
}