/* ===== TECH BOLD DESIGN - Color Palette ===== */
:root {
    --navy-deep: #0A1929;
    --blue-electric: #00B4D8;
    --blue-light: #90E0EF;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    background: #f0f2f5;
}

.clear {
    clear: both;
}

/* ===== Navigation ===== */
.navbar {
    background: var(--navy-deep) !important;
    padding: 1.5rem 0 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none !important;
    margin-bottom: 0 !important;
}

.navbar-brand {
    font-size: 2rem !important;
    font-weight: 900 !important;
    color: var(--white) !important;
    letter-spacing: 0.5px;
    margin-right: 3rem !important;
    padding-right: 2rem !important;
    border-right: 3px solid var(--blue-electric);
    position: relative;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--blue-electric);
    transition: width 0.3s ease;
}

.navbar-brand:hover::before {
    width: 80%;
}

.navbar-brand:hover {
    color: var(--blue-electric) !important;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px !important;
}

.nav-link:hover {
    color: var(--blue-electric) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-electric), var(--blue-light));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== Header Images ===== */
.headerimage {
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.headerimage img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Container ===== */
.container-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ===== Typography ===== */
.banner-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.banner-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--blue-electric);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--navy-deep);
    font-weight: 700;
}

/* ===== Content Sections ===== */
.content-introtext {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.content-introtext a {
    color: var(--blue-electric);
    text-decoration: none;
    font-weight: 600;
}

.content-introtext a:hover {
    text-decoration: underline;
}

.section-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--blue-electric), var(--blue-light), transparent);
    margin: 3rem 0;
    border-radius: 2px;
}

/* ===== Lists & Cards ===== */
.list-group {
    margin-top: 1.5rem;
}

.list-group ul {
    list-style-type: none;
    padding-left: 0;
}

.list-group li {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--white);
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.list-group li:hover {
    border-color: var(--blue-electric);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.15);
    transform: translateY(-2px);
}

.list-group a {
    color: var(--navy-deep);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
}

.list-group a:hover {
    color: var(--blue-electric);
}

.list-group small {
    color: var(--blue-electric);
    font-weight: 600;
    display: block;
    margin-top: 0.25rem;
}

/* ===== Blog & Speaking Engagement Styles ===== */
.datecontent-table {
    margin-bottom: 1rem;
}

