/* Root Variables */
:root {
    --primary-red: #C41E3A;
    --dark-navy: #1a1f2b;
    --transition-base: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(211, 189, 189, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Enhanced Header Styles */
.navbar {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.navbar>.container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    transition: var(--transition-base);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.brand-text {
    line-height: 1.2;
}

.brand-name {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.brand-tagline {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

/* Centered Navigation */
.navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: #374151 !important;
    font-weight: 500;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Ask AI Button */

.btn-ask-ai {
    background: linear-gradient(to right, var(--primary-red), #8B0000);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-ask-ai:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Enhanced Hero Section */
.hero-section {
    /* background: linear-gradient(135deg, #C41E3A 0%, #8B0000 100%); */
    background: linear-gradient(135deg, #b61530 0%, #5f0000 100%);
    padding: 5rem 0 12rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23fff" fill-opacity="0.05" x="0" y="0" width="100" height="100"/></svg>');
    opacity: 0.1;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 5rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 2rem auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.3);
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-red);
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-base);
}

.search-button:hover {
    background: rgba(196, 30, 58, 0.1);
}

/* Enhanced Feature Cards */
.feature-cards {
    margin-top: -5rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Enhanced Resource Cards */
.resources-section {
    background-color: #F9FAFB;
}

.resources-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    transition: var(--transition-base);
    border: 3px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.resource-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: var(--shadow-lg);
}

.resource-card h3 a {
    text-decoration: none;
    color: #111827;
    transition: var(--transition-base);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: #FEF2F2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper .material-icons {
    color: #DC2626;
    font-size: 24px !important;
}

.resource-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-list li {
    margin-bottom: 0.75rem;
    transition: var(--transition-base);
}

.resource-list li:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

.resource-list li:last-child {
    margin-bottom: 0;
}

.resource-list a {
    text-decoration: none;
    color: #4B5563;
    transition: color 0.2s ease;
}

.resource-list a:hover {
    color: #DC2626;
}

.resource-list .chevron {
    font-size: 20px !important;
    color: #9CA3AF;
}

.resource-list .link-text {
    font-size: 0.95rem;
}

.resource-list a:hover .chevron {
    color: #DC2626;
}

/* Enhanced AI Section */
.ai-section {
    /* background: linear-gradient(135deg, #1a1f2b 0%, #2d3748 100%); */
    background: linear-gradient(135deg, #091d50 0%, #051230 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Add this */
}

.ai-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23fff" fill-opacity="0.05" x="0" y="0" width="100" height="100"/></svg>');
    opacity: 0.05;
    z-index: -1;
    /* Add this */
}

/* Add these new styles */
.ai-section .container {
    position: relative;
    z-index: 2;
}

.site-header,
header {
    position: relative;
    z-index: 10;
}

/* Enhanced Video Section */
.video-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    overflow: hidden;
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.video-thumbnail {
    position: relative;
    background: #f1f5f9;
}

.video-thumbnail img {
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    text-decoration: none;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.play-button {
    font-size: 3rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition-base);
    opacity: 0.9;
}

.video-card:hover .play-button {
    transform: scale(1.1);
    opacity: 1;
}

.video-info {
    background: white;
}

.video-info h3 {
    color: var(--dark-navy);
    transition: var(--transition-base);
    line-height: 1.4;
}

.video-card:hover .video-info h3 {
    color: var(--primary-red);
}

/* Video Card Responsive */
@media (max-width: 768px) {
    .video-info h3 {
        font-size: 1rem;
    }

    .play-button {
        font-size: 2.5rem;
    }
}

/* Enhanced Footer */
.footer {
    /* background: var(--dark-navy); */
    background: #091d50;
    color: white;
    padding: 5rem 0 2rem;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
    /* color: var(--bs-danger); */
    color: white;
}

.footer-subscribe {
    position: relative;
}

.footer-subscribe input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
}

.footer-subscribe input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 1rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.footer-subscribe button:hover {
    background: #b01b33;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom a {
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition-base);
}

.ft-dsc, .ft-newsletter-dsc, .footer-bottom p {
    color: #a0aec0;
}

.footer-bottom a:hover {
    color: white;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-red);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-base);
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    z-index: 1040;
}

.scroll-to-top:hover {
    background: #b01b33;
    transform: translateY(-3px);
}

@media (max-width: 991.98px) {
    .navbar-nav {
        margin: 1rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .btn-ask-ai {
        margin: 1rem 0 0 0;
    }

    .search-container {
        padding: 0 1rem;
    }

    .search-input {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .search-button {
        position: absolute;
        padding: 0 0.75rem;
        font-size: 0.875rem;
        top: 25%;
        right: 10px;
    }

    .feature-cards {
        margin-top: -3rem;
    }

    .feature-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .search-button {
        top: 23%;
        right: 5px;
        padding: 0.25rem 0.5rem;
    }
}

/* Feature Cards Scroll */
.feature-cards-container {
    position: relative;
    padding-bottom: 1rem;
}

.feature-cards-container .d-flex {
    transition: transform 0.3s ease;
}

.feature-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Scroll Buttons */
.scroll-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.scroll-btn.scroll-left-features {
    left: -20px;
}

.scroll-btn.scroll-right-features {
    right: -20px;
}

/* Content Card Styles */
.content-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 2rem;
}

.content-body {
/*    padding: 2rem;*/
}

.content-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.content-excerpt {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

/* No Content Found */
.no-content-found {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    padding: 3rem;
}

.no-content-icon {
    color: var(--primary-red);
    opacity: 0.5;
}

/* Inner Pages Header Styles */
.inner-header {
    background: #fff;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.inner-header.header-hidden {
    transform: translateY(-100%);
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
}

.logo-bg {
    position: absolute;
    inset: 0;
    background: var(--primary-red);
    border-radius: 0.5rem;
    transform: rotate(3deg);
}

.logo-image {
    position: absolute;
    inset: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.brand-section:hover .logo-image {
    transform: scale(1.05);
}

.brand-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(to right, var(--primary-red), #8B0000);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.mobile-search, .search-form {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-search .search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-search .search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    height: 42px;
}

.mobile-search .search-button {
    position: absolute;
    right: 0;
    height: 100%;
    top: 50%;
    padding: 0 1rem;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}



.nav-link {
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-red);
}

.nav-link.active::after {
    width: 100%;
}

/* Category Pills */
.category-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: var(--transition-base);
    text-decoration: none;
}

.category-pill.active {
    background: var(--primary-red);
    color: white;
}

.category-pill:not(.active) {
    background: #f3f4f6;
    color: #374151;
}

.category-pill:not(.active):hover {
    background: #e5e7eb;
}

/* News Cards */
.news-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: var(--transition-base);
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 200px;
    background: #f3f4f6;
    overflow: hidden;
}

.category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    z-index: 1;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: var(--transition-base);
}

