:root {
    --blue: #1b376b;
    --blue-dark: #0d2655;
    --blue-light: #EBF2FF;
    --orange: #e51e03;
    --orange-light: #FFF3EA;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #7c8a9c;
    --border: #E2E8F0;
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --radius: 14px;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .09);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* -- Custom CSS by Pradeep -- */
/*  BLOG LISTING PAGE */
.featured-post-container {
    margin: auto;
    max-width: 1280px;
    overflow: visible !important;
    padding-left: 15px;
    padding-right: 15px;
    position: static !important;
    touch-action: auto !important;
    width: 100%;
}

.blog-hero, .detail-hero {
    background: linear-gradient(135deg, #0b1a3a 0%, #1240a8 55%, #0f172a 100%);
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}

    .blog-hero::before,
    .detail-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        pointer-events: none;
        z-index: 9;
    }

.blog-hero-inner {
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .2);
}

.blog-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: white;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 16px;
}

    .blog-hero h1 em {
        font-style: normal;
        color: #93C5FD;
    }

.blog-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, .72);
    max-width: 520px;
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

    .section-header h3 {
        font-size: 25px;
        font-weight: 800;
        letter-spacing: -0.3px;
        margin: 0;
    }

.see-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    cursor: pointer;
    text-decoration: none;
}

.blog-container,
.wrap-blog-detail {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
    padding-top: 20px;
    margin: 0 auto 2rem;
    max-width: 1280px;
    padding-left: 15px;
    padding-right: 15px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    .block > div

{
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .1);
}

}

@media(max-width:1024px) {
    .blog-container, .wrap-blog-detail {
        grid-template-columns: repeat(1,1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .featured-body h2 {
        font-size: 20px;
    }

    .featured-card {
        grid-template-columns: 1fr !important;
    }

    .blog-hero p {
        font-size: 16px;
    }

    .blog-hero {
        padding: 35px;
    }

    .featured-body {
        padding: 25px;
    }

    .detail-hero-img img {
        height: 250px !important;
    }

    .breadcrumb.hero-badge {
        display: none !important;
    }
}

@media(max-width:576px) {
    .blog-container,
    .wrap-blog-detail {
        grid-template-columns: repeat(1,1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(1,1fr);
    }
}

.blog-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 8px 16px;
    border-radius: 6px;
    background: #0033A0;
    color: white;
    text-decoration: none;
}

    .page-btn.gray {
        background: #6b7280;
    }

    .page-btn:hover {
        opacity: 0.9;
    }

.loader {
    text-align: center;
    padding: 30px;
    display: none;
    font-size: 18px;
    color: #0033A0;
    font-weight: 500;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .1);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 360px; /* Fixed height */
}

    .blog-card img {
        width: 100%;
        height: 180px; /* Fixed image height */
        object-fit: cover;
    }

.blog-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.meta-author-info {
    margin-bottom: 15px;
}

.wrap-blog-detail {
    padding-top: 30px;
    padding-bottom: 30px;
}

.meta-author-name {
    font-weight: 600;
    color: #0F172A;
}

.meta-date {
    font-size: 12px;
    color: #7c8a9c;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.blog-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail-page {
    background: var(--bg);
}

.detail-breadcrumb {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
}

.detail-breadcrumb-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

    .detail-breadcrumb-inner a {
        color: var(--blue);
        text-decoration: none;
        cursor: pointer;
    }

    .detail-breadcrumb-inner span {
        color: var(--text-muted);
    }

.detail-hero {
    padding: 52px 24px 0;
    border-bottom: 1px solid #E2E8F0;
}

.detail-hero-inner {
    max-width: 850px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.detail-hero .cat-tag {
    margin-bottom: 18px;
}

.detail-hero h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 18px;
    margin-top: 10px;
}

.detail-hero .lead {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

    .detail-meta .meta-author {
        gap: 10px;
    }

    .detail-meta .meta-avatar {
        width: 40px;
        height: 40px;
    }

    .detail-meta .meta-author-name {
        font-size: 14px;
    }

    .detail-meta .meta-date {
        font-size: 13px;
    }

.detail-meta-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-hero-img {
    max-width: 1506px;
    margin: 40px auto 0;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    position: relative;
    z-index: 10;
}

    .detail-hero-img img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        display: block;
    }

.detail-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

.breadcrumb {
    font-size: 12px;
    margin-bottom: 8px;
    background-color: #0000ff00 !important;
}

.meta {
    font-size: 12px;
    opacity: 0.8;
}

.feature-img {
    margin-top: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

    .feature-img img {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }


.blog-content {
    line-height: 1.7;
    font-size: 15px;
}

    .blog-content h1 {
        font-weight: bold !important;
        font-size: 24px;
    }

    .blog-content h2 {
        font-size: 22px;
        font-weight: 800;
        color: #0F172A;
        margin: 32px 0 12px;
        line-height: 1.3;
    }

    .blog-content h3 {
        font-weight: bold !important;
        font-size: 18px;
    }

    .blog-content h4 {
        font-weight: bold !important;
        font-size: 16px;
    }

    .blog-content h5 {
        font-weight: bold !important;
        font-size: 13px;
    }

    .blog-content p {
        font-size: 15px;
        color: #475569;
        line-height: 1.8;
        margin-bottom: 16px;
    }

.tags {
    margin-top: 35px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 18px;
    border: 1px solid #0033A0;
    color: #0033A0;
    margin: 4px;
    font-size: 11px;
}

    .tag:hover {
        background: #0033A0;
        color: white;
    }

.recent-post-section {
    background: white;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .1);
}

.recent-title {
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

c {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
    flex-direction: column;
    .recent-img {
        width: 100%;
        height: 125px;
        overflow: hidden;
        background: #ddd;
        border-radius: 6px;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    }
}

.block-2-col {
    .recent-post-item
{
    flex-direction: row;
    align-items: initial;
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
    padding {font-size: 12px;}
}
}

.recent-img img {
    width: 55px;
    height: 45px;
    object-fit: cover;
    border-radius: 5px;
}

.recent-content {
    flex: 1;
}

.post-title {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* max 2 line */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    font-size: 11px;
    color: #888;
    margin-top: 3px;
}

.recent-post-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    &:not(:last-child) {
        border-bottom: 1px solid #ddd;
        margin-bottom: 15px;
    }
}

    .recent-post-item-link:hover .post-title {
        color: #0033A0;
    }

.faq-section {
    margin-top: 40px;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    border: none;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

    .faq-question:hover {
        background: #eef2ff;
    }

.faq-answer {
    display: none;
    padding: 18px 20px;
    border-top: 1px solid #eee;
    background: white;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    content: "-";
}

.article-body {
    background: white;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .1);
    .blog-content

{
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #374151 !important;
}

}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .09);
    margin-bottom: 48px;
    margin-top: 50px;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
}