/* ===== Panel Styles (for About page) ===== */
.panel {
    background: var(--white);
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.panel-heading {
    background: var(--navy-deep);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 6px 6px 0 0;
}

.panel-body {
    padding: 1.5rem;
}

.panel-default {
    border-color: #e9ecef;
}

.panel-info {
    border-color: var(--blue-electric);
}

.panel-info .panel-heading {
    background: var(--blue-electric);
}

/* ===== About Page Styles ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-card {
    background: var(--white);
    border: 1px solid #dde1e6;
    border-radius: 8px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.about-card:hover {
    border-color: var(--blue-electric);
    box-shadow: 0 6px 16px rgba(0, 180, 216, 0.15);
}

.about-card .card-header-section {
    background: linear-gradient(135deg, var(--navy-deep) 0%, #0d2138 100%);
    padding: 1.25rem 1.5rem;
    border-bottom: 3px solid var(--blue-electric);
}

.about-card .card-header-section h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-card .card-header-section i {
    color: var(--blue-electric);
    font-size: 1.5rem;
}

.contact-links,
.info-links {
    padding: 1.5rem;
}

.contact-link,
.info-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--navy-deep);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-link:last-child,
.info-link:last-child {
    margin-bottom: 0;
}

.contact-link i,
.info-link i {
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}

.contact-link:hover,
.info-link:hover {
    background: var(--gray-light);
    border-color: var(--blue-electric);
    color: var(--blue-electric);
    transform: translateX(8px);
}

.contact-link:hover i,
.info-link:hover i {
    transform: scale(1.1);
}

.contact-link[href*="linkedin"] i {
    color: #0077B5;
}

.contact-link[href*="github"] i {
    color: #333;
}

.info-link i {
    color: var(--blue-electric);
}

/* ===== Footer ===== */
.footer {
    background: var(--navy-deep);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
    border: none;
}

.footer a {
    color: var(--blue-electric);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ===== Page Header ===== */
.page-header {
    margin-bottom: 3rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rss-link {
    color: var(--blue-electric);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.rss-link:hover {
    color: var(--navy-deep);
    transform: scale(1.1);
}

/* ===== Blog Grid ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid #dde1e6;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.blog-card:hover {
    border-color: var(--blue-electric);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.18);
    transform: translateY(-4px);
}

.blog-card .card-header {
    margin-bottom: 1rem;
}

.blog-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.blog-card .card-title a {
    color: var(--navy-deep);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .card-title a:hover {
    color: var(--blue-electric);
}

.blog-card .card-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-card .card-meta .date,
.blog-card .card-meta .location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card .card-meta i {
    color: var(--blue-electric);
}

.blog-card .card-excerpt {
    flex: 1;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.6;
}

.blog-card .card-excerpt p {
    margin: 0;
}

.blog-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-card .tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--blue-light);
    color: var(--navy-deep);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-card .tag:hover {
    background: var(--blue-electric);
    color: var(--white);
}

.blog-card .card-footer {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.blog-card .read-more {
    color: var(--blue-electric);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-card .read-more:hover {
    color: var(--navy-deep);
}

.blog-card .read-more i {
    transition: transform 0.3s ease;
}

.blog-card .read-more:hover i {
    transform: translateX(4px);
}

/* ===== Speaking Engagement Grid ===== */
.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ===== Filter Section ===== */
.filter-section {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-toggle {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid #dde1e6;
    border-radius: 8px;
    color: var(--navy-deep);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.filter-toggle:hover {
    border-color: var(--blue-electric);
    color: var(--blue-electric);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filter-toggle.active {
    background: var(--blue-electric);
    border-color: var(--blue-electric);
    color: white;
}

.filter-toggle i {
    font-size: 1.1rem;
}

.filter-wrapper {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #dde1e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-icon {
    position: absolute;
    left: 1rem;
    color: var(--blue-electric);
    font-size: 1.2rem;
    pointer-events: none;
}

.filter-input {
    flex: 1;
    padding: 0.75rem 3rem 0.75rem 3rem;
    font-size: 1rem;
    border: 2px solid #dde1e6;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--gray-light);
}

.filter-input:focus {
    outline: none;
    border-color: var(--blue-electric);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.clear-filter {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.clear-filter:hover {
    color: var(--navy-deep);
    transform: scale(1.1);
}

.filter-results {
    margin-top: 1rem;
    padding: 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

/* ===== Search Page ===== */
.search-section {
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #dde1e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--blue-electric);
    font-size: 1.3rem;
    pointer-events: none;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem 1rem 3.5rem;
    font-size: 1.1rem;
    border: 2px solid #dde1e6;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--gray-light);
}

.search-input:focus {
    outline: none;
    border-color: var(--blue-electric);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.search-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--blue-electric);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-button:hover {
    background: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-button i {
    font-size: 1.2rem;
}

.search-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-label {
    font-weight: 600;
    color: var(--navy-deep);
    font-size: 0.95rem;
}

.filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-option {
    position: relative;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid #dde1e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filter-option:hover {
    border-color: var(--blue-electric);
}

.filter-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 2;
    margin: 0;
}

.checkbox-custom {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #dde1e6;
    border-radius: 4px;
    background: var(--gray-light);
    transition: all 0.3s ease;
    flex-shrink: 0;
    pointer-events: none;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-option input[type="checkbox"]:checked ~ .checkbox-custom {
    background: var(--blue-electric);
    border-color: var(--blue-electric);
}

.filter-option input[type="checkbox"]:checked ~ .checkbox-custom::after {
    display: block;
}

.filter-option input[type="checkbox"]:checked ~ .option-text {
    color: var(--blue-electric);
    font-weight: 600;
}

.filter-option .option-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--navy-deep);
    transition: all 0.3s ease;
}

.filter-option .option-text i {
    font-size: 1.1rem;
}

/* Search Results */
.search-results {
    margin-top: 2rem;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #dde1e6;
}

.no-results i {
    font-size: 4rem;
    color: #dde1e6;
    margin-bottom: 1rem;
}

.no-results h3 {
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #6c757d;
}

.results-header {
    margin-bottom: 2rem;
}

.results-header h3 {
    color: var(--navy-deep);
    font-weight: 700;
    font-size: 1.5rem;
}

.results-section {
    margin-bottom: 3rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--navy-deep);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--blue-electric);
}

.section-title i {
    color: var(--blue-electric);
    font-size: 1.5rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.result-card {
    background: white;
    border: 1px solid #dde1e6;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.result-card:hover {
    border-color: var(--blue-electric);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.result-type {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}

.blog-result .result-type {
    background: rgba(0, 180, 216, 0.1);
    color: var(--blue-electric);
}

.engagement-result .result-type {
    background: rgba(10, 25, 41, 0.1);
    color: var(--navy-deep);
}

.result-type i {
    font-size: 1rem;
}

.result-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.result-title a {
    color: var(--navy-deep);
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-title a:hover {
    color: var(--blue-electric);
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.result-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.result-meta i {
    color: var(--blue-electric);
}

.result-excerpt {
    color: #4a5568;
    line-height: 1.6;
}

.result-excerpt p {
    margin: 0;
}

.result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.result-tags .tag {
    padding: 0.4rem 0.8rem;
    background: var(--gray-light);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--navy-deep);
    font-weight: 500;
}

.engagement-card {
    background: var(--white);
    border: 1px solid #dde1e6;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.engagement-card:hover {
    border-color: var(--blue-electric);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.18);
    transform: translateY(-4px);
}

.engagement-card .card-header {
    margin-bottom: 1rem;
}

.engagement-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.engagement-card .card-title a {
    color: var(--navy-deep);
    text-decoration: none;
    transition: color 0.3s ease;
}

.engagement-card .card-title a:hover {
    color: var(--blue-electric);
}

.engagement-card .card-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.engagement-card .card-meta .date,
.engagement-card .card-meta .location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.engagement-card .card-meta i {
    color: var(--blue-electric);
}

.engagement-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.engagement-card .tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--blue-light);
    color: var(--navy-deep);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.engagement-card .tag:hover {
    background: var(--blue-electric);
    color: var(--white);
}

.engagement-card .card-footer {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.engagement-card .read-more {
    color: var(--blue-electric);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.engagement-card .read-more:hover {
    color: var(--navy-deep);
}

.engagement-card .read-more i {
    transition: transform 0.3s ease;
}

.engagement-card .read-more:hover i {
    transform: translateX(4px);
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* ===== Back Link ===== */
.back-link {
    margin-bottom: 2rem;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue-electric);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-link a:hover {
    color: var(--navy-deep);
}

.back-link a i {
    transition: transform 0.3s ease;
}

.back-link a:hover i {
    transform: translateX(-4px);
}

/* ===== Blog Detail Page ===== */
.blog-detail {
    max-width: 900px;
    margin: 0 auto;
}

.blog-detail .header-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-detail .header-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-detail .blog-header {
    margin-bottom: 3rem;
}

.blog-detail .blog-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-detail .blog-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #666;
}

.blog-detail .blog-meta .date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-detail .blog-meta i {
    color: var(--blue-electric);
    font-size: 1.1rem;
}

.blog-detail .blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.blog-detail .blog-tags .tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--blue-light);
    color: var(--navy-deep);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-detail .blog-excerpt {
    padding: 1.5rem;
    background: var(--gray-light);
    border-left: 4px solid var(--blue-electric);
    border-radius: 4px;
    margin-bottom: 2rem;
}

.blog-detail .blog-excerpt p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
}

.blog-detail .blog-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
}

.blog-detail .blog-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-detail .blog-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-detail .blog-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-detail .blog-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-deep);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-detail .blog-content p {
    margin-bottom: 1.25rem;
}

.blog-detail .blog-content a {
    color: var(--blue-electric);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-detail .blog-content a:hover {
    border-bottom-color: var(--blue-electric);
}

.blog-detail .blog-content ul,
.blog-detail .blog-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.blog-detail .blog-content li {
    margin-bottom: 0.5rem;
}

.blog-detail .blog-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--gray-light);
    border-left: 4px solid var(--blue-electric);
    border-radius: 4px;
}

.blog-detail .blog-content code {
    background: var(--gray-light);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--navy-deep);
}

.blog-detail .blog-content pre {
    background: var(--navy-deep);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-detail .blog-content pre code {
    background: transparent;
    color: var(--white);
    padding: 0;
}

.blog-detail .additional-images {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e9ecef;
}

.blog-detail .additional-images h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 2rem;
}

.blog-detail .image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-detail .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-detail .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-detail .blog-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.blog-detail .back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--blue-electric);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.blog-detail .back-button:hover {
    background: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.blog-detail .back-button i {
    transition: transform 0.3s ease;
}

.blog-detail .back-button:hover i {
    transform: translateX(-4px);
}

/* ===== Speaking Engagement Detail Page ===== */
.engagement-detail {
    max-width: 900px;
    margin: 0 auto;
}

.engagement-detail .engagement-header {
    margin-bottom: 3rem;
}

.engagement-detail .engagement-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.engagement-detail .engagement-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #666;
}

.engagement-detail .engagement-meta .date,
.engagement-detail .engagement-meta .location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.engagement-detail .engagement-meta i {
    color: var(--blue-electric);
    font-size: 1.1rem;
}

.engagement-detail .engagement-link {
    margin-bottom: 1.5rem;
}

.engagement-detail .engagement-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue-electric);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.engagement-detail .engagement-link a:hover {
    text-decoration: underline;
}

.engagement-detail .engagement-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.engagement-detail .engagement-topics .tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--blue-light);
    color: var(--navy-deep);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.engagement-detail .engagement-files {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: 8px;
}

.engagement-detail .engagement-files h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.engagement-detail .engagement-files h3 i {
    color: var(--blue-electric);
}

.engagement-detail .file-list {
    list-style: none;
    padding: 0;
}

.engagement-detail .file-list li {
    margin-bottom: 0.75rem;
}

.engagement-detail .file-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue-electric);
    text-decoration: none;
    font-weight: 600;
}

