/* Main Styles */

:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --background-color: #f8f9fa;
    --text-color: hsl(210, 11%, 15%);
    --font-family: "Poppins", sans-seri;
}

.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}



body {
    font-family: var(--font-family);
    line-height: 1.6;
    font-weight: var(--font-weight);
    text-transform: uppercase;
}

/* Card hover effects */
.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Hide grid delete button on frontend */
.grid-actions {
    display: none !important;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

/* Badge styles */
.badge {
    font-weight: 500;
    padding: 6px 12px;
}

/* Form styles */
.form-control:focus,
.form-select:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

/* Table styles */
.table th {
    border-top: none;
    font-weight: 600;
}

/* Button styles */
.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary {
    background-color: #4361ee;
    border-color: #4361ee;
}

.btn-primary:hover {
    background-color: #3a0ca3;
    border-color: #3a0ca3;
}

a.post_box {
    color: var(--text-color);
    text-decoration: none;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.post-card {
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    height: 200px;
    object-fit: cover;
}

.single-post-image {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.card-sm-box {
    display: block;
    padding: 20px 0 20px 0;
}

.entry-title {
    margin: 10px 0 0 0;
    font-weight: 500;
}

.container.container-box {
    max-width: 1440px;
}

.entry-title-slider {
    margin: 10px 0 0 0;
    font-size: 40px;
    text-transform: none;
}

.content {
    padding-top: 24px;
    text-transform: none;
}

.carousel-silder {
    width: 38%;
}

.carousel-silder-2 {
    width: 62%;
}

.bage_category {
    font-size: 12px;
}

.content {
    padding-top: 24px;
}

.next-prev-icon-right {
    right: -18px;
}

.next-prev-icon-left {
    left: -18px;
}

.next-prev-icon {
    background: black;
    padding: 8px 18px;
    opacity: 1 !important;
    font-size: 20px;
    display: inline-grid;
    top: 240px;
    height: fit-content;
    border-radius: 50px;
}

.footer-menu li a {
    color: white;
}




















.site-menu .nav-link {
    /* font-weight: 500; */
    padding: 0 8px;
    /* font-size: 13px; */
    /* font-family: fangsong; */
    font-family: var(--font-family) !important;
    font-size: 14px !important;
    line-height: 3 !important;
    font-weight: 500 !important;
    text-transform: uppercase;
}

.side-left p {
    /* word-spacing: 35px !important; */
    font-size: 14px; 
    text-align: right;
}

.site-menu .nav-link:hover {
    color: white;
}

button.nav-link.nav-tab-link {
    color: black;
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.header-search a {
    color: black;
    font-weight: 500;
    text-decoration: none;
}

.footer-last {
    color: white;
    font-size: 14px;
    text-transform: capitalize;
}

@media(max-width:991px) {


    .site-menu {
        text-align: center;
    }
}

ul.navbar-nav.mx-auto.site-menu {
    font-family: "Poppins", sans-seri !important;
    font-size: 14px;
    font-weight: 400 !important;
}
 
.color-1{
       padding: 0px 5px;
    height: max-content;
    border-top: 3px solid #f44336;
    margin: 0 5px;
}

.color-1:hover {
    background: #f44336;
    color: white;
}

.color-2 {
    padding: 0px 5px;
    height: max-content;
    border-top: 3px solid #ab632e;
    margin: 0 5px;
}

.color-2:hover {
    background: #ab632e;
    color: white;
}
 
.color-3 {
    padding: 0px 5px;
    height: max-content;
    border-top: 3px solid #4c60f6;
    margin: 0 5px;
}

.color-3:hover {
    background: #4c60f6;
    color: white;
}
.color-4 {
    padding: 0px 5px;
    height: max-content;
    border-top: 3px solid #4c60f6;
    margin: 0 5px;
}

.color-4:hover {
    background: #4c60f6;
    color: white;
}
.color-5 {
    padding: 0px 5px;
    height: max-content;
    border-top: 3px solid #32b47b;
    margin: 0 5px;
}

.color-5:hover {
    background: #32b47b;
    color: white;
}
.color-6 {
    padding: 0px 5px;
    height: max-content;
    border-top: 3px solid #32b47b;
    margin: 0 5px;
}

.color-6:hover {
    background: #32b47b;
    color: white;
}
.color-7 {
    padding: 0px 5px;
    height: max-content;
    border-top: 3px solid #4c60f6;
    margin: 0 5px;
}

.color-7:hover {
    background: #4c60f6;
    color: white;
}
.color-8 {
    padding: 0px 5px;
    height: max-content;
    border-top: 3px solid #4c60f6;
    margin: 0 5px;
}

.color-8:hover {
    background: #4c60f6;
    color: white;
}


.today-date {
    font-size: 14px;
}

li.nav-item.nav-tab-link {
    padding: 0;
}

.top-menu {
    background: black;
    color: white;
    padding: 10px 0;
}

.header-search {
    height: min-content;
    padding-top: 10px;
}


header.site-header.py-2 {
    position: relative;
}

ul.navbar-nav.site-menu {
    display: flex !important;
    flex-direction: row !important;
}

.site-date {
    font-size: 12px;
    letter-spacing: 1px;
    color: #000;
    margin-bottom: 4px;
}

.site-time {
    font-size: 12px;
    color: #555;
    margin-bottom: 6px;
}


.site-header {
    position: sticky;
    /* overflow: hidden; */
    background-color: white;
    top: 0;
    z-index: 99;
    /* border-bottom: 1px solid black; */
}

.img-fluid {
    padding: 20px 0;
}

.date-time {
    position: absolute;
    background: white;
    z-index: 1;
    /* bottom: 0; */
    top: 50px;
    /* left: 244px; */
}

.sec-site-logo {
    color: #f43f3f;
    font-family:"Poppins", sans-seri;
    font-size: 50px;
    line-height: 1.2;
    font-weight: 700;
}

.sec-site-header {
    padding: 4px 0;
}

.popular-section {
    background: black;
    /* red background */
    padding: 60px 0; 
}
img.img-fluid.logo-img {
    width: 280px;
}

.popular-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: var(--font-family);
}

.carousel-inner.height-fix {
    height: -webkit-fill-available;
}

/* Wrapper */
.popular-img-link {
    display: block;
    position: relative;
    overflow: hidden;
}

/* Image */
.popular-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover zoom */
.popular-img-link:hover .popular-img {
    transform: scale(1.1);
}

/* Dark overlay */
.popular-img-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popular-img-link:hover::after {
    opacity: 1;
}

/* SEARCH DROPDOWN */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: transparent;
    display: none;
    z-index: 9999;
}

/* White box */
.search-inner {
    max-width: 700px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Form */
.search-inner form {
    display: flex;
}

.search-inner input {
    flex: 1;
    padding: 14px;
    border: 1px solid #ddd;
    font-size: 16px;
    outline: none;
}

.search-inner button {
    padding: 0 30px;
    background: #ff3b3b;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* Show class */
.search-dropdown.active {
    display: block;
}

/* CATEGORY */
.category-title {
    color: black;
    font-weight: 700;
    letter-spacing: 1px; 
    font-size: 25px;
}
.silde-text{
        text-align: center;
     font-size: 35px; 
    padding-bottom: 30px;
}

/* FIRST FULL POST */
.featured-post {
    position: relative;
    text-decoration: none;
    color: #fff;
}

.featured-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.post-title {
    font-size: 21px;
    text-transform: none;
}


/* GRID POSTS */
.grid-post {
    text-decoration: none;
    color: #000;
    display: block;
}

.grid-img {
    height: 130px;
    object-fit: cover;
    margin-bottom: 10px;
    width: 100%;
}

.grid-post h5 {
    font-size: 14px;
    margin-bottom: 6px;
}

.grid-post p {
    font-size: 14px;
    color: #666;
}




/* ===== Carousel Indicators (Dots) ===== */


.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: gray;
    border: none;
    margin: 0 3px;
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
    /* 🔥 CLICK FIX */
}
 
.carousel-indicators .active {
    background-color: black;
}

.carousel-indicators {
    bottom: -45px;
}
.links--widget ul li a {
    text-transform: none;
}
.g a:hover {
    text-decoration: underline;
}

.carousel-item img {
    height: 480px !important;
    object-fit: cover; 
}
 



.slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-viewport {
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.card-wrapper {
    flex: 0 0 calc(100% / 6);
    /* 6 cards visible */
    padding: 10px;
    box-sizing: border-box;
}

.card {
    box-shadow: none;
}

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

.card-footer {
    background: black;
    /* color: white; */
}

.date {
    color: white;
}

.card-body {
    padding: 10px;
    text-align: left;
}

/* buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: black;
    color: white;
    border: none;
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: -15px;
}

.next {
    right: -15px;
}

a.silder-color.d-block {
    color: var(--text-color);
}

h3.magazine-heding {
    text-align: center;
    font-size: 36px;
    padding-bottom: 20px;
    font-weight: 700;
}

.card-body {
    padding: 10px;
    text-align: left;
    text-transform: none;
}

.card-title {
    text-transform: none;
}

.card-text:last-child {
    margin-bottom: 0;
    text-transform: none;
}

.post-content {
    text-transform: none;
}

.navbar-logo {
    position: relative;
}

.g a {
    font-size: 100px;
    color: black;
    font-weight: 700;
    text-decoration: none; 
}

section.call-action {
    padding: 50px 0px;
}

.logo-footer {
    width: -webkit-fill-available;
    padding: 0 50px 0px 0px;
}

.links--widget ul li a {
    color: black;
    text-decoration: none;
}

.main-title {
    background: black;
    color: white;
    text-align: center;
    padding: 30px 0;
    border-radius: 24px;
}

.read-more-btn {
    background: black;
    border: 1px solid white;
    color: white;
}

.read-more-btn:hover {
    background: white;
    color: black;
}

.links--widget ul {
    display: flex;
    flex-direction: column;
}

.footer--copyright {
    background: black;
    /* display: flex; */
    padding: 20px 0;
}

.content p {
    margin: 0;
    text-transform: capitalize;
}

.container.footer-list {
    display: flex;
    justify-content: space-between;
}

.text {
    margin: 0;
}

.links li a {
    padding: 0 10px;
    color: white;
    text-decoration: none;
}

.footer--widgets {
    padding-bottom: 50px;
}

.popular-img-last {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about--widget .content {
    padding: 0 0 !important;
}

.rich-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

#richEditor:focus {
    outline: 2px solid #0d6efd;
    outline-offset: -2px;
}

#richEditor img {
    max-width: 100%;
    height: auto;
}

#richEditor h1,
#richEditor h2,
#richEditor h3 {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

#richEditor ul,
#richEditor ol {
    padding-left: 2em;
}

#richEditor blockquote {
    border-left: 4px solid #ccc;
    margin: 1em 0;
    padding-left: 1em;
    color: #666;
    font-style: italic;
}

