body {
    background-color: #F8F5F0 !important;
}

.t1 {
    background-color: #ffffff;
}

.t2 {
    color: #FF3121;
}


.t3 {
    background: #fe4344;
    border: 0px;
    border-radius: 0px;
    color: white !important;
    padding: 10px;
    text-align: center;
}

.t4 {
    font-weight: 600 !important;
    background: #fe4344 !important;
    color: #ffffff !important;
    border: none !important;
}

.t4:hover {
    font-weight: 600 !important;
    background: #fe4344 !important;
    color: #ffffff !important;
    border: none !important;
}

article a.text-dark:hover {
    color: #FF3121 !important;
    transition: color 0.3s ease;
}

.hover-badge:hover {
    background-color: #212529 !important;
    color: #fff !important;
    transition: all 0.3s ease;
    cursor: pointer;
}


.category-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header .icon {
    font-size: 40px;
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-body p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}

.article-count {
    font-size: 13px;
    color: #3B82F6;
    font-weight: 500;
}



.category-item {
    display: flex;
    align-items: center;
    padding: 6px 0px;
    gap: 0px;
    transition: all 0.2s;
    border-radius: 8px;
    background-color: #F8F5F0 !important;
    margin-bottom: 10px;
}

.category-item:hover {
    background: rgba(46, 204, 113, 0.05);
    /* Finance green */
    border-left: 4px solid #FF3121;
    transform: translateX(4px);
}

.category-icon {
    font-size: 22px;
    padding: 13px 15px 30px 0px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.category-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-info p {
    font-size: 14px;
    color: #6B7280;
}


.article-meta .author {
    color: #374151;
    /* Dark gray */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.article-meta .author:hover {
    color: #4A8B8B;
    /* Logo teal */
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Optional: Subtle underline on hover */
.article-meta .author::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4A8B8B;
    transition: width 0.2s;
}

.article-meta .author:hover::after {
    width: 100%;
}

.news-content {font-size: large;}


footer {
    background-color: #f8f9fa;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-brand {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #495057;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.social-icons a {
    color: #000;
    font-size: 1.5rem;
    margin-right: 20px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid #dee2e6;
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-brand {
        margin-bottom: 30px;
    }

    .footer-section {
        margin-bottom: 30px;
    }

    .social-icons {
        margin-top: 30px;
    }
}



/* Design 3: Elevated Card Style */
.search-elevated {
    position: relative;
    max-width: 450px;
}

.search-elevated .search-wrapper {
    background: white;
    border-radius: 12px;

    display: flex;
    align-items: center;
    padding: 5px;
    transition: all 0.3s ease;
}

.search-elevated .search-wrapper:hover {}

.search-elevated input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.search-elevated button {
    background: #ff4444;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-elevated button:hover {
    background: #e63333;
}



.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: 1px solid #002958;
    color: #000000;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 999999;
    background: white;
}

.scroll-top-btn:hover {
    border: 1px solid #002958;
    color: #000000;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.scroll-top-btn.show {
    display: flex;
}



.form-container {
    width: 100%;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 14px;
}

.required {
    color: #e53e3e;
}

input,
textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }
}


     .pagination-container {
            display: flex;
            justify-content: flex-start;
            margin-top: 30px;
        }
        
        .pagination {
            margin: 0;
        }
        
        .page-item {
            margin: 0 1px;
        }
        
        .page-link {
            color: #666;
            background-color: #e8e8e8;
            border: 1px solid #e8e8e8;
            padding: 8px 12px;
            border-radius: 4px;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.2s ease;
        }
        
        .page-link:hover {
            color: #333;
            background-color: #d4d4d4;
            border-color: #d4d4d4;
        }
        
        .page-item.active .page-link {
            background-color: #333;
            border-color: #333;
            color: white;
        }
        
        .page-item.active .page-link:hover {
            background-color: #333;
            border-color: #333;
            color: white;
        }
        
        .page-item.disabled .page-link {
            color: #999;
            background-color: #f0f0f0;
            border-color: #f0f0f0;
            cursor: not-allowed;
        }



        