
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#ececec;
    color:#222;
    line-height:1.7;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* Header */

.header{
    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:999;
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo a{
    text-decoration:none;
    font-size:28px;
    font-weight:700;
    color:#0f4c81;
}

nav ul{
    display:flex;
    gap:25px;
    list-style:none;
}

nav a{
    text-decoration:none;
    color:#333;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:#0a7cff;
}

/* Hamburger */

.menu-toggle{
    display:none;
    font-size:30px;
    cursor:pointer;
    color:#0f4c81;
}

/* Hero */

.hero{
    padding:100px 0;
    background:linear-gradient(135deg,#0f4c81,#0a7cff);
    color:#fff;
    text-align:center;
}

.hero h1{
    font-size:48px;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    margin-bottom:30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #0d6efd;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    text-align: center;
    margin: auto;
    display: block;
    margin-top: 22px;
    width: 100%;
    cursor:pointer;
}

/* Sections */

.categories,
.latest{
    padding:70px 0;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin-top:30px;
}

.card,
.post{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.card{
    padding:40px;
    text-align:center;
}

.card a,
.post a{
    text-decoration:none;
    color:inherit;
    display:block;
}

.post{
    transition:.3s;
    padding-bottom:10px;
}

.post:hover{
    transform:translateY(-5px);
}

.card:hover{
    background:#f5f7fa;
}

.post img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.post h3 {
    padding: 5px 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Detail Page */

.page-banner{
    background:#0f4c81;
    color:#fff;
    padding:80px 0;
    text-align:center;
}

.single-post{
    max-width: 770px;
}
small.minread {
    color: #ff8e04;
}
.article-meta{
    display:flex;
    gap:10px;
    align-items:center;
    color:#6b7280;
    font-size:14px;
    margin:10px 0 20px;
}
.featured-img{
    width:100%;
    border-radius:15px;
    margin-bottom:30px;
}
.article-meta{
    display:flex;
    gap:20px;
    align-items:center;
    margin:15px 0 25px;
    color:#6b7280;
    font-size:14px;
    font-weight:500;
}

.article-meta i{
    color:#ff9008;
    margin-right:5px;
}

.single-post h1{
    margin-bottom:0px;
}

.single-post h2{
    margin-top:30px;
    margin-bottom:15px;
}

.meta{
    color:#777;
    margin-bottom:25px;
}

/* Footer */

.footer{
    background:#0f172a;
    color:#fff;
    padding:60px 0 20px;
    margin-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr 1fr;
    gap:40px;
}

.footer h3{
    margin-bottom:15px;
}

.footer ul{
    list-style:none;
}

.footer ul li{
    margin-bottom:10px;
}

.footer a{
    color:#cbd5e1;
    text-decoration:none;
}

.footer a:hover{
    color:#fff;
}

.copyright{
    text-align:center;
    /*border-top:1px solid rgba(255,255,255,.1);*/
    margin-top:10px;
    padding-top:20px;
    color:#94a3b8;
}
.searchfront {
    max-width: 600px;
    margin: auto;
    position: relative;
}

.searchfront input {
    min-height: 60px;
    border-radius: 50px;
    width:100%;
    padding: 10px;
    border:1px solid #ccc;
}

.searchfront > button {
    position: absolute;
    right: 10px;
    top: 20px;
    background: transparent;
    color: #996363;
    border:0;
}
.searchfront input:focus-visible {
    outline: none;
}
ul.footer-menu {
    background: #273453;
    padding: 10px;
    border-radius: 15px;
    text-align:center;
}

ul.footer-menu li {
    display: inline-block;
    text-align: center;
    padding: 4px 10px;
    margin:0;
}

.parallax {
    background: #f5f5f5;
    max-width:600px;
    margin:auto;
}
.tab-content {
    background: #ffffff;
    padding: 10px;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}
h4.headingtab {
    background: #4b4b4b;
    color: white;
    text-align: center;
    padding: 10px;
}
ul.nav.nav-tabs.customestyle li.nav-item .nav-link {
    background: #f5f5f5;
    /*border-radius: 50px;*/
    border: 1px solid #ccc;
    color: #3b3b3b;
}

ul.nav.nav-tabs.customestyle li.nav-item .nav-link.active{
    background: #ff9008;
    color: white;
    /*border-radius: 50px;*/
}
ul.nav.nav-tabs.customestyle {
    border: 0;
}
.form_info{
    text-align: center;
    background: #197d40;
    color: white;
    border: 1px dashed;
    margin-bottom: 15px;
    display:flex;
    justify-content:space-around;
}
.headingcontent {
    text-align: center;
    margin-top: 20px;
}
.category-menu{
    position:relative;
}

.category-btn{
    background:#ff8d06;
    color:#fff;
    border:none;
    padding:10px 15px;
    border-radius:5px;
    cursor:pointer;
    font-size:15px;
}

.category-list{
    position:absolute;
    top:45px;
    left:0;
    width:250px;
    max-height:400px;
    overflow-y:auto;

    background:#fff;
    border-radius:8px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);

    display:none;
    z-index:999;
}

.category-list a{
    display:block;
    padding:10px 15px;
    text-decoration:none;
    color:#333;
    border-bottom:1px solid #f1f1f1;
}

.category-list a:hover{
    background:#f8f8f8;
}

.category-list.show{
    display:block;
}
.formcontact input.form-control, textarea.form-control {
    width: 100%;
    min-height: 34px;
    padding: 10px;
    border-color: #ccc;
    border: 1px solid #cacaca;
    border-radius: 5px;
        margin-bottom: 20px;
}
.formcontact input.form-control:focus-visible, textarea.form-control:focus-visible {
    outline:none;
    border-color:#ddd;
}

.st-captcha-row{
    display:flex;
    align-items:center;
    gap:10px;
}

.st-captcha-num{
    width:70px;
    text-align:center;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.st-captcha-sign{
    font-size:22px;
    font-weight:bold;
}

.st-captcha-answer{
    flex:1;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

/* Mobile */


/* Tablet & Mobile */

@media(max-width:768px){
    .st-btn{
        flex:1;
        justify-content:center;
        padding:10px;
        font-size:15px;
    }
        .st-captcha-row{
        flex-wrap:wrap;
    }

    .st-captcha-num{
        width:calc(20% - 5px);
    }

    .st-captcha-sign{
        width:20px;
        text-align:center;
    }

    .st-captcha-answer{
        width:35%;
        flex:unset;
    }

    .container{
        width:95%;
    }

    .menu-toggle{
        display:block;
    }

    nav{
        position:absolute;
        top:75px;
        left:0;
        width:100%;
        background:#fff;
        display:none;
        box-shadow:0 5px 15px rgba(0,0,0,.1);
    }

    nav.active{
        display:block;
    }

    nav ul{
        flex-direction:column;
        gap:0;
    }

    nav ul li{
        border-bottom:1px solid #eee;
    }

    nav ul li a{
        display:block;
        padding:15px 20px;
    }

    .hero{
        padding:60px 0;
    }

    .hero h1{
        font-size:32px;
        line-height:1.3;
    }

    .hero p{
        font-size:16px;
    }

    .grid{
          grid-template-columns: repeat(2, 1fr);
    }

    .card{
        padding:25px;
    }

    .footer-grid{
      grid-template-columns: repeat(2, 1fr);
    }

    .latest h2,
    .categories h2{
        text-align:center;
    }
     .categories, .latest{
       padding: 30px 0;
    }
}

/* Small Mobile */

@media(max-width:480px){
    .chatbot{
        width:95%;
        right:2.5%;
        height:80vh;
    }

    .logo a{
        font-size:24px;
    }

    .hero h1{
        font-size:26px;
    }

    .hero p{
        font-size:15px;
    }

    .post img{
        height:180px;
    }

    .post h3{
        font-size:16px;
        padding:15px;
    }
      .grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .categories, .latest{
       padding: 30px 0;
    }
}

table.about_table, table.about_table tbody tr td, table.about_table thead tr th{
    border: 1px solid black; padding:1px 4px;
        border-collapse: collapse;
}
ol.howtojoin {
    padding-left: 25px;
}
ul.howterm {
    padding-left: 25px;
}


.st-category-section{
    padding:60px 15px;
    background:#f8f9fb;
}

.st-category-container{
    max-width:1200px;
    margin:auto;
}

.st-category-heading{
    text-align:center;
    margin-bottom:40px;
}

.st-category-heading h1{
    font-size:40px;
    margin-bottom:10px;
    color:#222;
}

.st-category-heading p{
    color:#666;
}

.st-category-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.st-category-card{
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    padding:22px 15px;
    text-align:center;
    text-decoration:none;
    color:#333;
    font-weight:600;
    min-height:90px;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.3s;
    flex-direction: column;
}

.st-category-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    color:#e63946;
}
.st-category-card span{
    width:70px;
    height:70px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:10px;
    transition:.3s;

    /* Gradient Background */
    background:linear-gradient(135deg,#e8f0ff,#dbeafe);
}

.st-category-card span i{
    font-size:28px;
    color:#2563eb;
}

/* Different colors automatically */
.st-category-card:nth-child(6n+1) span{
    background:#e8f0ff;
}
.st-category-card:nth-child(6n+1) i{
    color:#2563eb;
}

.st-category-card:nth-child(6n+2) span{
    background:#e7fff3;
}
.st-category-card:nth-child(6n+2) i{
    color:#16a34a;
}

.st-category-card:nth-child(6n+3) span{
    background:#fff3e8;
}
.st-category-card:nth-child(6n+3) i{
    color:#ea580c;
}

.st-category-card:nth-child(6n+4) span{
    background:#f3e8ff;
}
.st-category-card:nth-child(6n+4) i{
    color:#9333ea;
}

.st-category-card:nth-child(6n+5) span{
    background:#ffeef1;
}
.st-category-card:nth-child(6n+5) i{
    color:#dc2626;
}

.st-category-card:nth-child(6n+6) span{
    background:#eef8ff;
}
.st-category-card:nth-child(6n+6) i{
    color:#0284c7;
}

/* Hover Effect */
.st-category-card:hover span{
    transform:scale(1.1);
}

.st-category-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}
.btnallcat a {
    background: #ff8d04;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 30px;
}

.btnallcat {
    text-align: center;
    margin-top: 40px;
}

.content-wrapper{
    display:flex;
    gap:40px;
    margin:40px auto;
}

.main-content{
    flex:3;
    background:#fff;
    padding:0 20px;
}

.sidebar{ 
    flex:1;
    position:sticky;
    top:90px;
    height:fit-content;
}

.widget{
    background:#fff;
    border-radius:12px;
    padding:20px;
    margin-bottom:25px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.recent-posts{
    background:#fff;
    border-radius:0px;
    padding:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.recent-posts h3{
    font-size:22px;
    margin-bottom:20px;
    color:#111827;
    font-weight:700;
}

.post-item{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:14px;
    padding-bottom:14px;
    border-bottom:1px solid #ececec;
    transition:.3s;
}

.post-item:last-child{
    border-bottom:none;
    margin-bottom:0;
    padding-bottom:0;
}

.post-item:hover{
    transform:translateX(5px);
}

.post-item img{
    width:60px;
    height:60px;
    border-radius:10px;
    object-fit:cover;
    flex-shrink:0;
}

.post-content{
    flex:1;
}
.content p {
    padding: 4px;
}
.post-content a{
    display:block;
    color:#111827;
    font-size:14px;
    font-weight:600;
    line-height:1.5;
    text-decoration:none;
    margin-bottom:6px;
    transition:.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
     overflow: hidden;
     text-overflow: ellipsis;
}

.post-content a:hover{
    color:#2563eb;
}

.post-content span{
    display:block;
    font-size:13px;
    color:#6b7280;
}


.chat-toggle{
    position:fixed;
    bottom:20px;
    right:20px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:#ff8d06;
    color:#fff;
    font-size:28px;
    cursor:pointer;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
}

.chatbot{
    position:fixed;
    bottom:9px;
    right:20px;
    width:330px;
    height:350px;
    background:#fff;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
    display:none;
    overflow:hidden;
    z-index: 999;
}


.chat-header{
    background:#ff8d06;
    color:#fff;
    padding:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.chat-header button{
    background:none;
    border:none;
    color:#fff;
    font-size:18px;
    cursor:pointer;
}

.chat-body{
    height:220px;
    padding:15px;
    overflow-y:auto;
    background:#f5f5f5;
}

.bot-msg{
    background:#fff;
    padding:10px 15px;
    border-radius:10px;
    display:inline-block;
    color:#000;
    /*box-shadow:0 2px 5px rgba(0,0,0,.1);*/
}

.chat-footer{
    display:flex;
    padding:10px;
    border-top:1px solid #ddd;
    align-items:center;
}

.chat-footer input{
    flex:1;
    padding:10px;
    border:1px solid #ddd;
    border-radius:25px;
    outline:none;
}

.chat-footer button{
    margin-left:10px;
    padding:10px 20px;
    border:none;
    background:#ff8d06;
    color:#fff;
    border-radius:25px;
    cursor:pointer;
}
.st-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:40px 0;
    gap:15px;
}

.st-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 24px;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    border-radius:8px;
    transition:.3s;
}

/* Previous */
.st-prev{
    background:#f3f4f6;
    color:#333;
    border:1px solid #ddd;
}

.st-prev:hover{
    background:#e5e7eb;
}

/* Next */
.st-next{
    background:#ff8d06;
    color:#fff;
    border:1px solid #ff8d06;
}

.st-next:hover{
    background:#197d40;
     border:1px solid #197d40;
}


/* Tablet */
@media(max-width:992px){
    .st-category-grid{
        grid-template-columns:repeat(3,1fr);
    }
     .content-wrapper{
        flex-direction:column;
    }

    .sidebar{
        position:static;
    }
}

/* Mobile */
@media(max-width:768px){
    .st-category-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

    .st-category-heading h1{
        font-size:30px;
    }
}

/* Small Mobile */
@media(max-width:480px){
    .st-category-grid{
        grid-template-columns:1fr;
    }
}

