 :root {
     --primary: #3b82f6;
     --dark: #0f172a;
     --text-color: #333333;
     --meta-color: #888888;
     --border-color: #e1e1e1;
     --radius: 0.75rem;
 }

 body {
     font-family: 'Inter', sans-serif;
     background-color: #f9f9f9;
     padding-top: 100px;
     color: var(--text-color);
 }

 .modern-nav {
     position: fixed;
     top: 0;
     width: 100%;
     z-index: 1000;
     padding: 15px 0;
     background: rgba(15, 23, 42, 0.95);
     backdrop-filter: blur(10px);
     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
     transition: 0.4s;
 }



 .nav-brand-text {
     font-size: 1.5rem;
     font-weight: 800;
     color: #fff;
     font-family: 'Inter', sans-serif;
 }

 .nav-link {
     color: rgba(255, 255, 255, 0.8) !important;
     font-weight: 500;
     margin-left: 20px;
     font-family: 'Inter', sans-serif;
 }

 .nav-link:hover,
 .nav-link.active {
     color: var(--primary) !important;
     background-color: transparent !important;
     /* Override bootstrap default if any */
 }

 .nav-link.active {
     color: var(--primary) !important;
 }


 .btn-subscribe {
     background: var(--primary);
     color: white !important;
     border-radius: 50px;
     padding: 8px 25px !important;
     box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
 }

 .ani-container {
     background: #fff;
     padding: 30px;
     border-radius: var(--radius);
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
     margin-bottom: 30px;
 }

 .ani-breadcrumb {
     font-size: 0.85rem;
     color: var(--meta-color);
     margin-bottom: 15px;
     text-transform: uppercase;
     font-weight: 600;
     font-family: 'Inter', sans-serif;
 }

 .ani-breadcrumb a {
     color: var(--primary);
     text-decoration: none;
 }

 .ani-breadcrumb span {
     margin: 0 5px;
 }

 .ani-title {
     font-family: 'Outfit', sans-serif;
     font-size: 2.2rem;
     font-weight: 700;
     color: #222;
     margin-bottom: 15px;
     line-height: 1.3;
 }

 .ani-container .lead {
     font-size: 0.9rem;
     font-weight: 500;
 }

 .ani-meta {
     font-size: 0.9rem;
     color: var(--meta-color);
     margin-bottom: 25px;
     border-bottom: 1px solid var(--border-color);
     padding-bottom: 15px;
     display: flex;
     align-items: center;
     font-family: 'Inter', sans-serif;
 }

 .ani-meta i {
     margin-right: 5px;
     color: var(--primary);
 }

 .ani-meta span {
     margin-right: 15px;
 }

 .ani-hero-img {
     width: 100%;
     height: auto;
     border-radius: 4px;
     margin-bottom: 25px;
 }

 .ani-content p {
     font-size: 1rem;
     line-height: 1.8;
     margin-bottom: 20px;
     color: #444;
     font-family: 'Inter', sans-serif;
 }

 .ani-content h3 {
     font-family: 'Outfit', sans-serif;
     font-weight: 700;
     margin-top: 30px;
     margin-bottom: 15px;
     color: #222;
 }

 .ani-content img {
     max-width: 100%;
     height: auto;
     border-radius: 4px;
     margin: 20px 0;
 }

 .highlight-box {
     background: #f8f9fa;
     border-left: 4px solid var(--primary);
     padding: 20px;
     margin: 20px 0;
     font-family: 'Inter', sans-serif;
 }

 .post-navigation {
     display: flex;
     justify-content: space-between;
     margin-top: 40px;
     padding-top: 20px;
     border-top: 1px solid var(--border-color);
 }

 .nav-box {
     width: 48%;
 }

 .nav-box span {
     display: block;
     font-size: 0.8rem;
     color: #888;
     margin-bottom: 5px;
     font-family: 'Inter', sans-serif;
 }

 .nav-box a {
     font-weight: 600;
     color: #222;
     text-decoration: none;
     font-family: 'Outfit', sans-serif;
 }

 .nav-box a:hover {
     color: var(--primary);
 }

 .related-header-wrap {
     display: flex;
     justify-content: space-between;
     align-items: center;
     border-bottom: 2px solid var(--primary);
     margin-bottom: 20px;
     padding-bottom: 10px;
 }

 .widget-header {
     font-family: 'Outfit', sans-serif;
     font-size: 1.1rem;
     font-weight: 700;
     margin: 0;
     line-height: 1.6; 
 }

 .slider-arrows {
     display: flex;
     gap: 5px;
 }

 .slide-btn {
     width: 30px;
     height: 30px;
     background: #fff;
     border: 1px solid #ddd;
     color: #555;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: 0.2s;
     border-radius: 3px;
 }

 .slide-btn:hover {
     background: var(--primary);
     color: white;
     border-color: var(--primary);
 }

 .related-slider .slick-slide {
     margin: 0 10px;
 }

 .related-slider .slick-list {
     margin: 0 -10px;
 }

 .related-card {
     background: #fff;
     border: 1px solid #eee;
     border-radius: 4px;
     overflow: hidden;
     transition: 0.3s;
 }

 .related-card:hover {
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 }

 .related-img {
     width: 100%;
     height: 160px;
     object-fit: cover;
 }

 .related-body {
     padding: 15px;
 }

 .related-title {
     font-size: 0.95rem;
     font-weight: 700;
     line-height: 1.4;
     color: #222;
     display: block;
     text-decoration: none;
     margin-bottom: 5px;
     height: 42px;
     overflow: hidden;
     font-family: 'Outfit', sans-serif;
 }

 .related-title:hover {
     color: var(--primary);
 }

 .related-date {
     font-size: 0.75rem;
     color: #999;
     display: block;
     margin-top: 10px;
     font-family: 'Inter', sans-serif;
 }

 .sidebar-widget {
     background: #fff;
     padding: 25px;
     margin-bottom: 30px;
     border: 1px solid #eee;
     border-radius: var(--radius);
 }

 .widget-header-full {
     border-bottom: 1px solid #eee;
     margin-bottom: 20px;
     padding-bottom: 10px;
 }

 .widget-header-title {
     font-family: 'Outfit', sans-serif;
     font-size: 1rem;
     font-weight: 700;
     border-bottom: 2px solid var(--primary);
     padding-bottom: 10px;
 }

 .popular-post-item {
     display: flex;
     margin-bottom: 15px;
     padding-bottom: 15px;
     border-bottom: 1px solid #f5f5f5;
 }

 .popular-post-item:last-child {
     border: none;
     margin-bottom: 0;
     padding-bottom: 0;
 }

 .pp-img {
     width: 80px;
     height: 60px;
     object-fit: cover;
     margin-right: 15px;
     border-radius: 3px;
 }

 .pp-content h6 {
     font-size: 0.9rem;
     font-weight: 600;
     line-height: 1.4;
     margin-bottom: 5px;
     font-family: 'Outfit', sans-serif;
 }

 .pp-content h6 a {
     color: #333;
     text-decoration: none;
 }

 .pp-content h6 a:hover {
     color: var(--primary);
 }

 .pp-content small {
     font-size: 0.75rem;
     color: #999;
     font-family: 'Inter', sans-serif;
 }

 .category-list {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .category-list li {
     padding: 8px 0;
     border-bottom: 1px solid #f5f5f5;
     display: flex;
     justify-content: space-between;
     font-family: 'Inter', sans-serif;
 }

 .category-list li a {
     color: #555;
     text-decoration: none;
     font-size: 0.95rem;
 }

 .category-list li a:hover {
     color: var(--primary);
 }

 .category-list li span {
     background: #eee;
     font-size: 0.75rem;
     padding: 2px 8px;
     border-radius: 10px;
     color: #777;
 }

 .modern-footer {
     background: #020617;
     color: #94a3b8;
     padding: 80px 0 30px;
     margin-top: 80px;
     font-family: 'Inter', sans-serif;
 }

 .footer-brand {
     color: white;
     font-size: 2rem;
     font-weight: 800;
     display: block;
     margin-bottom: 20px;
     font-family: 'Inter', sans-serif;
 }

 .footer-links a {
     color: #94a3b8;
     text-decoration: none;
     display: block;
     margin-bottom: 10px;
     transition: 0.3s;
 }

 .footer-links a:hover {
     color: white;
     padding-left: 5px;
 }


 @media (max-width: 768px) {
     .nav-box {
         width: 100%;
         margin-bottom: 15px;
         text-align: center !important;
     }

     .post-navigation {
         flex-direction: column;
     }
 }

 /* Styles from index.php */
 :root {
     --darker: #020617;
     --light-bg: #f8fafc;
     --card-bg: #ffffff;
     --text-main: #334155;
     --text-muted: #64748b;
     --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
 }

 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
     font-family: 'Outfit', sans-serif;
     font-weight: 700;
     color: var(--dark);
     letter-spacing: -0.02em;
 }

 .hero-slider-wrap {
     margin-top: 0;
     width: 100%;
     overflow: hidden;
     background: #000;
     margin-bottom: 60px;
 }

 .hero-item {
     position: relative;
     height: 85vh;
     min-height: 550px;
     outline: none;
 }

 .hero-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 .hero-overlay {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
     display: flex;
     align-items: center;
     padding-left: 10%;
 }

 .hero-content {
     max-width: 700px;
     color: white;
     opacity: 0;
     transform: translateY(30px);
     transition: all 0.6s ease;
 }

 .slick-active .hero-content {
     opacity: 1;
     transform: translateY(0);
     transition-delay: 0.5s;
 }

 .badge-custom {
     background: var(--primary);
     color: white;
     padding: 6px 15px;
     border-radius: 50px;
     font-size: 0.85rem;
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-bottom: 20px;
     display: inline-block;
 }

 .hero-title {
     font-size: 3.5rem;
     line-height: 1.1;
     margin-bottom: 20px;
     color: white;
 }

 .hero-title a {
     color: white;
     text-decoration: none;
 }

 .hero-desc {
     font-size: 1rem;
     color: rgba(255, 255, 255, 0.9);
     margin-bottom: 30px;
 }

 .section-title {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 30px;
     border-bottom: 2px solid #e2e8f0;
     padding-bottom: 15px;
 }

 .section-title h2 {
     margin: 0;
     position: relative;
 }

 .section-title h2::after {
     content: '';
     position: absolute;
     bottom: -17px;
     left: 0;
     width: 60px;
     height: 4px;
     background: var(--primary);
     border-radius: 2px;
 }

 .news-card {
     background: var(--card-bg);
     border-radius: var(--radius);
     overflow: hidden;
     border: none;
     transition: all 0.3s ease;
     height: 100%;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
 }

 .news-card:hover {
     transform: translateY(-8px);
     box-shadow: var(--shadow-hover);
 }

 .card-img-wrap {
     position: relative;
     overflow: hidden;
     padding-top: 60%;
 }

 .card-img-wrap img {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s ease;
 }

 .news-card:hover .card-img-wrap img {
     transform: scale(1.05);
 }

 .card-content {
     padding: 20px;
 }

 .meta-tag {
     font-size: 0.75rem;
     color: var(--primary);
     font-weight: 700;
     text-transform: uppercase;
     margin-bottom: 8px;
     display: block;
 }

 .card-title a {
     color: var(--dark);
     text-decoration: none;
     font-weight: 700;
     font-size: 1.1rem;
     transition: 0.2s;
 }

 .card-title a:hover {
     color: var(--primary);
 }

 .popular-item {
     display: flex;
     gap: 15px;
     margin-bottom: 15px;
     padding-bottom: 15px;
     border-bottom: 1px solid #f5f5f5;
 }

 .popular-img {
     width: 80px;
     height: 60px;
     object-fit: cover;
     border-radius: 8px;
 }

 .popular-title {
     font-size: 0.95rem;
     font-weight: 700;
     line-height: 1.4;
 }

 .popular-title a {
     color: #333;
     text-decoration: none;
 }

 @media (max-width: 768px) {
     .hero-item {
         height: 65vh;
     }

     .hero-title {
         font-size: 2rem;
     }

     .hero-desc {
         display: none;
     }
 }