.news-card:hover .news-title {
    color: var(--primary-red);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.news-excerpt {
    color: #4b5563;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-red);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-base);
}

.news-card:hover .read-more {
    transform: translateX(4px);
}

/* Sponsored Section */
.sponsored-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sponsored-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.sponsored-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sponsored-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.sponsored-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.sponsored-link:hover {
    text-decoration: underline;
}

/* Container max-width updates */
.container {
    max-width: 1400px;
    width: 95%;
}

/* Pagination Styles */
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

/* Pagination Styles */
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2rem 0;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #6B7280;
    background: transparent;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* Current/Active Page */
.page-numbers.current {
    background-color: #DC2626;
    color: #fff;
}

/* Next button */
.page-numbers.next {
    background-color: #F3F4F6;
    padding: 0 16px;
}

/* Hover states - specific to numbers only */
.page-numbers:not(.next):hover:not(.current) {
    background-color: #F3F4F6;
}

/* Next button hover */
.page-numbers.next:hover {
    background-color: #E5E7EB;
}

/* Hide dots */
.page-numbers.dots {
    display: none;
}

/* Newsletter Form Styling */
.newsletter-widget {
    margin-bottom: 2rem;
}

/* Title styling */
.newsletter-widget .tnp-field-email label {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

/* Input field styling */
.newsletter-widget .tnp-email {
    width: 100% !important;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0.75rem 1rem !important;
    color: #fff !important;
    border-radius: 4px !important;
    height: auto !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
}

.newsletter-widget .tnp-email::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-widget .tnp-email:focus {
    outline: none;
    /* border-color: var(--primary-red) !important; */
    border-color: #a0aec0 !important;
    box-shadow: 0 0 0 0.25rem rgba(225, 225, 225, 0.25);
}

/* Submit button styling */
.newsletter-widget .tnp-submit {
    background-color: var(--primary-red) !important;
    border: none !important;
    color: #fff !important;
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    width: auto !important;
    height: auto !important;
    text-transform: none !important;
    font-weight: normal !important;
}

.newsletter-widget .tnp-submit:hover {
    background-color: #b91c1c !important;
    /* darker red on hover */
}

/* Form layout */
.newsletter-widget .tnp-subscription {
    margin: 0 !important;
    max-width: none !important;
}

.newsletter-widget .tnp-field {
    margin: 0 !important;
}

.newsletter-widget div {
    background: none !important;
}

/* Page Title */
.page-title {
    margin-bottom: 2rem;
}

/* Sidebar */
@media (min-width: 992px) {
    .sidebar {
        position: sticky;
        top: 100px;
        /* Adjust based on header height */
    }
}

/* Header spacer to prevent content jump */
.header-spacer {
    height: var(--header-height, 90px);
    /* Fallback height */
}

.roadblock-ad .countdown-timer {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f8f9fa;
    border-radius: 20px;
    font-size: 0.875rem;
}

.search-title-wrapper {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.search-title-wrapper h1 {
    font-size: 1.75rem;
    line-height: 1.3;
}

.search-title-wrapper .text-danger {
    color: var(--primary-red) !important;
}

.search-title-wrapper p {
    font-size: 0.95rem;
    color: #6b7280;
}

/* Recent News Sidebar Styles */
.list-group-item {
    transition: background-color 0.2s ease;
    padding: 1rem;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item a:hover h4 {
    color: var(--primary-red) !important;
}

.card-header {
    border-bottom: 2px solid #f3f4f6;
}

.card-header h3 {
    position: relative;
    padding-left: 1rem;
}

.card-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--primary-red);
    border-radius: 2px;
}

/* Featured Posts Section */
.featured-posts-section {
    margin-top: -4rem;
    /* margin-bottom: 4rem; */
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .featured-posts-section {
        margin-top: -1rem;
    }
}

.featured-posts-section .card {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-posts-section .card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.featured-posts-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2937;
}

.material-icons {
    font-size: 24px !important;
}

/* Scrollable Container */
.feature-cards-container {
    position: relative;
}

.feature-cards-container .d-flex {
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.feature-cards-container .d-flex::-webkit-scrollbar {
    display: none;
}

/* Card Styles */
.featured-posts-section .card {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-posts-section .card a {
    text-decoration: none;
    color: #4B5563;
    transition: color 0.2s ease;
}

@media (hover: hover) {
    .featured-posts-section .card:hover {
        /* transform: translateY(-5px); */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

.featured-posts-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2937;
}

@media (max-width: 768px) {
    .featured-posts-section h5 {
        font-size: 1rem;
    }

    .featured-posts-section .card-body {
        padding: 1rem;
    }

    .material-icons {
        font-size: 20px !important;
    }
}

/* Scroll Buttons */
.scroll-btn {
    width: 40px;
    height: 40px;
    z-index: 10;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.2s ease;
}

.scroll-btn:hover {
    transform: scale(1.1);
    background: white;
}

.scroll-btn i {
    color: #374151;
}

/* Add padding for scroll buttons on desktop */
@media (min-width: 992px) {
    .feature-cards-container {
        padding: 0 2rem;
    }
}

.lower-footer-menu {
    margin: 0;
    padding: 0;
}

.lower-footer-menu li {
    display: inline-block;
}

.lower-footer-menu a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lower-footer-menu a:hover {
    color: var(--primary-red);
}

@media (max-width: 767px) {
    .lower-footer-menu {
        justify-content: center;
    }
}

/* Contact Page Styles */
.contact-info {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-item .material-icons,
.social-media .material-icons {
    color: #dc3545;
    font-size: 20px;
}

.contact-item a {
    color: #666;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #dc3545;
    text-decoration: none;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #dc3545;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon .material-icons {
    color: #fff;
    font-size: 20px;
}

.social-icon:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

/* Contact Form Styles */
.contact-form-wrapper {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form Elements */
.form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.btn-menu {
    width: 42px;
    height: 42px;
    border: 1px solid #dc3545;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-menu:hover {
    background: rgba(220, 53, 69, 0.08);
}

.btn-menu:active {
    transform: scale(0.95);
}

.btn-menu .bi-list {
    font-size: 32px;
    color: #dc3545;
    /* Your brand red color */
    transition: all 0.3s ease;
}

.btn-menu:hover .bi-list {
    color: #b02a37;
    /* Darker shade of red */
}

/* Add focus state for accessibility */
.btn-menu:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

/* Add touch device optimization */
@media (hover: none) {
    .btn-menu {
        padding: 8px;
    }

    .btn-menu .bi-list {
        font-size: 28px;
    }
}

.category-filters .rounded-pill {
    padding: 8px 20px;
    height: 36px;
    line-height: 1;
}

.sitemap-section {
    margin-bottom: 2rem;
}

.sitemap-section h2 {
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.sitemap-section ul {
    margin-left: 1.5rem;
}

.sitemap-section li {
    margin-bottom: 0.5rem;
}

.sitemap-section a {
    text-decoration: none;
    color: #333;
}

.sitemap-section a:hover {
    color: #007bff;
}

.sitemap-date {
    color: #666;
    font-size: 0.9em;
}

/* Section hover effect */
.section-wrapper {
    transition: all 0.3s ease;
}

.section-wrapper:hover {
    box-shadow: 0 10px 30px rgba(9, 29, 80, 0.2);
    transform: translateY(-5px);
}

/* Read More button hover effect */
.read-more-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.read-more-btn:hover {
    transform: translateX(+5px);
}

.news-gradient-bg {
    background: linear-gradient(135deg, #B13434 0%, #385294 100%);
    transition: all 0.3s ease;
}

.news-gradient-bg:hover {
    background: linear-gradient(135deg, #091d50 0%, #8B0000 100%);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.2);
}

/* Style adjustments for the badge and text */
.news-gradient-bg .badge {
    background: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5em 1em;
    transition: all 0.3s ease;
}

.news-gradient-bg:hover .badge {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.news-gradient-bg h3 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.news-gradient-bg:hover h3 {
    transform: translateY(-2px);
}

/* Comment Form Styles */
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #091d50;
    box-shadow: 0 0 0 0.2rem rgba(9, 29, 80, 0.25);
}

.comment-form a {
    color: var(--primary-red);
    text-decoration: none;
    background: linear-gradient(to bottom, transparent 95%, var(--primary-red) 95%);
    background-size: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}

.comment-form a:hover {
    background-size: 100% 100%;
}

.comment-form .btn:hover {
    opacity: 0.9;
}

.comment-list .comment-body a {
    color: #091d50;
}

.comment-list .reply .btn:hover {
    background-color: #091d50;
    color: white;
    border-color: #091d50;
}

@media (max-width: 576px) {
    .card-body .text-secondary {
        font-size: 0.875rem;
    }

    .card-body .text-secondary i {
        font-size: 0.875rem;
    }

    .card-body .text-secondary>span {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .text-secondary.small {
        font-size: 0.875rem;
    }

    .text-secondary.small i {
        font-size: 0.875rem;
    }
}