.featured-label {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #e51e03;
    color: white;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

.featured-img {
    position: relative;
    overflow: hidden;
}

    .featured-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s;
    }

.featured-card:hover .featured-img img {
    transform: scale(1.04);
}

.featured-label {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--orange);
    color: white;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.featured-body {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cat-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    background: white;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 16px;
}

.featured-body h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.featured-body p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 28px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.featured-body .meta-author-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.meta-author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.meta-date {
    font-size: 12px;
    color: var(--text-muted);
}

.meta-divider {
    width: 4px;
    height: 4px;
    background: var(--border);
    border-radius: 50%;
}

.meta-read {
    font-size: 12px;
    color: var(--text-muted);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
    transition: gap .2s;
}

    .read-more-btn:hover {
        gap: 10px;
    }

    .read-more-btn svg {
        transition: transform .2s;
    }

    .read-more-btn:hover svg {
        transform: translateX(3px);
    }
/* Sidebar layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

.sidebar-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    &.bg

{
    background-color: var(--blue);
}

&:last-child {
    margin-bottom: 0;
}

}

.sidebar-card h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.2px;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-item {
    display: flex;
    gap: 14px;
    cursor: pointer;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    transition: opacity .2s;
}

    .trending-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .trending-item:hover {
        opacity: .75;
    }

.trending-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    width: 28px;
}

.trending-info h5 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 4px;
    margin-top: 0;
}

.trending-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all .2s;
}

    .tag-pill:hover {
        background: var(--blue-light);
        color: var(--blue);
        border-color: var(--blue);
    }

.toc-card {
    background: white;
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

    .toc-card h4 {
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        color: var(--text-muted);
        margin-bottom: 14px;
        margin-top: 0;
    }

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-link {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
    font-weight: 500;
    border-left: 2px solid transparent;
}

    .toc-link:hover {
        background: var(--blue-light);
        color: var(--blue);
        border-left-color: var(--blue);
    }

    .toc-link.active {
        background: var(--blue-light);
        color: var(--blue);
        border-left-color: var(--blue);
    }

.filters-bar {
    padding: 0 24px;
    position: relative;
    top: 0;
    z-index: 90;
}

.filters-inner {
    max-width: 1280px;
    margin: auto;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 12px 15px;
    scrollbar-width: none;
}

    .filters-inner::-webkit-scrollbar {
        display: none;
    }

.sidebar-detail {
    padding-top: 38px;
}

.enquiry-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid #ececec;
    h3 {
        font-size: 18px;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .card-header {
        display: flex;
        gap: 6px;
    }

}

.enquiry-head {
    margin-bottom: 24px;
}

.enquiry-badge {
    display: inline-block;
    background: #eef5ff;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
    margin-bottom: 12px;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
}

    .form-group label {
        font-size: 13px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        border: 1px solid #d9d9d9;
        border-radius: 10px;
        padding: 6px 15px;
        font-size: 14px;
        color: #111827;
        background: #fff;
        transition: .25s;
        outline: none;
        resize: none;
        font-family: inherit;
    }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #9ca3af;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 4px rgba(37,99,235,.12);
        }

.btn-enquiry {
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

    .btn-enquiry:hover {
        background: #1d4ed8;
    }

@media(max-width:991px) {

    .enquiry-card {
        padding: 22px;
    }

    .enquiry-head h3 {
        font-size: 22px;
    }
}

/* -- ====== Flip Book Styling ====== -- */
#app {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin: auto;
}

