/* ============================
  Article Page Styles
=============================== */

/* Header and Back Button */
.header .navbar {
    padding: 15px 0;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
}

/* Force container to expand on article pages */
.header,
.navbar-area,
.navbar-area .container,
.navbar-area .row,
.navbar-area .col-lg-12 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.header .navbar {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 30px !important;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand img {
    max-width: 150px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: #f0f4ff;
    color: #4e6ef1 !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    text-decoration: none !important;
}

.btn-back i {
    margin-right: 8px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-back:hover {
    background: #4e6ef1 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 110, 241, 0.2);
}

.btn-back:hover i {
    transform: translateX(-3px);
}



.article-header {
    padding: 120px 0 60px;
    background: #f8faff;
    text-align: center;
}

.article-header h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    font-size: 14px;
    color: #8a8fb9;
    font-weight: 500;
}

.article-content-section {
    padding: 80px 0;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #5a5e7b;
}

.article-body p {
    margin-bottom: 30px;
}

.article-body h2 {
    font-size: 32px;
    margin: 50px 0 25px;
    color: #313450;
}

.article-body h3 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: #313450;
}

/* Call to Action Box */
.article-cta-box {
    background: #4e6ef1;
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(78, 110, 241, 0.2);
}

.article-cta-box h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 15px;
}

.article-cta-box p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.article-cta-box .main-btn {
    background: #fff;
    color: #4e6ef1;
    font-weight: 600;
}

.article-cta-box .main-btn:hover {
    background: #f0f2ff;
    color: #4e6ef1;
    transform: translateY(-3px);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .article-header {
        padding: 100px 0 40px;
    }
    .article-header h1 {
        font-size: 32px;
    }
    .article-body {
        font-size: 16px;
    }
    .article-body h2 {
        font-size: 26px;
    }
    .navbar-brand img {
        max-width: 120px;
    }
    .btn-back {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .header .navbar {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .btn-back span {
        display: none; /* Hide text on very small screens to save space */
    }
    .btn-back {
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    .btn-back i {
        margin-right: 0;
    }
}