.engagement-detail .file-list a:hover {
    text-decoration: underline;
}

.engagement-detail .engagement-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
}

.engagement-detail .engagement-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 1.5rem;
}

.engagement-detail .engagement-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.engagement-detail .engagement-content p {
    margin-bottom: 1.25rem;
}

.engagement-detail .engagement-content a {
    color: var(--blue-electric);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.engagement-detail .engagement-content a:hover {
    border-bottom-color: var(--blue-electric);
}

.engagement-detail .engagement-photos {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e9ecef;
}

.engagement-detail .engagement-photos h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 2rem;
}

.engagement-detail .photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.engagement-detail .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.engagement-detail .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.engagement-detail .engagement-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.engagement-detail .back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--blue-electric);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.engagement-detail .back-button:hover {
    background: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.engagement-detail .back-button i {
    transition: transform 0.3s ease;
}

.engagement-detail .back-button:hover i {
    transform: translateX(-4px);
}

/* ===== Home Page ===== */
.home-header {
    margin-bottom: 3rem;
}

.header-with-profile {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--blue-electric);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.2);
    flex-shrink: 0;
}

.header-text {
    flex: 1;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.home-section {
    background: var(--white);
    border: 1px solid #dde1e6;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.home-section:hover {
    border-color: var(--blue-electric);
    box-shadow: 0 6px 16px rgba(0, 180, 216, 0.15);
}

.home-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--blue-electric);
}