#loading {
    color: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    letter-spacing: .02em;
}

.spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #ffffff22;
    border-top-color: #d9a441;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#book-stage {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    gap: 14px;
}

#book-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
}

#book {
    box-shadow: 0 5px 10px rgba(0,0,0,.35);
    border-radius: 4px;
}

.page {
    background: #f6f1e7;
    overflow: hidden;
}

.page-content {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f6f1e7;
}

    .page-content img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        -webkit-user-drag: none;
        user-select: none;
        pointer-events: none;
    }

.page-number {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: #8a8478;
    font-family: Georgia,serif;
    pointer-events: none;
}

.page.--left .page-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 14px;
    background: linear-gradient(to left, rgba(0,0,0,.14), transparent);
    pointer-events: none;
}

.page.--right .page-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 14px;
    background: linear-gradient(to right, rgba(0,0,0,.14), transparent);
    pointer-events: none;
}

#controls {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
    padding: 6px 10px;
}

.nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #ffffff22;
    background: #1c1f27cc;
    color: #eee;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
    backdrop-filter: blur(6px);
}

    .nav-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        background: #2a2e3aee;
    }

    .nav-btn:active:not(:disabled) {
        transform: translateY(0) scale(.94);
    }

    .nav-btn:disabled {
        opacity: .3;
        cursor: default;
    }

#page-indicator {
    color: #eee;
    min-width: 92px;
    text-align: center;
    font-size: 13px;
    letter-spacing: .05em;
    font-variant-numeric: tabular-nums;
    background: #1c1f27cc;
    border: 1px solid #ffffff22;
    border-radius: 20px;
    padding: 9px 16px;
    backdrop-filter: blur(6px);
}

#error-box {
    display: none;
    color: #f3d6d6;
    background: #3a1f1fdd;
    border: 1px solid #ff6b6b55;
    padding: 16px 20px;
    border-radius: 10px;
    max-width: 480px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    #page-indicator {
        font-size: 12px;
        padding: 7px 12px;
        min-width: 76px;
    }

    #controls {
        gap: 12px;
    }
}

.thumbnail-flip {
    overflow: hidden;
    width: 100%;
    display: flex;
    img

{
    width: 100%;
    max-width: 300px;
}

}

.flipbook-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: .35s;
}

    .flipbook-modal.active {
        visibility: visible;
        opacity: 1;
    }

.flipbook-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(1px);
}

.flipbook-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.flipbook-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 30px;
    cursor: pointer;
    z-index: 20;
    transition: .25s;
}

    .flipbook-close:hover {
        transform: rotate(90deg);
    }