/* Link modal styling */
.modal-link {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-link-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
}


.dropdown-item:focus, .dropdown-item:hover {
    color: white;
    background-color:black;
}




.left {
    width: 50%;
}

.right {
    width: 50%;
}

img.private-img-side {
    height: 500px;
    object-fit: cover;
}

.left .preview img {
    height: -webkit-fill-available;
}

.img-row.split-1-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.img-row.split-1-2 .left,
.img-row.split-1-2 .right {
    display: grid;
    gap: 8px;
}

.img-row.split-1-2 .right {
    grid-template-rows: 1fr 1fr;
}

.img-row {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}

.img-row img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    cursor: pointer;
}


.img-row.split-1-2 .left .preview img {
    height: 450px;
}

.grid-actions {
    position: absolute;
    top: 4px;
    right: 4px;
    display: none;
}

.img-grid-box .img-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.img-grid-box .img-row:last-child {
    margin-bottom: 0;
}

.img-grid-box .img-row.half img {
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
}

.img-grid-box .img-row:not(.half) img {
    width: 100%;
    height: auto;
}


.img-grid-box img {
    border-radius: 4px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img-grid-box img:hover {
    transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .img-grid-box .img-row.half {
        flex-direction: column;
    }

    .img-grid-box .img-row.half img {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 70px;
    }


    .nav-link {
        text-align: center;
        padding: 15px 5px;
    }

    .nav-link i {
        margin-right: 0;
        font-size: 1.2rem;
    }

    .main-content {
        margin-left: 70px;
    }
}

.private-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.preview {
    width: -webkit-fill-available;
    position: relative;
}

.img-row.half {
    display: flex;
    padding: 10px 0px;
}

p.text i {
    font-size: 50px;
}








/* Language Cards */
.language-card {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 350px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.language-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.language-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px;
    position: relative;
    z-index: 1;
}

/* Language Card Backgrounds */
.hindi-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.gujarati-card {
    background: linear-gradient(135deg, #1dd1a1 0%, #10ac84 100%);
    color: white;
}

.marathi-card {
    background: linear-gradient(135deg, #ff9f43 0%, #ff6b6b 100%);
    color: white;
}

.english-card {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.punjabi-card {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

.bengali-card {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.language-icon {
    margin-bottom: 20px;
    opacity: 0.9;
}

.language-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.language-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.language-stats {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.stat-item {
    display: block;
    font-size: 1rem;
}

.language-description {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
    flex-grow: 1;
}

.language-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.language-card:hover .language-overlay {
    opacity: 1;
}

.btn-view {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.btn-view:hover {
    transform: scale(1.1);
}

/* Steps Cards */
.step-card {
    padding: 20px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

/* Progress Bars */
.progress {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
}

.progress-bar {
    border-radius: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.language-stat-icon {
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-card {
        height: 300px;
    }

    .language-title {
        font-size: 1.8rem;
    }

    .language-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .language-card {
        height: 280px;
        margin-bottom: 20px;
    }

    .language-card-inner {
        padding: 20px;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-card {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.language-card:nth-child(1) {
    animation-delay: 0.1s;
}

.language-card:nth-child(2) {
    animation-delay: 0.2s;
}

.language-card:nth-child(3) {
    animation-delay: 0.3s;
}

.language-card:nth-child(4) {
    animation-delay: 0.4s;
}

.language-card:nth-child(5) {
    animation-delay: 0.5s;
}

.language-card:nth-child(6) {
    animation-delay: 0.6s;
}


.widget--title {
    border-bottom: 1px solid gray;
    padding-bottom: 8px;
    margin-bottom: 20px;
}
.g {
    border-bottom: 1px solid gray;
    padding: 30px 0;
}
.bottom-border-inside {
    width: 200px;
    border-bottom: 2px solid red;
    display: block;
    height: 1px;
}

.bottom-border {
    border-bottom: 2px solid #e1e1e1;
    height: 1px;
    padding-top: 15px;
    display: block;
}

/* Language Header */
.language-header {
    position: relative;
    overflow: hidden;
}

.language-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-20px, -20px) rotate(360deg);
    }
}

.language-header-content {
    position: relative;
    z-index: 1;
}

.language-header-icon {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Post Cards */
.post-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.post-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;
}

.post-image-wrapper {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.post-card:hover .post-image {
    transform: scale(1.1);
}

.post-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 2.5rem;
}

.category-badge-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.search-box {
    width: 50%;
    margin: 0 auto;
}

.search-box .btn.btn-danger {
    background: black;
    border: 1px solid black;
}

.category-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 15px;
}

.silde-img {
    height: 200px !important;
}

.post-excerpt {
    font-size: 0.85rem;
    line-height: 1.4;
    min-height: 40px;
}

/* Pagination */
.page-item.active .page-link {
    background-color: #667eea;
    border-color: #667eea;
}

/* Responsive Design */
@media (max-width: 992px) {
    .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .post-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .language-header {
        padding: 30px 15px !important;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .post-title {
        font-size: 0.95rem;
        min-height: auto;
    }
}

/* Animation for posts */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}





div#postsContainer {
    padding-top: 50px;
}

footer.footer--section {
    border-top: 1px solid #8080803d;
    margin-top: 50px;
}

a {
    text-decoration: none;
}

.box-recent-pop {
    text-align: left;
}


.sticky-sidebar {
    position: sticky;
    top: 0;
    height: fit-content;
}



/* Responsive Navigation Styles */

/* Mobile Toggle Button */
.navbar-toggler {
    border: 2px solid #333;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: #f8f9fa;
}

.navbar-nav .dropdown-menu {
    position: absolute;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop Menu (Hidden on Mobile) */
.site-menu.d-none.d-lg-flex {
    display: none;
}

@media (min-width: 992px) {
    .site-menu.d-none.d-lg-flex {
        display: flex !important;
    }

    .navbar-toggler {
        display: none !important;
    }

    #mobileMenu {
        display: none !important;
    }
}

/* Mobile Menu Container */
.mobile-menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    max-height: 80vh;
    overflow-y: auto;
}

/* Mobile Menu */
.mobile-menu {
    margin: 0;
    padding: 0;
}

.mobile-menu .nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu .nav-item:last-child {
    border-bottom: none;
}

.mobile-menu .nav-link {
    padding: 12px 15px;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
    background-color: #f8f9fa;
    color: black;
}

.mobile-menu .nav-link i {
    width: 20px;
    text-align: center;
}

/* Mobile Dropdown/Accordion */
.mobile-dropdown .nav-link {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.mobile-dropdown .nav-link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-dropdown .nav-link .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 12px;
}

/* Submenu */
.submenu {
    list-style: none;
    padding-left: 30px;
    margin: 0;
    background: #f9f9f9;
}

.submenu .nav-link {
    padding: 10px 15px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #eee;
}

.submenu .nav-link:hover {
    background-color: #f0f0f0;
    color: black;
}

.submenu .nav-link:last-child {
    border-bottom: none;
}

/* Responsive Adjustments for Desktop Menu */
@media (max-width: 1199px) {
    .site-menu .nav-link {
        font-size: 13px !important;
        padding: 0 6px !important;
    }

    .dropdown-menu {
        min-width: 200px;
    }
}

@media (max-width: 991px) {
    .site-menu.d-none.d-lg-flex {
        display: none !important;
    }

    .mobile-menu-container {
        border-top: 2px solid black;
    }
}

/* Tablet Size (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .mobile-menu-container {
        max-width: 400px;
        margin: 0 auto;
        border-radius: 8px;
        margin-top: 10px;
    }

    .mobile-menu .nav-link {
        padding: 15px 20px;
        font-size: 16px;
    }

    .submenu .nav-link {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Mobile Size (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .mobile-menu-container {
        max-width: 90%;
        margin: 10px auto;
        border-radius: 6px;
    }

    .mobile-menu .nav-link {
        padding: 14px 18px;
        font-size: 15px;
    }

    .submenu .nav-link {
        padding: 10px 18px;
        font-size: 14px;
    }

    .g a {
        font-size: 48px;
    }
}

/* Small Mobile (Below 576px) */
@media (max-width: 575px) {
    .mobile-menu-container {
        width: 100%;
        border-radius: 0;
        margin-top: 0;
        position: absolute;
        left: 0;
        right: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .carousel-silder-2 {
        width: -webkit-fill-available;
    }

    .next-prev-icon-right {
        right: 2px;
    }

    .widget {
        padding: 10px 0;
    }

    .text {
        margin: 0;
        font-size: 13px;
        text-align: center;
        padding-top: 20px;
    }

    .container.footer-list {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: nowrap;
        align-items: center;
    }

    .logo-footer {
        width: -webkit-fill-available;
        padding: 0 70px 0px 70px;
    }

    .next-prev-icon-left {
        left: 2px;
    }

    .prev {
        left: 0px;
    }

    .next-prev-icon-left {
        left: 2px;
    }

    .carousel-silder {
        width: auto;
    }

    .navbar-toggler {
        border: 2px solid #333;
        padding: 6px 10px;
        height: max-content;
        border-radius: 4px;
        transition: all 0.3s ease;
        margin: 10px 0;
    }

    .mobile-menu .nav-link:hover,
    .mobile-menu .nav-link.active {
        background-color: black;
        color: white;
    }

    li.nav-item {
        padding: 0px 0px;
        border-top: 0px solid black;
        margin: 0;
    }

    .row.align-items-center.menu-row {
        display: flex;
        flex-wrap: nowrap;
    }

    .row.menu-row {
        align-items: baseline;
        padding: 10px 0;
    }

    a.navbar-brand.site-logo img {
        width: -webkit-fill-available;
        padding: 00px 0px 0 0;
    }

    .g a {
        font-size: 48px;
    }

    .next {
        right: 0px;
    }

    .card-wrapper {
        flex: 0 0 calc(100% / 1);
        padding: 10px;
        box-sizing: border-box;
    }

    .mt-4.bottom-icones {
        text-align: center;
    }

    .mobile-menu .nav-link {
        padding: 16px 20px;
        font-size: 16px;
    }

    .submenu .nav-link {
        padding: 12px 20px 12px 35px;
        font-size: 15px;
    }

    .mobile-dropdown .nav-link .fa-chevron-down {
        font-size: 14px;
    }
}

/* Desktop Dropdown Fixes */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-menu {
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-item.dropdown .dropdown-toggle::after {
        display: inline-block;
        margin-left: 5px;
    }

    .mobile-menu .nav-link {
        min-height: 44px;
        /* Minimum touch target size */
    }
}

/* Accessibility - Focus Styles */
.nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid black;
    outline-offset: 2px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .mobile-menu-container {
        background: #2d2d2d;
        color: #e0e0e0;
    }

    .mobile-menu .nav-link {
        color: #e0e0e0;
    }

    .mobile-menu .nav-link:hover,
    .mobile-menu .nav-link.active {
        background-color: #3d3d3d;
        color: black;
    }

    .submenu {
        background: #252525;
    }

    .submenu .nav-link {
        color: #ccc;
        border-bottom-color: #444;
    }

    .submenu .nav-link:hover {
        background-color: #353535;
        color: #008088;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .mobile-dropdown .nav-link .fa-chevron-down,
    .dropdown-menu {
        transition: none;
        animation: none;
    }
}