.vision-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.vision-list li {
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    align-items: flex-start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vision-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.vision-list i {
    font-size: 22px;
    color: #000;
    margin-top: 3px;
    min-width: 28px;
}

.vision-list span {
    color: #000;
    line-height: 1.6;
    font-size: 15px;
}

.vision-list strong {
    display: block;
    font-size: 16px;
    color: #000;
    margin-bottom: 2px;
}

@keyframes zoomPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

@media (min-width: 768px) {
    #about .section-text .row {
        display: flex;
        align-items: center;
    }
}

.quote-link:hover .quote-icon {
    animation: zoomPulse 0.6s ease-in-out;
}

.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;
}

.dancing-script-heading {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

/* ==========================================================================
   Blog Section Enhancements (Simplified Masonry)
   ========================================================================== */

.post-item {
    /* Removed individual transitions to avoid Masonry conflict */
    background: transparent;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    border: none;
    margin-bottom: 40px;
}

.post-item-inner {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    width: 100%;
    height: 100%;
}

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

.post-prev-img {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
    cursor: pointer;
}

.post-prev-img img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    display: block;
}

/* Image zoom effect on hover */
.post-item:hover .post-prev-img img {
    transform: scale(1.08);
}

.post-prev-title {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.4;
}

.post-prev-title a {
    transition: opacity 0.3s ease;
}

.post-item:hover .post-prev-title a {
    opacity: 0.8;
}

.post-prev-more .text-link {
    position: relative;
    display: inline-block;
    font-weight: 500;
}

.post-prev-more .text-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -1px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.post-item:hover .post-prev-more .text-link::after {
    width: 100%;
}

/* Ensure masonry items have consistent spacing without card padding */
.masonry {
    margin-right: -10px;
    margin-left: -10px;
}

.post-item {
    padding-left: 10px;
    padding-right: 10px;
}

/* ==========================================================================
   Footer Links Styling
   ========================================================================== */

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-nav li {
    position: relative;
}

.footer-nav li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -12px;
    color: #999;
    opacity: 0.5;
}

.footer-nav a {
    font-size: 15px;
    font-weight: 400;
    color: #111;
    text-transform: none;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.footer-nav a:hover {
    color: #555;
}

.light-content .footer-nav a {
    color: #bbb;
}

.light-content .footer-nav a:hover {
    color: #fff;
}

.light-content .footer-nav li:not(:last-child)::after {
    color: #444;
}

@media (max-width: 767px) {
    .footer-nav {
        gap: 10px 15px;
        flex-direction: column;
        align-items: center;
    }

    .footer-nav li::after {
        display: none;
    }
}

/* ==========================================================================
   Sticky Sidebar Fix
   ========================================================================== */

/*
   We only reset overflow on direct parents that might clip the sticky sidebar.
   Avoid reset on .row or .container as it breaks float clearing/masonry.
*/
.page, #main, .page-section {
    overflow: visible !important;
}

@media (min-width: 992px) {
    .sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 100px !important;
        z-index: 10;
        height: min-content !important;
        align-self: flex-start !important;
        display: block !important;
    }
}

/* ==========================================================================
   Pull to Refresh UI
   ========================================================================== */

#ptr-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: transparent; /* Transparent background */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: height 0.1s ease-out;
    pointer-events: none; /* Don't block clicks when transparent */
}

#ptr-loader {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(241, 39, 60, 0.2);
    border-top: 2px solid #f1273c; /* Theme Red */
    border-radius: 50%;
    animation: ptr-spin 0.8s linear infinite;
    opacity: 0;
    transition: opacity 0.2s;
}

@keyframes ptr-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body.ptr-pulling #ptr-loader {
    opacity: 1;
}

body.ptr-refreshing #ptr-container {
    height: 60px !important;
}

.hierarchical-categories .nested-categories {
    padding-left: 15px;
    margin-top: 2px;
    margin-bottom: 2px;
    display: none;
    border-left: 1px solid #eee;
    margin-left: 5px;
}

.hierarchical-categories li.expanded > .nested-categories {
    display: block;
}

.hierarchical-categories li {
    position: relative;
    padding: 3px 0;
}

.category-item-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-item-wrap a {
    flex-grow: 1;
    font-size: 16px; /* Matching widget-body text size */
    color: #555;
    transition: color 0.17s ease;
}

.category-item-wrap a:hover {
    color: #999;
}

.category-toggle {
    cursor: pointer;
    font-size: 9px;
    color: #bbb;
    padding: 8px;
    transition: all 0.2s ease;
    line-height: 1;
}

/* Rotate icon for expanded state */
.hierarchical-categories li.expanded > .category-item-wrap .category-toggle {
    transform: rotate(180deg);
    color: #777;
}

.category-toggle:hover {
    color: #555;
}

.hierarchical-categories li small {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
    font-weight: 400;
}

/* ==========================================================================
   Blog Social Share Styling
   ========================================================================== */

/* Dedicated styles for blog share links (decoupled from footer) */
.blog-item-foot .blog-share-links {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.blog-item-foot .blog-share-links a {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: #555;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.blog-item-foot .blog-share-links a:hover {
    background: #000000; /* Brand color */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(24, 4, 6, 0.3);
}

.blog-item-foot .blog-share-links a i {
    font-size: 14px !important;
    line-height: 1;
}

.blog-item-foot .share-title {
    font-size: 15px;
    color: #444;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-item-foot .share-title i {
    color: #000000;
}

/* Share Counter Styling */
.share-counter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: #fff;
    border-radius: 30px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.share-counter .count-number {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.share-counter .count-label {
    font-size: 13px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .blog-item-foot .share-title {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .blog-item-foot .blog-share-links {
        gap: 6px;
    }
    
    .blog-item-foot .blog-share-links a {
        width: 34px !important;
        height: 34px !important;
        line-height: 34px !important;
        font-size: 13px !important;
    }
    
    .share-counter {
        margin-top: 10px;
        padding: 6px 12px;
    }
    
    .share-counter .count-number {
        font-size: 16px;
    }
    
    .share-counter .count-label {
        font-size: 12px;
    }
}