#loading {
    color: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    letter-spacing: .02em;
}

.spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #ffffff22;
    border-top-color: var(--accent);
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- book area ---------- */
#book-stage {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    gap: 14px;
}

#book-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
}

#book {
    box-shadow: 0 30px 60px -15px rgba(0,0,0,.65), 0 10px 25px rgba(0,0,0,.45);
    border-radius: 4px;
}
/* page inner look */
.page {
    background: #f6f1e7;
    overflow: hidden;
}

.page-content {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f6f1e7;
}

    .page-content img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        -webkit-user-drag: none;
        user-select: none;
        pointer-events: none;
    }

.page-number {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: #8a8478;
    font-family: Georgia,serif;
    pointer-events: none;
}
/* subtle center-fold shading, purely cosmetic */
.page.--left .page-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 14px;
    background: linear-gradient(to left, rgba(0,0,0,.14), transparent);
    pointer-events: none;
}

.page.--right .page-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 14px;
    background: linear-gradient(to right, rgba(0,0,0,.14), transparent);
    pointer-events: none;
}

/* ---------- controls ---------- */
#controls {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
    padding: 6px 10px;
}



#firstBtn, #lastBtn {
    font-size: 16px;
}

#error-box {
    display: none;
    color: #f3d6d6;
    background: #3a1f1fdd;
    border: 1px solid #ff6b6b55;
    padding: 16px 20px;
    border-radius: 10px;
    max-width: 480px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    #firstBtn, #lastBtn {
        font-size: 14px;
    }

    #page-indicator {
        font-size: 12px;
        padding: 7px 12px;
        min-width: 76px;
    }

    #controls {
        gap: 12px;
    }
}

@media (max-width: 400px) {
    .nav-btn {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    #firstBtn, #lastBtn {
        font-size: 12px;
    }

    #page-indicator {
        font-size: 11px;
        padding: 6px 10px;
        min-width: 64px;
    }

    #controls {
        gap: 7px;
    }
}

.sidebar-sticky {
    position: sticky;
    top: 105px;
    align-self: start;
    overflow-y: auto;
    max-height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .sidebar-sticky::-webkit-scrollbar {
        display: none;
    }
    /* Container Card Styling */
    .enquiry-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 24px;
        max-width: 480px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    }

/* Header with Inline SVG alignment */
.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #1e293b;
}

    .card-header h3 {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
    }

.header-icon {
    color: #3b82f6; /* Modern Blue Accent */
}

/* Form Layout */
.enquiry-form {
    display: flex;
    flex-direction: column;
}

/* Two columns for fields if space permits */
.form-row {
    display: flex;
    gap: 16px;
}

    .form-row .form-group {
        flex: 1;
        min-width: 0; /* Prevents flex items from breaking layout */
    }

@@media (max-width: 400px) {
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
}

/* Individual Field Customization */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .form-group label {
        font-size: 0.85rem;
        font-weight: 500;
        color: #475569;
    }

/* Inputs, Textareas, and Dropdowns styling */
.enquiry-form input[type="text"],
.enquiry-form input[type="email"],
.enquiry-form input[type="tel"],
.enquiry-form textarea,
.enquiry-form select {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #f8fafc;
    color: #334155;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .enquiry-form input:focus,
    .enquiry-form textarea:focus,
    .enquiry-form select:focus {
        outline: none;
        border-color: #3b82f6;
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    }

/* Custom Dropdown Arrow (Pure CSS - No CDN) */
.select-wrapper {
    position: relative;
    width: 100%;
}

.enquiry-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 36px; /* Space for the custom arrow */
}

.select-wrapper::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #64748b;
    pointer-events: none; /* Allows clicking the dropdown through the arrow */
}

/* Textarea resizing safety */
.enquiry-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Beautiful Modern Submit Button */
.btn-enquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 8px;
}

    .btn-enquiry:hover {
        background-color: #2563eb;
    }

    .btn-enquiry:active {
        transform: scale(0.98);
    }

/* Container block layout */
.trending-card-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    max-width: 480px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #1e293b;
}

    .card-header h4 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 600;
    }

/* Card Stack Layout */
.trending-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Individual Card Styling */
.trending-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

    .trending-card:hover {
        transform: translateY(-2px);
        border-color: #cbd5e1;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    }

/* Trending Numeric Badge */
.trending-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* Image Frame Wrapper */
.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #e2e8f0;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.trending-card:hover .card-img {
    transform: scale(1.04);
}

