img {
    max-width: 100%;
    height: auto;
    display: block;

}

/* ==========================================
   CATEGORY HERO
========================================== */

.category-hero {

    padding: 120px 0 30px;

    background:
        linear-gradient(135deg,
            #0B1120 0%,
            #102A5C 50%,
            #0EA5E9 100%);

    color: white;

    text-align: center;

}

.hero-badge {

    display: inline-block;

    padding: 12px 22px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, .12);

    border:
        1px solid rgba(255, 255, 255, .2);

    margin-bottom: 18px;

    font-weight: 700;

}

.category-hero h1 {

    font-size:
        clamp(2rem, 4vw, 3.5rem);

    margin-bottom: 16px;

}

.category-hero p {

    max-width: 800px;

    margin: auto;

    font-size: 1.15rem;

    opacity: .95;

}

.category-intro {

    margin: 8px 0 12px;

}

/* ==========================================
   BLOG CATEGORY CONTENT
========================================== */

nav a[href="/blog/blog.html"] {
    color: var(--royal);
    font-weight: 800;
}

.blog-link {
    color: var(--royal);
    font-weight: 800;
    position: relative;
}

.blog-link::after {
    content: "NEW";
    position: absolute;
    top: -12px;
    right: -28px;
    background: var(--gold);
    color: white;
    font-size: .65rem;
    padding: 3px 6px;
    border-radius: 999px;
}

.blog-category .container {

    max-width: 900px;

}

.blog-category {

    /* padding: 10px 0; */
    padding-bottom: 2rem;
}

.article-group {

    /* margin-bottom: 45px; */
    margin-bottom: 0;

}

.article-group h2 {

    font-size: 2rem;

    margin-bottom: 8px;

    color: var(--navy);

    position: relative;

}

.article-group h2::after {

    content: '';

    width: 75px;
    height: 4px;

    background:
        linear-gradient(90deg,
            var(--royal),
            var(--cyan));

    display: block;

    margin-top: 10px;

    border-radius: 10px;

}

.article-question {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
}

.article-question h4 {
    margin: 0 0 0.75rem 0;
    padding: 0;
}

.article-question p {
    margin: 0;
    padding: 0;
}

/* ==========================================
   ACCORDION ARTICLES
========================================== */

.accordion-item {

    background: white;

    margin-bottom: 20px;

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);

    transition: .3s;

}

.accordion-item:hover {

    transform: translateY(-4px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, .12);

}

.accordion-header {

    background: white;

    border: none;

    width: 100%;

    text-align: left;

    padding: 28px;

    font-size: 1.15rem;

    font-weight: 700;

    cursor: pointer;

    color: var(--navy);

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.accordion-header::after {

    content: "+";

    font-size: 1.8rem;

    color: var(--royal);

}

.accordion-header.active::after {

    content: "−";

}


.accordion-header:focus {

    outline: 3px solid var(--cyan);

    outline-offset: 3px;

}

.accordion-header:hover {

    background: #f8fafc;

}


.accordion-content {

    max-height: 0;

    overflow: hidden;

    transition: max-height .4s ease;
    max-width: 800px;

}

.accordion-content p {

    padding: 0 28px 20px;

    color: var(--muted);

    line-height: 1.9;

    font-size: 1.05rem;

    line-height: 1.9;

}

/* ==========================================
   CONNECT WITH SAJID
========================================== */

.connect-section {

    padding-top: 2.5rem;
    padding-bottom: 5rem;

    background: white;

}

.connect-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

}

.connect-image img {

    width: 100%;

    height: 650px;

    object-fit: cover;

    border-radius: 30px;

    box-shadow:
        0 30px 60px rgba(0, 0, 0, .15);


}

.connect-content h2 {

    font-size:
        clamp(2rem, 4vw, 3.5rem);

    line-height: 1.15;

    margin-bottom: 25px;

}

.connect-content p {

    color: var(--muted);

    margin-bottom: 20px;

}

/* ==========================================
   QUICK INSIGHTS
========================================== */

.quick-insights {

    padding: 10px 0 20px;

    background: #ffffff;

}

.insights-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    max-width: 900px;

    margin: 0 auto;

}

.insights-grid>div {

    text-align: center;

    padding: 14px 18px;

    background: #ffffff;

    border: 1px solid #E2E8F0;

    border-radius: 14px;

    transition: all .3s ease;

}

.insights-grid>div:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.08);

}

.insights-grid h3 {

    font-size: 1.6rem;

    font-weight: 800;

    color: var(--royal);

    margin-bottom: 4px;

    line-height: 1;

}

.insights-grid p {

    margin: 0;

    font-size: 0.9rem;

    color: var(--muted);

    line-height: 1.4;

}







/* ==========================================
   FOOTER
========================================== */

footer {

    background: #08101D;

    color: white;

    padding: 80px 0 30px;

}

.footer-brand {

    text-align: center;

    margin-bottom: 40px;

}

.footer-brand img {

    height: 100px;

    margin-bottom: 20px;

}

.footer-brand p {

    max-width: 700px;

    margin: auto;

    color:
        rgba(255, 255, 255, .75);

}

.footer-links {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 25px;

    margin-bottom: 35px;

}

.footer-links a {

    color:
        rgba(255, 255, 255, .75);

    text-decoration: none;

    transition: .3s;

}

