:root {
    --jlmu-primary: #006837;
    --jlmu-dark: #22a451;
    --jlmu-light: #e8f5e9;
    --header-height: 130px;
}

.text-jlmu-dark {
    color: #22a451 !important;
}

.bg-jlmu-dark {
    background-color: #22a451 !important;
}

.bg-jlmu-light {
    background-color: #e8f5e9 !important;
}

.border-jlmu {
    border-color: #006837 !important;
}

body {
    padding-top: 130px;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #006837;
    color: #fff;
    padding: 8px 12px;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

.header-wrapper.fixed-top {
    box-shadow: 0 2px 15px rgba(0, 0, 0, .1);
}

.hero-carousel .carousel-item {
    min-height: 500px;
    background-position: center;
    background-size: cover;
}

.hero-carousel .carousel-caption {
    max-width: 650px;
    padding: 2rem;
    border-radius: 8px;
}

.hover-lift {
    transition: transform .3s ease, box-shadow .3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1) !important;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-widgets {
    position: fixed;
    left: 1.25rem;
    bottom: 1rem;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.floating-widget {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all .3s ease;
    border: none;
    color: #fff;
    text-decoration: none;
}

.floating-widget:hover {
    transform: translateY(-3px);
}

#whatsappWidget {
    background: #25d366;
}

#backToTop {
    background: #22a451;
    opacity: 0;
    visibility: hidden;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

.table-hover tbody tr:hover {
    background-color: rgba(34, 164, 81, .05);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e8f5e9;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.6rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22a451;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #e8f5e9;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    transition: transform .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.recognition-card .card-body {
    min-height: 320px;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 100px;
    }
    
    .hero-carousel .carousel-item {
        min-height: 400px;
    }
    
    .display-6 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .floating-widgets {
        left: 1rem;
        bottom: .75rem;
    }
    
    .floating-widget {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-carousel .carousel-item {
        min-height: 350px;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .floating-widgets {
        left: .75rem;
        bottom: .5rem;
    }
    
    .floating-widget {
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media print {
    .header-wrapper.fixed-top,
    .floating-widgets,
    .btn,
    .carousel,
    .sidebar {
        display: none !important;
    }
    
    body {
        padding-top: 0 !important;
        font-size: 12pt;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    
    50% {
        opacity: 0.7;
    }
}

/* Consultant Row Styles - Minimal */
#consultant-container .consultant-row {
    background: var(--jlmu-dark) !important;
}

#consultant-container .consultant-row .reach-us {
    color: white !important;
}

#consultant-container .agent-avatar {
    border-color: white !important;
}

#consultant-container .modal-content {
    border-color: var(--jlmu-primary) !important;
}

#consultant-container .modal-title {
    color: var(--jlmu-primary) !important;
}

#consultant-container .contact-link:hover {
    color: var(--jlmu-primary) !important;
}
/* Minimal Consultant Adjustments */
#consultant-container {
    z-index: 1030;
}

.consultant-row {
    transition: all 0.3s ease;
}

.consultant-agent {
    transition: transform 0.3s ease;
}

/* Mobile responsiveness adjustments */
@media (max-width: 768px) {
    .consultant-row .reach-us {
        font-size: 0.8rem !important;
        margin-right: 10px !important;
    }
    
    .agent-avatar {
        width: 35px !important;
        height: 35px !important;
    }
}

@media (max-width: 576px) {
    .consultant-row {
        padding: 5px 10px !important;
    }
    
    .consultant-row .reach-us {
        font-size: 0.7rem !important;
    }
    
    .agent-avatar {
        width: 30px !important;
        height: 30px !important;
    }
}

/* ========================================
   BLOG STYLES
   ======================================== */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, var(--jlmu-primary) 0%, var(--jlmu-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blog-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Search Section */
.blog-search-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--jlmu-primary);
}

.search-btn {
    background: var(--jlmu-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background: var(--jlmu-dark);
}

/* Blog Sections */
.featured-blogs-section,
.latest-blogs-section {
    padding: 60px 0;
}

.featured-blogs-section {
    background: #fff;
}

.latest-blogs-section {
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--jlmu-primary);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--jlmu-dark);
    border-radius: 2px;
}

/* Blog Grid */
.featured-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.latest-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-card.featured {
    border: 3px solid #ffc107;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: #000;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.blog-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #999;
}

.blog-card-meta i {
    margin-right: 5px;
}

.read-more {
    color: var(--jlmu-primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.blog-card:hover .read-more {
    gap: 12px;
}

/* Loading and Error States */
.loading,
.no-blogs,
.error {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 1.1rem;
}

.error {
    color: #dc3545;
}

/* ========================================
   BLOG SINGLE PAGE STYLES
   ======================================== */

/* Breadcrumb */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--jlmu-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--jlmu-dark);
}

.breadcrumb .separator {
    color: #999;
}

.breadcrumb .current {
    color: #666;
}

/* Blog Single Content */
.blog-single-section {
    padding: 60px 0;
    background: #fff;
}

.blog-single-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Blog Header */
.blog-header {
    margin-bottom: 40px;
}

.featured-badge-large {
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.blog-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #222;
    margin-bottom: 20px;
}

.blog-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: #666;
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: var(--jlmu-primary);
    font-size: 1.1rem;
}

/* Featured Image */
.blog-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Blog Excerpt */
.blog-excerpt {
    background: var(--jlmu-light);
    padding: 25px 30px;
    border-left: 5px solid var(--jlmu-primary);
    margin-bottom: 40px;
    border-radius: 8px;
}

.blog-excerpt p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
    font-style: italic;
}

/* Blog Content */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--jlmu-primary);
}

.blog-content h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 35px 0 18px;
    color: var(--jlmu-dark);
}

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

.blog-content ul,
.blog-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Custom Rich Text Editor Styles */
.blog-content .info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.blog-content .warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.blog-content blockquote {
    border-left: 4px solid var(--jlmu-primary);
    padding: 20px 25px;
    margin: 30px 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
}

/* Blog Footer / Social Share */
.blog-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.social-share h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.share-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* Related Blogs */
.related-blogs {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #e0e0e0;
}

.related-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.related-blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.related-blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-blog-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-blog-card:hover .related-blog-image img {
    transform: scale(1.08);
}

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

.related-blog-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-blog-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.read-more-small {
    color: var(--jlmu-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Back to Blogs Button */
.back-to-blogs {
    margin-top: 60px;
    