.home-section .section-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin: 0;
}

.home-section .rss-icon {
    color: var(--blue-electric);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.home-section .rss-icon:hover {
    color: var(--navy-deep);
    transform: scale(1.1);
}

.compact-list {
    margin-bottom: 1.25rem;
}

.compact-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.compact-item:last-child {
    border-bottom: none;
}

.compact-item .item-title {
    color: var(--navy-deep);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
    transition: color 0.3s ease;
}

.compact-item .item-title:hover {
    color: var(--blue-electric);
}

.compact-item .item-date {
    color: #666;
    font-size: 0.875rem;
    white-space: nowrap;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue-electric);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--navy-deep);
}

.view-all-link i {
    transition: transform 0.3s ease;
}

.view-all-link:hover i {
    transform: translateX(4px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .banner-heading {
        font-size: 2rem;
    }
    
    .container-content {
        padding: 2rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem !important;
        margin-right: 1rem !important;
        padding-right: 1rem !important;
        border-right-width: 2px;
    }
    
    .blog-grid,
    .engagement-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card,
    .engagement-card {
        padding: 1.25rem;
    }
    
    .blog-detail .blog-title,
    .engagement-detail .engagement-title {
        font-size: 2rem;
    }
    
    .blog-detail .blog-content,
    .engagement-detail .engagement-content {
        font-size: 1rem;
    }
    
    .blog-detail .image-gallery,
    .engagement-detail .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .home-grid {
        grid-template-columns: 1fr;
    }
    
    .header-with-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .compact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ===================================
   ADMIN SECTION STYLES
   =================================== */

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.admin-card {
    background: white;
    border: 1px solid #dde1e6;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.admin-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.admin-card-icon {
    font-size: 2.5rem;
    color: var(--blue-electric);
    margin-bottom: 1rem;
}

.admin-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

.admin-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.admin-card-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #dde1e6;
    background: white;
    color: var(--navy-deep);
}

.btn-admin:hover {
    background: var(--gray-light);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-admin-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--blue-electric);
    color: white;
    border: 1px solid var(--blue-electric);
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-admin-primary:hover {
    background: #0096b8;
    border-color: #0096b8;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Admin page header layout */
.page-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header .header-content .banner-heading {
    margin-bottom: 0;
}

/* Admin Tables */
.admin-table {
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--gray-light);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--navy-deep);
    border-bottom: 2px solid #dde1e6;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid #dde1e6;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

.admin-table .action-buttons {
    display: flex;
    gap: 0.5rem;
}

.admin-table .action-buttons a,
.admin-table .action-buttons button {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.admin-table .action-buttons .btn-view {
    color: var(--blue-electric);
    border: 1px solid var(--blue-electric);
}

.admin-table .action-buttons .btn-view:hover {
    background: var(--blue-electric);
    color: white;
}

.admin-table .action-buttons .btn-edit {
    color: #0d6efd;
    border: 1px solid #0d6efd;
}

.admin-table .action-buttons .btn-edit:hover {
    background: #0d6efd;
    color: white;
}

/* Admin Forms */
.admin-form {
    background: white;
    border: 1px solid #dde1e6;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.admin-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-form .form-label {
    display: block;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

.admin-form .text-muted {
    font-size: 0.875rem;
    color: #6c757d;
    display: block;
    margin-top: 0.25rem;
}

.admin-form .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dde1e6;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.admin-form .form-control:focus {
    outline: none;
    border-color: var(--blue-electric);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.admin-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.admin-form .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dde1e6;
}

.admin-form .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--blue-electric);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-form .btn-submit:hover {
    background: #0096b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.admin-form .btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: white;
    color: var(--navy-deep);
    border: 1px solid #dde1e6;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-form .btn-cancel:hover {
    background: var(--gray-light);
}

.admin-form .current-image {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 6px;
}

.admin-form .current-image img {
    max-width: 300px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.admin-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-form .checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Admin Alerts */
.alert-success {
    background: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.alert-success strong {
    font-weight: 600;
}

/* Image Preview */
.image-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 6px;
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.copy-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--blue-electric);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background: #0096b8;
}

/* Admin Responsive */
@media (max-width: 768px) {
    .admin-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-form .form-actions {
        flex-direction: column;
    }
    
    .admin-form .btn-submit,
    .admin-form .btn-cancel {
        width: 100%;
        justify-content: center;
    }
}