.footer-links a:hover {

    color: var(--cyan);

}

.footer-bottom {

    display: flex;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 15px;

    border-top:
        1px solid rgba(255, 255, 255, .1);

    padding-top: 25px;

    color:
        rgba(255, 255, 255, .45);

}

/* ==========================================
   COOKIE BANNER
========================================== */

.cookie-banner {

    position: fixed;

    bottom: 20px;

    left: 20px;

    right: 20px;

    max-width: 1100px;

    margin: auto;

    display: none;

    align-items: center;

    gap: 20px;

    background:
        rgba(11, 17, 32, .97);

    backdrop-filter: blur(20px);

    padding: 25px;

    border-radius: 25px;

    color: white;

    z-index: 999999;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, .4);

}

.cookie-icon {

    font-size: 2rem;

}

.cookie-text {

    flex: 1;

}

.cookie-text h4 {

    margin-bottom: 8px;

}

.cookie-text a {

    color: var(--cyan);

}

.cookie-actions {

    display: flex;

    gap: 10px;

}

.btn-cookie-secondary {

    border: 1px solid rgba(255, 255, 255, .2);

    background: transparent;

    color: white;

    padding: 15px 28px;

    border-radius: 999px;

    cursor: pointer;

}

blockquote {
    border-left: 4px solid var(--royal);
    padding: 20px;
    margin: 25px 0;
    background: #EEF4FF;
    border-radius: 12px;
    font-weight: 600;
    color: var(--navy);
}

.key-takeaway {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #EEF4FF, #F8FAFC);
    border-left: 4px solid var(--cyan);
    border-radius: 12px;
}

/* ==========================================
   BACK TO TOP
========================================== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: linear-gradient(135deg,
            var(--royal),
            var(--cyan));
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 15px 35px rgba(29, 78, 216, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;

    z-index: 9999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* Active State */

.back-to-top:active {

    transform:
        scale(.96);

}

/* Accessibility */

.back-to-top:focus {

    outline: 3px solid var(--cyan);

    outline-offset: 4px;

}


.article-reflection {

    margin: 25px 0;

    padding: 24px;

    border-radius: 16px;

    background: #FFF7ED;

    border-left: 4px solid #F59E0B;

}

.article-reflection h4 {

    margin-bottom: 10px;

    color: #B45309;

}

.article-actions {

    margin: 25px 0;

    padding: 24px;

    border-radius: 16px;

    background: #F8FAFC;

}

.article-actions h4 {

    margin-bottom: 15px;

}

.article-actions ul {

    padding-left: 20px;

}

.article-actions li {

    margin-bottom: 10px;

}

.article-meta {

    font-size: .85rem;

    color: var(--muted);

    margin-bottom: 20px;

    font-weight: 600;

}

.category-banner {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin: 12px 0 20px;

}

.category-banner span {

    background: #EEF4FF;

    color: var(--royal);

    padding: 10px 16px;

    border-radius: 999px;

    font-size: .9rem;

    font-weight: 600;

}

/* ===================================
   MOBILE BURGER MENU
=================================== */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--navy);
    cursor: pointer;
    padding: 10px;
    line-height: 1;
}

.mobile-nav {
    position: fixed;
    top: 85px;
    /* match header height */
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    display: flex;
    flex-direction: column;

    max-height: 0;
    overflow: hidden;

    transition: max-height .3s ease;
    z-index: 998;
}

.mobile-nav.open {
    max-height: 100vh;
}

.mobile-nav a {
    padding: 18px 24px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav a:hover {
    background: #f8fafc;
}

.mobile-blog {
    color: var(--royal) !important;
    font-weight: 800 !important;
}


/* Mobile */
@media (max-width: 992px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-container>.btn {
        display: none;
    }

    .logo img {
        height: 60px;
    }
}

@media (max-width: 768px) {

    .logo img {
        height: 60px;
    }

    .container {
        width: 92%;
        max-width: 100%;
    }

    nav {
        display: none;
    }

    .nav-container .btn-primary {
        display: none;
    }



    .back-to-top {
        width: 52px;
        height: 52px;
        right: 20px;
        bottom: 20px;
        font-size: 1.2rem;
    }

    .quick-insights {
        padding: 15px 0 30px;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .insights-grid>div {
        padding: 20px;
    }

    .insights-grid h3 {
        font-size: 1.8rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .connect-grid {
        grid-template-columns: 1fr;
    }

    .featured-image img {
        height: 280px;
    }

    .connect-image img {
        height: 320px;
    }

    .blog-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text {
        font-size: 1rem;
    }

    .category-hero {
        padding: 120px 0 40px;
    }

    .category-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .category-hero p {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 10px 15px;
    }

    .accordion-header {
        padding: 18px;
        font-size: 1rem;
        line-height: 1.4;
    }

    .accordion-content p {
        padding: 0 16px 16px;
        font-size: 1rem;
        line-height: 1.7;
    }

    .article-meta {
        font-size: 0.85rem;
    }

    .article-actions ul {
        padding-left: 1.25rem;
    }

    blockquote {
        padding: 1rem;
        margin: 20px 10px;
        font-size: 1rem;
        line-height: 1.6;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-actions button {
        width: 100%;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-links a {
        width: 100%;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}