/* Typography Content Box */
.card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .card-content h5 {
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.4;
        color: #0f172a;
        transition: color 0.2s ease;
    }

.trending-card:hover h5 {
    color: #2563eb; /* Active blue hue shift on title */
}

.card-desc {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Truncates long text to precisely 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer with Meta Context and Button */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.card-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Elegant Micro Action Button */
.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 0;
    cursor: pointer;
}

    .btn-read-more svg {
        transition: transform 0.2s ease;
    }

.trending-card:hover .btn-read-more svg {
    transform: translateX(3px); /* Subtle forward arrow animation */
}

.country-wrapper {
    position: relative;
}

#countrySearch {
    width: 100%;
    height: 45px;
    padding-left: 42px;
    padding-right: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.selected-flag {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 16px;
    border: 1px solid #ddd;
    object-fit: cover;
    z-index: 2;
}

.country-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #ddd;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
    border-radius: 6px;
    margin-top: 3px;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
}

    .country-item:hover {
        background: #f4f4f4;
    }

    .country-item img {
        width: 22px;
        height: 16px;
        border: 1px solid #ddd;
    }

/* Sidebar Layout Setup */
.sidebar-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Shared Card Styling */
.sidebar-card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

    .sidebar-card h4 {
        margin-top: 0;
        font-size: 16px;
        font-weight: 600;
    }

    .sidebar-card p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    /* Universal Button Style inside Cards */
    .sidebar-card .card-btn {
        display: block;
        text-align: center;
        padding: 11px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        transition: background 0.2s ease, transform 0.1s ease;
    }

        .sidebar-card .card-btn:active {
            transform: scale(0.98);
        }

