/* ===========================
   CREATIVE PATH BLOG CSS
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f5f7fb;
    color:#333;
    line-height:1.8;
}

/* Container */

.blog-container{
    width:90%;
    max-width:1100px;
    margin:auto;
}

/* ===========================
   HERO SECTION
=========================== */

.blog-hero{
    background:linear-gradient(135deg,#0a2d63,#1f6feb);
    color:#fff;
    text-align:center;
    padding:180px 20px 90px;
}


.blog-hero h1{
    font-size:48px;
    margin-bottom:20px;
    font-weight:700;
}

.blog-hero p{
    font-size:20px;
    opacity:.95;
    max-width:800px;
    margin:auto;
}

/* ===========================
   BLOG CONTENT
=========================== */

.blog-content{
    background:#fff;
    margin-top:-50px;
    padding:50px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

/* Featured Image */

.blog-image{
    width:100%;
    border-radius:12px;
    margin:30px 0;
}

/* Headings */

.blog-content h2{
    color:#0a2d63;
    font-size:32px;
    margin-top:40px;
    margin-bottom:15px;
}

.blog-content h3{
    color:#1f6feb;
    font-size:24px;
    margin-top:25px;
    margin-bottom:10px;
}

.blog-content p{
    font-size:18px;
    margin-bottom:20px;
}

/* Lists */

.blog-content ul{
    margin:20px;
}

.blog-content li{
    margin-bottom:12px;
    font-size:18px;
}

/* Quote */

blockquote{
    background:#eef6ff;
    border-left:5px solid #1f6feb;
    padding:20px;
    margin:30px 0;
    font-style:italic;
    border-radius:6px;
}

/* Table */

table{
    width:100%;
    border-collapse:collapse;
    margin:30px 0;
}

table th{
    background:#0a2d63;
    color:#fff;
    padding:15px;
}

table td{
    padding:15px;
    border:1px solid #ddd;
}

/* ===========================
   AUTHOR BOX
=========================== */

.author-box{
    display:flex;
    gap:20px;
    align-items:center;
    margin:50px 0;
    padding:25px;
    background:#f8f9fa;
    border-radius:10px;
}

.author-box img{
    width:90px;
    height:90px;
    border-radius:50%;
}

.author-box h3{
    margin-bottom:8px;
}

/* ===========================
   CTA SECTION
=========================== */

.blog-cta{
    background:#0a2d63;
    color:#fff;
    text-align:center;
    padding:50px 30px;
    border-radius:15px;
    margin:50px 0;
}

.blog-cta h2{
    color:#fff;
    margin-bottom:15px;
}

.blog-btn{
    display:inline-block;
    margin-top:20px;
    background:#ff9800;
    color:#fff;
    text-decoration:none;
    padding:15px 35px;
    border-radius:40px;
    font-size:18px;
    transition:.3s;
}

.blog-btn:hover{
    background:#e68900;
    transform:translateY(-3px);
}

/* ===========================
   FAQ
=========================== */

.faq{
    margin:60px 0;
}

.faq-item{
    margin-bottom:20px;
    border-radius:10px;
    overflow:hidden;
    border:1px solid #ddd;
}

.faq-question{
    background:#0a2d63;
    color:#fff;
    padding:18px;
    font-size:18px;
    font-weight:bold;
}

.faq-answer{
    padding:20px;
    background:#fff;
}

/* ===========================
   RELATED BLOGS
=========================== */

.related-blogs{
    margin-top:60px;
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.blog-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
    transition:.3s;
}

.blog-card:hover{
    transform:translateY(-8px);
}

.blog-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.blog-card-content{
    padding:20px;
}

.blog-card h3{
    color:#0a2d63;
    margin-bottom:10px;
}

.blog-card a{
    color:#1f6feb;
    text-decoration:none;
    font-weight:bold;
}

/* ===========================
   TAGS
=========================== */

.tags{
    margin-top:30px;
}

.tags a{
    display:inline-block;
    background:#eef3ff;
    color:#0a2d63;
    padding:8px 18px;
    margin:5px;
    border-radius:30px;
    text-decoration:none;
    transition:.3s;
}

.tags a:hover{
    background:#1f6feb;
    color:#fff;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:768px){

.blog-hero{
    padding:60px 20px;
}

.blog-hero h1{
    font-size:34px;
}

.blog-hero p{
    font-size:18px;
}

.blog-content{
    padding:25px;
}

.blog-content h2{
    font-size:28px;
}

.blog-content h3{
    font-size:22px;
}

.author-box{
    flex-direction:column;
    text-align:center;
}

.blog-btn{
    width:100%;
}

}

/* ======================================
   TABLE OF CONTENTS
====================================== */

.table-of-content{
    background:#ffffff;
    border:1px solid #d9e3f5;
    border-radius:12px;
    padding:25px;
    margin:40px 0;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.table-of-content h3{
    color:#0a2d63;
    margin-bottom:15px;
}

.table-of-content ul{
    list-style:none;
    padding:0;
}

.table-of-content li{
    margin:12px 0;
}

.table-of-content a{
    color:#0a2d63;
    text-decoration:none;
    font-weight:600;
}

.table-of-content a:hover{
    color:#1f6feb;
}

/* ================= CTA BOX ================= */

.cta-box {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    color: #fff;
    padding: 45px;
    border-radius: 15px;
    text-align: center;
    margin: 50px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.cta-box h2 {
    color: #fff;
    font-size: 34px;
    margin-bottom: 20px;
}

.cta-box p {
    color: #f5f5f5;
    font-size: 18px;
    line-height: 1.8;
    max-width: 850px;
    margin: auto;
}

.cta-box .btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 35px;
    /* background: #ffffff; */
    color: #0d47a1;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.cta-box .btn:hover {
    background: #ff9800;
    color: #fff;
}

/* ================= Related Articles ================= */

.related-articles{
    margin:70px 0;
}

.related-articles h2{
    text-align:center;
    color:#0a2d63;
    margin-bottom:35px;
}

.article-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.article-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.10);
    transition:.3s;
}

.article-card:hover{
    transform:translateY(-8px);
}

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

.article-card h3{
    padding:20px 20px 10px;
    color:#0a2d63;
}

.article-card p{
    padding:0 20px 20px;
}

.read-btn{
    display:inline-block;
    margin:0 20px 25px;
    background:#1f6feb;
    color:#fff;
    text-decoration:none;
    padding:12px 25px;
    border-radius:40px;
    transition:.3s;
}

.read-btn:hover{
    background:#0a2d63;
}
}