body {
    font-family: 'Helvetica', Arial, sans-serif;
    background-color: #f8f9fa;
}

h1,
h2 {
    font-family: 'PT Serif', serif;
    color: #10316b;
}

h1 {
    margin-bottom: 30px;
    border-bottom: 2px solid #d93d04;
    display: inline-block;
    padding-bottom: 10px;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: opacity 0.3s;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.card-title {
    color: #d93d04;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.card-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.btn-wrapper {
    margin-top: auto;
}

.btn-cat {
    background-color: #2b5797 !important;
    color: white !important;
    border: 1px solid #2b5797;
    border-radius: 20px;
    padding: 8px 25px;
    font-size: 0.9rem;
    margin-right: 5px;
    margin-bottom: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.btn-cat:hover {
    background-color: #ffffff !important;
    color: #2b5797 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-sub {
    background-color: #e9ecef;
    color: #10316b;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 15px;
    text-decoration: none;
    display: inline-block;
    margin-right: 3px;
    margin-bottom: 3px;
    transition: all 0.2s;
}

.btn-sub:hover {
    background-color: #10316b;
    color: white;
}

/* Intro Section */
.intro-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    text-align: center;
}

.intro-box p {
    font-size: 1.1rem;
    color: #444;
    max-width: 800px;
    margin: 0 auto 1rem auto;
}

/* Toggle Button Logic */
.intro-toggle-btn[aria-expanded="true"] .text-expand {
    display: none;
}

.intro-toggle-btn[aria-expanded="false"] .text-collapse {
    display: none;
}

/* Visual Feedback (Red when expanded, Blue when collapsed) */
.intro-toggle-btn[aria-expanded="true"] {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
}

.intro-toggle-btn[aria-expanded="false"] {
    background-color: #2b5797 !important;
    /* Default Blue */
}