/* Card 1 Specifics (Grow Faster) */
.card-grow-faster {
    background: #1e293b;
}

    .card-grow-faster h4 {
        color: #ffffff;
    }

    .card-grow-faster p {
        color: rgba(255, 255, 255, 0.7);
    }

    .card-grow-faster .card-btn {
        background: var(--orange, #ff6b00);
        color: #ffffff;
    }

        .card-grow-faster .card-btn:hover {
            background: #EA6C0A;
        }

/* Card 2 Specifics (Premium Membership) */
.card-premium {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

    .card-premium h4 {
        color: #ffffff;
    }

    .card-premium p {
        color: rgba(255, 255, 255, 0.7);
    }

    .card-premium .card-btn {
        background: #3b82f6;
        color: #ffffff;
    }

        .card-premium .card-btn:hover {
            background: #2563eb;
        }

/* Card 3 Specifics (Quick Quotes) */
.card-quotes {
    background: linear-gradient(135deg, #1e1b4b, #4c1d95);
}

    .card-quotes h4 {
        color: #ffffff;
    }

    .card-quotes p {
        color: rgba(255, 255, 255, 0.7);
    }

    .card-quotes .card-btn {
        background: #10b981;
        color: #ffffff;
    }

        .card-quotes .card-btn:hover {
            background: #059669;
        }

/* Image Section Container */
.images-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

    .images-section h4 {
        color: #1f2937;
        margin-bottom: 16px;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.image-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Linked Image Wrappers */
.image-link-wrapper {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

    .image-link-wrapper:hover {
        transform: scale(1.02);
    }

    .image-link-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

/* wrapper used only for demo open button; optional on integration */
.scm-demo-wrap {
    padding: 18px;
}

/* Backdrop (covers whole viewport) */
.scm-backdrop {
    position: fixed;
    inset: 0;
    display: none; /* shown by JS */
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    z-index: 99999; /* high so it sits above other UI */
    -webkit-tap-highlight-color: transparent;
}

/* Modal card (centered) */
.scm-modal {
    width: min(920px, 94%);
    max-width: 720px;
    background: White;
    border-radius: var(--scm-radius);
    padding: 26px;
    box-shadow: var(--scm-shadow);
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Close circular button */
.scm-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(230,233,238,1);
    background: linear-gradient(180deg,#fff,#f7f9fc);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #374151;
}

    .scm-close:focus {
        outline: 2px solid rgba(11,102,255,0.2);
        outline-offset: 2px;
    }

/* Header */
.scm-title {
    margin: 0;
    font-size: 20px;
    color: #0f172a;
    font-weight: 700;
}

.scm-note {
    color: var(--scm-muted);
    font-size: 13px;
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 4px;
}

    .scm-note .scm-asterisk {
        color: var(--scm-danger);
        font-weight: 700;
    }

/* Radio row */
.scm-radios {
    display: flex;
    gap: 22px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.scm-radio-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: #0b1220;
    user-select: none;
}

.scm-radio-input {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    position: relative;
    display: inline-block;
}

    .scm-radio-input:checked {
        border-color: var(--scm-accent);
        box-shadow: 0 0 0 4px rgba(11,102,255,0.08) inset;
    }

        .scm-radio-input:checked::after {
            content: "";
            display: block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--scm-accent);
            position: relative;
            left: 3px;
            top: 3px;
        }

/* Product field */
.scm-field {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .scm-field .scm-label {
        font-size: 13px;
        color: #64748b;
        font-weight: 600;
    }

.scm-product-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e6edf3;
    border-radius: 10px;
    background: #fbfdff;
    font-size: 15px;
    color: #0f172a;
    box-sizing: border-box;
}

/* Next button */
.scm-next {
    margin-top: 14px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--scm-accent), #0656d9);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .scm-next:focus {
        outline: 2px solid rgba(11,102,255,0.18);
        outline-offset: 2px;
    }

    .scm-next .scm-arrow {
        transition: transform .18s ease;
    }

    .scm-next:hover .scm-arrow {
        transform: translateX(6px);
    }

/* Spacer to mimic the white area below in the screenshot */
.scm-spacer {
    height: 36px;
}

/* Responsive tweaks */
@@media (max-width: 640px) {
    .scm-modal {
        padding: 18px;
        border-radius: 14px;
        width: 94%;
    }

    .scm-radios {
        gap: 14px;
    }
}

.sticky-header {
    position: relative;
    background-color: #fff;
    transition: all 0.3s ease;
}

    .sticky-header.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(6px);
    }

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.readmore-content {
    transition: max-height 0.35s ease;
    overflow: hidden;
}

    .readmore-content.collapsed {
        max-height: 120px; /* preview height */
    }

    .readmore-content.expanded {
        max-height: 5000px;
    }
/* Centering and Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7); /* Slightly darker for better contrast */
    backdrop-filter: blur(12px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    padding: 50px 40px; /* Increased top/bottom padding for "space" */
    border-radius: 24px;
    text-align: center; /* Centers all text */
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers items horizontally in the flex container */
}

/* Vertical Spacing for Text */
.content-wrap {
    margin-top: 20px;
    margin-bottom: 35px; /* Space between text and buttons */
}

.modal-card h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.modal-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Button Container */
.modal-actions {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

/* Your Specific Button Styles Integrated */
.btn-custom-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151; /* gray-700 */
    padding: 10px 24px;
    border-radius: 0.375rem; /* rounded-md */
    border: 1px solid #e5e7eb; /* border-gray-200 */
    text-decoration: none;
    transition: all 0.2s;
}

    .btn-custom-login:hover {
        color: #0d9488; /* teal-600 */
        background-color: #f3f4f6; /* gray-100 */
    }

.btn-custom-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 0.375rem;
    color: white;
    background: linear-gradient(to right, #1b376b, #0b1b30);
    border: 1px solid #0b1b30;
    text-decoration: none;
    transition: opacity 0.2s;
}

    .btn-custom-signup:hover {
        opacity: 0.9;
    }

/* Misc Utilities */
.icon-circle {
    width: 64px;
    height: 64px;
    background: #f1f5f9;
    color: #1b376b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
}

.modal-overlay.active {
    display: flex;
}

.post-wrap {
    display: flex;
    gap: 15px;
    justify-content: center;
    > a {
            flex: 1;
            max-width: 300px;
        }
    .recent-post-item-link {
        border: 1px solid #ddd;
        border-radius: 6px;
        height: 100%;
    }
    .recent-img {
        aspect-ratio: 3/1.25;
        img{
               width: 100%;
               height: 100%;
               object-fit: cover;
           }
    }
    .recent-content {
        padding: 15px;
    }
}

[id] {
    scroll-margin-top: 100px;
}

#blogContent p {text-align: justify;}