/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #800000;
    --secondary-color: #A52A2A;
    --accent-color: #D4AF37;
    --light-color: #F5F5F5;
    --dark-color: #333333;
    --text-color: #444444;
    --gray-light: #E8E8E8;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
}

/* Joomla elements */

.category-desc {
    display: flex;
}

.category-desc img {
    margin: 0 auto;
    padding: 30px 50px;
}

legend {
    display: none;
}

.container-header {
    background-color: #ffffff;
    background-image: none;
}

.container-below-top {
    background-color: #fff;
    background-image: none;
    justify-content: space-around;
}

.container-below-top li {
    color: var(--primary-color); 
}

.container-below-top li:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transition: 0.3ms ease-in;
}

.page-header h2 {
    font-size: 1.3rem;
}

.page-header a {
    text-decoration: none;
    font-size: large;
}

/* End of joomla elements */

/* Default heading styles for regular content */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Main Container */
.main-container {
    width: 100%;
    margin: 0 auto;
}

/* Section Inner Container - FIX FOR CENTERING */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - MENU REMOVED */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
}

.logo-accent {
    color: var(--primary-color);
}

/* Article Section - NEW */
.article-section {
    background-color: var(--light-color);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.featured-article {
    padding: 2rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.article-category {
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.article-date, .article-author {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-date i, .article-author i {
    color: var(--accent-color);
}

.article-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.2;
}

.article-image {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.article-image img:hover {
    transform: scale(1.02);
}

.article-content {
    margin-bottom: 2rem;
}

.article-content h3 {
    margin: 1.5rem 0 0.8rem;
    color: var(--primary-color);
}

.article-intro {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.article-quote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.article-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 600;
    color: var(--secondary-color);
}

.article-list {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style-type: disc;
}

.article-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.article-tag {
    background-color: rgba(128, 0, 0, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.article-tag:hover {
    background-color: var(--primary-color);
    color: white;
}

.article-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.article-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.article-btn:hover {
    background-color: var(--gray-light);
    transform: translateY(-2px);
}

.like-btn:hover {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
}

.share-btn:hover {
    background-color: rgba(33, 150, 243, 0.1);
    color: #1565c0;
}

.save-btn:hover {
    background-color: rgba(255, 193, 7, 0.1);
    color: #f57c00;
}

/* Stats Bar Section */
.stats-bar {
    background: linear-gradient(rgba(128, 0, 0, 0.9), rgba(165, 42, 42, 0.85));
    color: white;
    padding: 2.5rem 0;
    border-bottom: 3px solid var(--accent-color);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    flex: 1;
}

/* Vertical separators between items */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-title {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Responsive Design for Stats Bar */
@media (max-width: 1024px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .stats-container {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 0 0 calc(33.333% - 2rem);
        padding: 0 1rem;
    }
    
    .stat-item:nth-child(3)::after {
        display: none;
    }
    
    .stat-item:nth-child(4),
    .stat-item:nth-child(5) {
        flex: 0 0 calc(50% - 2rem);
    }
    
    .stat-item:nth-child(4)::after {
        display: block;
    }
}

@media (max-width: 480px) {
    .stats-bar {
        padding: 2rem 0;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-item {
        flex: 0 0 100%;
        padding: 0;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stat-item:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: -1rem;
        left: 25%;
        right: 25%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .stats-bar {
        background: linear-gradient(rgba(76, 0, 0, 0.9), rgba(100, 30, 30, 0.85));
    }
}

[data-theme="dark"] .stats-bar {
    background: linear-gradient(rgba(76, 0, 0, 0.9), rgba(100, 30, 30, 0.85));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(128, 0, 0, 0.85), rgba(165, 42, 42, 0.8)), url('/images/assets/images/gallery/13.1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #e6c143;
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Section Styles */
.section {
    padding: 3.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Cards Section */
.card-style-section {
    margin-bottom: 3.5rem;
}

.style-title {
    text-align: center;
    margin-bottom: 1.8rem;
    color: var(--secondary-color);
    font-size: 1.6rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
    margin-bottom: 1rem;
}

.card {
    border-radius: var(--border-radius);
    padding: 1.6rem;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.big-card {
    grid-column: span 3;
}

.small-card {
    grid-column: span 1;
}

/* Modern Card Style - UPDATED */
.card.modern {
    background-color: white;
    border-top: 4px solid var(--primary-color);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
}

.card.modern.expandable {
    cursor: pointer;
}

/* Card Top Section */
.card-top-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Card Logos */
.card-logo {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wide-logo {
    width: 160px;
    height: 80px;
}

.square-logo {
    width: 80px;
    height: 80px;
}

.card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 0.8rem;
}

.card.modern .card-title {
    margin-bottom: 0;
    color: var(--dark-color);
    font-size: 1.4rem;
    text-align: left;
    flex-grow: 1;
}

.card-expand-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.card-expand-btn:hover {
    background-color: rgba(128, 0, 0, 0.1);
}

.card.modern.expanded .card-expand-btn i {
    transform: rotate(45deg);
}

/* Card Intro Text */
.card-intro {
    color: var(--text-color);
    margin-bottom: 0;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Card Expanded Content */
.card-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
}

.card.modern.expanded .card-expanded {
    max-height: 1000px;
    margin-top: 1.5rem;
}

.expanded-content {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.expanded-content p {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.card-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.card-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--gray-light);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-list li:before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.card-list li:last-child {
    border-bottom: none;
}

/* Minimalist Card Style */
.card.minimalist {
    background-color: var(--light-color);
    border: none;
}

.card.minimalist .card-title {
    margin-bottom: 0.9rem;
    color: var(--primary-color);
}

.card.minimalist .card-desc {
    color: var(--text-color);
    margin-bottom: 1.3rem;
    flex-grow: 1;
}

.card.minimalist .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.card.minimalist .card-tag {
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card.minimalist .card-link {
    font-weight: 600;
}

/* Staff Section - REDESIGNED */
.staff-section {
    background-color: var(--light-color);
}

.staff-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.8rem;
}

.staff-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 320px;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.staff-card.expanded {
    height: auto;
    min-height: 500px;
    z-index: 10;
    grid-column: span 2;
    grid-row: span 2;
}

/* Top section with image and name - stays the same when expanded */
.staff-top-section {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.staff-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    background-color: var(--light-color);
    flex-shrink: 0;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.staff-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}

.staff-name {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.staff-expand-btn {
    background-color: var(--primary-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.staff-expand-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.staff-card.expanded .staff-expand-btn i {
    transform: rotate(45deg);
}

/* Expanded Staff Content */
.staff-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: white;
}

.staff-card.expanded .staff-expanded {
    max-height: 1000px;
}

.expanded-content {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.staff-title {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.staff-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--accent-color);
    font-size: 1rem;
}

.classes-section {
    margin-bottom: 1.2rem;
}

.classes-section h5 {
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
}

.classes-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.8rem;
}

.classes-list li {
    padding: 0.4rem 0;
    border-bottom: 1px dashed var(--gray-light);
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

.classes-list li:before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.classes-list li:last-child {
    border-bottom: none;
}

.staff-bio {
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color);
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(128, 0, 0, 0.1);
    color: var(--primary-color);
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
    text-align: center;
}

.external-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Tables Section */
.tables-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.table-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: white;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 0.9rem 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.table-header:hover {
    background-color: var(--secondary-color);
}

/* White heading for table titles on red background */
.table-header .table-title {
    margin: 0;
    font-size: 1.3rem;
    color: white;
}

.table-toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.table-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.table-content {
    max-height: 1000px;
    overflow-x: auto;
    transition: max-height 0.5s ease;
}

.table-content p {
    padding: 20px 10px;
}

.table-wrapper.collapsed .table-content {
    max-height: 0;
}

.table-wrapper.collapsed .table-toggle-btn i {
    transform: rotate(-90deg);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.data-table thead {
    background-color: var(--light-color);
}

.data-table th {
    padding: 0.9rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 2px solid var(--gray-light);
    font-size: 0.9rem;
}

.data-table td {
    padding: 0.9rem;
    border-bottom: 1px solid var(--gray-light);
}

.data-table tbody tr:hover {
    background-color: rgba(128, 0, 0, 0.03);
}

.small-table {
    max-width: 600px;
    margin: 0 auto;
}

.large-table {
    overflow: hidden;
}

.table-scroll {
    overflow-x: auto;
}

.status-open, .status-completed {
    background-color: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-closed {
    background-color: rgba(244, 67, 54, 0.15);
    color: #d32f2f;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-inprogress {
    background-color: rgba(33, 150, 243, 0.15);
    color: #1565c0;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.15);
    color: #f57c00;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Carousel Section - DOTS REMOVED */
.carousel-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.carousel {
    position: relative;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1.5rem;
}

.slide-caption h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.slide-caption p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: white;
    color: var(--secondary-color);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 0;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 500;
    width: 90%;
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: var(--transition);
    font-weight: 300;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-question:hover .faq-toggle {
    background-color: rgba(128, 0, 0, 0.1);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 1.3rem 0;
    margin: 0;
    font-size: 0.95rem;
}

/* Footer - COMPACT VERSION */
.site-footer {
    background-color: var(--dark-color);
    color: #ddd;
    padding-top: 2.5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.footer-title {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0 !important;
}



.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #bbb;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    color: #bbb;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--accent-color);
    font-size: 1rem;
    width: 18px;
}

.social-media {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ddd;
    transition: var(--transition);
    font-size: 0.95rem;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin-top: 2.5rem;
}

/* White headings for all elements on red backgrounds */
.table-header h1,
.table-header h2,
.table-header h3,
.table-header h4,
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content h4,
.slide-caption h1,
.slide-caption h2,
.slide-caption h3,
.slide-caption h4 {
    color: white !important;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .container-below-top {
        justify-content: flex-start;
    }

    .container-header .navbar-toggler {
        color: var(--primary-color);
    }
    
    .big-card, .small-card {
        grid-column: span 1;
    }
    
    .staff-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .staff-card.expanded {
        grid-column: span 2;
    }
    
    .footer-container {
        gap: 2rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-image img {
        height: 350px;
    }
}

@media (max-width: 768px) {

    .container-below-top {
        justify-content: flex-start;
    }

    .container-header .navbar-toggler {
        color: var(--primary-color);
    }

    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slide img {
        height: 350px;
    }
    
    .slide-caption {
        padding: 1.2rem;
    }
    
    .slide-caption h3 {
        font-size: 1.2rem;
    }
    
    .staff-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .staff-card {
        height: 300px;
    }
    
    .staff-card.expanded {
        grid-column: 1 / -1;
        min-height: 550px;
    }
    
    .staff-image {
        width: 120px;
        height: 120px;
    }
    
    .staff-name {
        font-size: 1.1rem;
    }
    
    .staff-details {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .article-title {
        font-size: 1.6rem;
    }
    
    .article-image img {
        height: 280px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .card.modern .card-title {
        font-size: 1.2rem;
    }
    
    .card-intro {
        font-size: 0.9rem;
    }
    
    .wide-logo {
        width: 120px;
        height: 60px;
    }
    
    .square-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-section {
        padding: 2.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .table-scroll {
        font-size: 0.9rem;
    }
    
    .slide img {
        height: 250px;
    }
    
    .slide-caption {
        padding: 1rem;
    }
    
    .slide-caption h3 {
        font-size: 1.1rem;
    }
    
    .slide-caption p {
        font-size: 0.95rem;
    }
    
    .staff-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .staff-card {
        height: 260px;
    }
    
    .staff-image {
        width: 100px;
        height: 100px;
    }
    
    .staff-name {
        font-size: 1rem;
    }
    
    .expanded-content {
        padding: 1rem;
    }
    
    .staff-title {
        font-size: 1rem;
    }
    
    .classes-section h5 {
        font-size: 0.95rem;
    }
    
    .classes-list li {
        font-size: 0.85rem;
    }
    
    .staff-bio {
        font-size: 0.85rem;
    }
    
    .external-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    .site-footer {
        padding-top: 2rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .article-title {
        font-size: 1.4rem;
    }
    
    .article-image img {
        height: 200px;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .article-actions {
        flex-wrap: wrap;
    }
    
    .card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .card.modern .card-title {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .card-expand-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .card-intro {
        text-align: center;
    }
}