/* ============================================
   MODERN UI ENHANCEMENTS - ACM GENERAL
   ============================================ */

/* CRITICAL: Force Dark Gray Text in Sidebar - Override Yellow Theme */
/* This must be at the top to ensure it loads last */
html body aside.sidebar-modern .heading-primary,
html body aside.sidebar-modern h4.heading-primary,
html body aside.sidebar-modern .sidebar-title,
html body aside.sidebar-modern a:not(.badge),
html body aside.sidebar-modern .sidebar-link,
html body aside.sidebar-modern .nav-list a,
html body aside.siderbar .heading-primary,
html body aside.siderbar h4.heading-primary,
html body aside.siderbar a:not(.badge),
html body aside.siderbar .nav-list a {
    color: #444444 !important;
}

html body aside.sidebar-modern a:hover:not(.badge),
html body aside.sidebar-modern .sidebar-link:hover,
html body aside.siderbar a:hover:not(.badge) {
    color: #d2322d !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Improved Typography */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Box Head News - Enhanced */
.box-item {
    float: left;
    opacity: 1;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.box-item img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.box-item:hover img {
    transform: scale(1.1);
}

.box-item a {
    color: #FFF;
    text-decoration: none;
}

.box-item .box-post span.meta {
    font-family: sans-serif;
    font-size: 12px;
    color: #fff;
    margin-top: 15px;
    display: block;
}

.box-item .box-post span.meta span {
    margin-right: 15px;
}

.box-item .box-post {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    padding: 30px;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

.box-item:hover .box-post {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5));
}

.box-item .box-post h1.post-title {  
    margin-bottom: 10px;
}

/* Flexbox Row */
.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.row.display-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* Custom Thumb Info - Enhanced */
.custom-thumb-info-4 {
    border: none;
    padding-bottom: 10px;
    overflow: initial;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.custom-thumb-info-4:hover {
    transform: translateY(-8px);
}

.custom-thumb-info-4:hover .thumb-info-wrapper:before {
    background: rgba(0, 0, 0, 0.3);
}

.custom-thumb-info-4:hover .thumb-info-wrapper:after {
    top: 50%;
    opacity: 1;
}

.custom-thumb-info-4 a {
    cursor: pointer;
    transition: color 0.3s ease;
}

.custom-thumb-info-4 a:hover {
    color: #d2322d;
}

.custom-thumb-info-4 .thumb-info-wrapper:before {
    transition: background 0.3s ease;
    background: transparent;
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.custom-thumb-info-4 .thumb-info-wrapper:after {
    transition: top 0.3s ease, opacity 0.3s ease;
    background: transparent;
    color: #FFF;
    font-size: 30px;
    height: 30px;
    position: absolute;
    top: 30%;
    margin-top: -15px;
    display: block;
    text-align: center;
    width: 100%;
    opacity: 0;
    z-index: 3;
}

.custom-thumb-info-4 .thumb-info-wrapper.active {
    box-shadow: 0px 0px 60px -3px #8b8b8b;
}

.custom-thumb-info-4 .thumb-info-caption {
    position: relative;
    display: block;
    width: 90%;
    margin: -37px auto 0;
    padding: 15px;
    background: #FFF;
    z-index: 1;
    border-bottom: 3px solid #d2322d;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.custom-thumb-info-4:hover .thumb-info-caption {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.custom-thumb-info-4 .thumb-info-caption .thumb-info-caption-text {
    padding: 0;
}

.custom-thumb-info-4 .thumb-info-caption h4 {
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* News Cards Enhancement */
.entry-thumb {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.entry-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.recent-posts {
    transition: transform 0.3s ease;
}

.recent-posts:hover {
    transform: translateY(-3px);
}

.recent-posts .post h5 a {
    transition: color 0.3s ease;
    text-decoration: none;
}

.recent-posts .post h5 a:hover {
    color: #d2322d;
}

/* Section Headings */
h2 strong {
    color: #d2322d;
    position: relative;
    padding-bottom: 10px;
}

h2 strong::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #d2322d;
    border-radius: 2px;
}

/* Button Enhancements */
.btn {
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: 500;
}

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

.btn-primary {
    background: #d2322d;
    border-color: #d2322d;
    color: #ffffff;
}

.btn-primary:hover {
    background: #b02824;
    border-color: #b02824;
    color: #ffffff;
}

/* Read More Button - Custom Color - Override default.css */
html .btn-primary.read-more-btn,
html .read-more-btn.btn-primary,
html body .btn-primary.read-more-btn,
html body .read-more-btn.btn-primary {
    background: #f4e600 !important;
    border-color: #f4e600 !important;
    color: #444444 !important;
}

html .btn-primary.read-more-btn:hover,
html .read-more-btn.btn-primary:hover,
html body .btn-primary.read-more-btn:hover,
html body .read-more-btn.btn-primary:hover {
    background: #e6d800 !important;
    border-color: #e6d800 !important;
    color: #444444 !important;
}

html .btn-primary.read-more-btn:focus,
html .read-more-btn.btn-primary:focus,
html body .btn-primary.read-more-btn:focus,
html body .read-more-btn.btn-primary:focus {
    background: #e6d800 !important;
    border-color: #e6d800 !important;
    color: #444444 !important;
}

html .btn-primary.read-more-btn i,
html .read-more-btn.btn-primary i,
html body .btn-primary.read-more-btn i,
html body .read-more-btn.btn-primary i {
    color: #444444 !important;
}

html .btn-primary.read-more-btn:hover i,
html .read-more-btn.btn-primary:hover i {
    color: #444444 !important;
}

/* Header Search Enhancement */
.header-search .form-control {
    border-radius: 25px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.header-search .form-control:focus {
    border-color: #d2322d;
    box-shadow: 0 0 0 0.2rem rgba(210, 50, 45, 0.25);
}

.header-search .btn {
    border-radius: 0 25px 25px 0;
}

/* Carousel Enhancements */
.carousel-inner img {
    transition: transform 0.5s ease;
}

.carousel:hover .carousel-inner img {
    transform: scale(1.02);
}

.carousel-control {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control:hover {
    opacity: 1;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
    .custom-thumb-info-4 .thumb-info-caption {
        width: 95%;
        padding: 10px;
    }
    
    .box-item:hover {
        transform: none;
    }
    
    .entry-thumb:hover {
        transform: none;
    }
}

/* Footer Enhancements */
.footer-copyright {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 20px 0;
}

/* Social Icons Hover */
.social-icons a {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Section Spacing */
.section {
    padding: 60px 0;
}

/* Card Hover Effect */
.thumb-info-wrapper {
    overflow: hidden;
    border-radius: 8px;
}

.thumb-info-wrapper img {
    transition: transform 0.5s ease;
}

.custom-thumb-info-4:hover .thumb-info-wrapper img {
    transform: scale(1.1);
}

/* ============================================
   NEWS/BERITA PAGE ENHANCEMENTS
   ============================================ */

/* News Card Styling */
.news-card {
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 8px;
}

.news-card:hover {
    background: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-image-wrapper {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.news-thumb {
    transition: transform 0.5s ease;
    border-radius: 8px;
}

.news-card:hover .news-thumb {
    transform: scale(1.1);
}

.news-title-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
    font-size: 20px;
}

.news-title-link:hover {
    color: #d2322d;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.read-more-btn {
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 6px 15px;
    color: #444444 !important;
}

.read-more-btn:hover {
    transform: translateX(5px);
    color: #444444 !important;
}

.read-more-btn i {
    color: #444444 !important;
}

.read-more-btn:hover i {
    color: #444444 !important;
}

.meta-item {
    margin-right: 15px;
    color: #666;
    font-size: 13px;
}

.meta-item i {
    margin-right: 5px;
    color: #d2322d;
}

/* Article Detail Page */
.article-title {
    color: #2c3e50;
    font-weight: 700;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.category-link {
    color: #d2322d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #b02824;
    text-decoration: underline;
}

.article-featured-image {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.article-content {
    color: #444;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

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

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Sidebar Modern Styling - Enhanced for Better Readability */
.sidebar-modern {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #d2322d;
    color: #444444 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title i {
    color: #d2322d;
    font-size: 22px;
    background: rgba(210, 50, 45, 0.1);
    padding: 8px;
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li:hover {
    padding-left: 8px;
    background: #f8f9fa;
    border-radius: 5px;
    margin: 0 -5px;
    padding-left: 13px;
    padding-right: 5px;
}

.sidebar-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #d2322d;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-10px);
}

.sidebar-list li:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-link {
    color: #444444 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 500;
}

.sidebar-link:hover {
    color: #d2322d;
    text-decoration: none;
}

.sidebar-link .badge {
    background: linear-gradient(135deg, #d2322d 0%, #b02824 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 15px;
    min-width: 28px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(210, 50, 45, 0.3);
    transition: all 0.3s ease;
}

.sidebar-link:hover .badge {
    background: linear-gradient(135deg, #b02824 0%, #d2322d 100%);
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(210, 50, 45, 0.4);
}

/* Improved Readability for Long Text */
.sidebar-link {
    word-wrap: break-word;
    hyphens: auto;
}

/* Better Spacing for News Items */
.sidebar-list li a {
    padding: 8px 0;
    display: block;
}

/* Category Badge Enhancement */
.sidebar-list li .badge {
    margin-left: auto;
    flex-shrink: 0;
}

/* Pagination Enhancement */
.pagination-wrapper {
    margin: 40px 0;
}

.pagination-wrapper .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination-wrapper .pagination li a {
    color: #d2322d;
    border: 1px solid #d2322d;
    padding: 8px 15px;
    margin: 0 3px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination-wrapper .pagination li.active a,
.pagination-wrapper .pagination li a:hover {
    background: #d2322d;
    color: #fff;
    border-color: #d2322d;
}

/* Override Yellow Color for Better Readability - Dark Gray Text */
/* Must override html .heading-primary from default.css */
html .sidebar-modern .heading-primary,
html .sidebar-modern .sidebar-title,
html .sidebar-modern h4.heading-primary,
html .sidebar-modern h4.heading-primary.sidebar-title {
    color: #444444 !important;
}

html .sidebar-modern .sidebar-link,
html .sidebar-modern a.sidebar-link,
html .sidebar-modern ul.sidebar-list a,
html .sidebar-modern .nav-list a,
html .sidebar-modern .nav-list li a,
html .sidebar-modern a {
    color: #444444 !important;
}

html .sidebar-modern .sidebar-link:hover,
html .sidebar-modern a.sidebar-link:hover,
html .sidebar-modern ul.sidebar-list a:hover,
html .sidebar-modern .nav-list a:hover,
html .sidebar-modern a:hover {
    color: #d2322d !important;
}

/* Ensure all sidebar text is dark gray - Override theme yellow */
html .sidebar-modern,
html .sidebar-modern * {
    color: #444444 !important;
}

/* Exception for badges and icons */
html .sidebar-modern .badge {
    color: #ffffff !important;
}

html .sidebar-modern .sidebar-title i {
    color: #d2322d !important;
}

/* Additional override for any remaining yellow text */
html body .sidebar-modern .heading-primary,
html body .sidebar-modern h4.heading-primary {
    color: #444444 !important;
}

html body .sidebar-modern a,
html body .sidebar-modern .sidebar-link {
    color: #444444 !important;
}

/* Override for old sidebar class (siderbar) - backward compatibility */
html .siderbar .heading-primary,
html .siderbar h4.heading-primary,
html .siderbar .nav-list a,
html .siderbar a {
    color: #444444 !important;
}

html .siderbar .nav-list a:hover,
html .siderbar a:hover {
    color: #d2322d !important;
}

/* Global override for sidebar areas - Force dark gray text */
aside.sidebar-modern,
aside.siderbar {
    color: #444444 !important;
}

aside.sidebar-modern *,
aside.siderbar * {
    color: #444444 !important;
}

/* Exception for badges */
aside.sidebar-modern .badge,
aside.siderbar .badge {
    color: #ffffff !important;
    background: #d2322d !important;
}

/* Enhanced Visual Hierarchy */
.sidebar-widget:first-child {
    margin-top: 0;
}

/* Better List Item Spacing */
.sidebar-list li + li {
    margin-top: 2px;
}

/* Improved Typography for Sidebar */
.sidebar-modern {
    font-family: 'Open Sans', sans-serif;
}

.sidebar-link {
    font-size: 14px;
    line-height: 1.7;
}

/* Hover Effect Enhancement */
.sidebar-list li {
    border-left: 3px solid transparent;
    padding-left: 12px;
}

.sidebar-list li:hover {
    border-left-color: #d2322d;
    background: linear-gradient(to right, rgba(210, 50, 45, 0.05), transparent);
}

/* ============================================
   HOMEPAGE ENHANCEMENTS
   ============================================ */

/* Statistics Section */
.statistics-section {
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.stat-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: #f4e600;
    margin: 15px 0;
    line-height: 1;
}

.stat-item i {
    transition: transform 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.2);
}

/* Counter Animation */
.counter {
    display: inline-block;
    transition: all 0.3s ease;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-button {
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(244, 230, 0, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 230, 0, 0.6);
    background: #fff !important;
    color: #d2322d !important;
}

/* Enhanced Thumb Info Cards */
.enhanced-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #fff;
}

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

.enhanced-card .thumb-info-wrapper {
    overflow: hidden;
    position: relative;
}

.enhanced-card .thumb-info-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enhanced-card:hover .thumb-info-wrapper::after {
    opacity: 1;
}

.enhanced-card .thumb-info-wrapper img {
    transition: transform 0.5s ease;
}

.enhanced-card:hover .thumb-info-wrapper img {
    transform: scale(1.15);
}

.enhanced-card .thumb-info-caption {
    padding: 20px;
    background: #fff;
}

.card-title-link {
    transition: color 0.3s ease;
    font-weight: 600;
}

.enhanced-card:hover .card-title-link {
    color: #d2322d !important;
}

/* Enhanced News Cards Homepage */
.news-card-home {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.news-image-wrapper-home {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.news-thumb-home {
    transition: transform 0.5s ease;
    border-radius: 8px;
    width: 100%;
    height: auto;
}

.news-card-home:hover .news-thumb-home {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d2322d;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(210, 50, 45, 0.4);
    z-index: 2;
}

.news-title-link-home {
    transition: color 0.3s ease;
    font-weight: 600;
}

.news-card-home:hover .news-title-link-home {
    color: #d2322d !important;
}

/* Enhanced Carousel */
.enhanced-carousel .carousel-indicators {
    bottom: 20px;
}

.enhanced-carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.enhanced-carousel .carousel-indicators li.active {
    background: #f4e600;
    border-color: #f4e600;
    transform: scale(1.3);
}

.enhanced-carousel .carousel-control {
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.enhanced-carousel .carousel-control:hover {
    background: rgba(0,0,0,0.6);
    transform: translateY(-50%) scale(1.1);
}

.enhanced-carousel .carousel-control .glyphicon {
    font-size: 20px;
    line-height: 50px;
}

/* Hero Section Improvements */
.hero-section .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.carousel-content-wrapper {
    position: relative;
    z-index: 2;
}

.carousel-cta-btn {
    display: inline-block;
    transition: all 0.3s ease;
}

.carousel-cta-btn:hover {
    transform: translateX(5px);
}

/* Section Spacing Improvements */
.section {
    padding: 80px 0;
}

.section-no-background {
    padding: 60px 0;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

.mt-lg {
    margin-top: 40px;
}

.mb-lg {
    margin-bottom: 40px;
}

.mb-xl {
    margin-bottom: 60px;
}

/* Responsive News Cards */
@media (max-width: 768px) {
    .news-card .row > div {
        margin-bottom: 15px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sidebar-modern {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
    
    .sidebar-title {
        font-size: 18px;
    }
    
    .sidebar-link {
        font-size: 13px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .section {
        padding: 50px 0;
    }
}


/* ============================================
   FOOTER MODERN
   ============================================ */
.footer-modern {
    background: #2c3e50;
    color: #ecf0f1;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-title {
    color: #f4e600;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-title i {
    margin-right: 10px;
}

.footer-map {
    border-radius: 8px;
    overflow: hidden;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links li:last-child {
    border-bottom: none;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f4e600;
}

.footer-contact {
    color: #ecf0f1;
    line-height: 1.8;
}

.social-icons-modern {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
}

.social-icons-modern li {
    margin: 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon.facebook {
    background: #3b5998;
}

.social-icon.whatsapp {
    background: #25D366;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-icon.youtube {
    background: #FF0000;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.newsletter-form .form-control {
    border-radius: 25px 0 0 25px;
    border: none;
    padding: 12px 20px;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    border: none;
    padding: 12px 20px;
}

.footer-copyright {
    background: #1a252f;
    padding: 20px 0;
    text-align: center;
    color: #95a5a6;
}

.footer-copyright a {
    color: #f4e600;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* ============================================
   CLIENT LOGOS SECTION
   ============================================ */
.clients-carousel {
    padding: 20px 0;
}

.client-item {
    text-align: center;
    padding: 20px;
}

.client-logo {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-color: #f4e600;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logo:hover img {
    transform: scale(1.1);
}

.client-logo span {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    text-align: center;
    word-break: break-word;
}

.client-logo embed {
    width: 100%;
    height: 120px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-carousel {
    padding: 20px 0;
}

.testimonial-item {
    padding: 0 15px;
}

.testimonial-content {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.testimonial-content:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 48px;
    color: #f4e600;
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #ecf0f1;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #f4e600;
}

.author-info h5 {
    color: #fff;
    margin: 0;
    font-size: 18px;
}

.author-info span {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.testimonial-rating {
    color: #f4e600;
    font-size: 18px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs-list li {
    display: inline-flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.breadcrumbs-list li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: #999;
}

.breadcrumbs-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs-list a:hover {
    color: #d2322d;
}

.breadcrumbs-list .active {
    color: #d2322d;
    font-weight: 600;
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */
.btn, a.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
}
    
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .testimonial-content {
        padding: 30px 20px;
    }
}