/* Custom styles for African Divine Church website */

/* General styles */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
}

body {
    font-family: 'Source Sans Pro', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #363636;
    background-color: #F8F8F0;
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
}

.content-area {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Crimson Text', Georgia, serif;
}

a {
    color: #03466e;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #01334f;
    text-decoration: none;
}

.btn-primary {
    background-color: #03466e;
    border-color: #03466e;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #01334f;
    border-color: #01334f;
}

.btn-outline-primary {
    color: #03466e;
    border-color: #03466e;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: #03466e;
    border-color: #03466e;
}

/* Header styles */
.header-container {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #03466e;
    color: white;
}

/* Navigation styles */
.navigation-link {
    position: relative;
}

.navigation-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #ffc369;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navigation-link:hover::after {
    width: 80%;
}

/* Card styles */
.card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
}

/* Footer styles */
footer {
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
}

footer * {
    box-sizing: border-box;
}

footer a {
    color: #E8E8E0;
}

footer a:hover {
    color: #FFFFFF;
}

/* Breadcrumb styles */
.breadcrumb-item + .breadcrumb-item::before {
    content: "|";
    color: rgba(255, 255, 255, 0.5);
    padding: 0 10px;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navigation-menu {
        flex-direction: column;
    }
    
    .navigation-link {
        padding: 10px 15px;
    }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #ffc369;
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #03466e;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* Chatbot styles */
.chat-container {
    background-color: #f9f9f9;
    border-radius: 8px;
}

.bot-avatar, .user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
}

.user-avatar {
    background-color: #03466e;
    color: white;
}

.bot-response, .user-response {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    word-wrap: break-word;
}

/* Hero section styles */
.hero-section {
    background: linear-gradient(135deg, #03466e, #01334f);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    background-size: 100px 100px;
    z-index: 0;
}

.hero-title, .hero-description {
    position: relative;
    z-index: 1;
}

/* Sticky navigation */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Form styles */
.form-control:focus {
    border-color: #03466e;
    box-shadow: 0 0 0 0.25rem rgba(3, 70, 110, 0.25);
}

/* Table styles */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background-color: #03466e;
    color: white;
    border: none;
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Notification styles */
.notification {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Map container styles */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 70, 110, 0.3);
    z-index: 1;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Address card styles */
.address-card {
    background: linear-gradient(135deg, #F8F8F0, #ffffff);
    border: 2px solid #ffc369;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.address-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: #ffc369;
}

.address-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ffc369, #03466e);
}

.address-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.address-item:last-child {
    margin-bottom: 0;
}

.address-item i {
    color: #ffc369;
    margin-right: 12px;
    font-size: 18px;
    margin-top: 2px;
    background-color: rgba(255, 195, 105, 0.1);
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-text {
    color: #363636;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

/* Topbar icon colors */
.topbar-menu-item .fas {
    color: #ffc369;
}

/* 
============================================================================
   CHURCH WEBSITE INTEGRATION STYLES
   ============================================================================ */

/* Theme Colors */
:root {
    --church-red: #8B0000;
    --church-green: #006400;
    --church-light-red: rgba(139, 0, 0, 0.1);
    --church-light-green: rgba(0, 100, 0, 0.1);
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, var(--church-red) 0%, var(--church-green) 100%);
    color: white;
    min-height: 400px;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    background-size: 100px 100px;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.hero-icon {
    font-size: 120px;
    color: white;
    opacity: 0.9;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.hero-section .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.hero-section .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.hero-section .breadcrumb-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-section .breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.hero-section .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.hero-section .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
    padding: 0 10px;
}

/* Data Table Styles */
.data-table-wrapper {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.table-search {
    flex: 1;
    min-width: 250px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.table-filter {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-width: 150px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background-color: var(--church-green);
    color: white;
}

.data-table thead th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border: none;
}

.data-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.data-table tbody tr:nth-child(odd) {
    background-color: var(--church-light-red);
}

.data-table tbody tr:nth-child(even) {
    background-color: var(--church-light-green);
}

.data-table tbody tr:hover {
    background-color: rgba(0, 100, 0, 0.2);
}

.data-table tbody td {
    padding: 12px 15px;
}

.table-pagination {
    margin-top: 20px;
}

/* Canvas Card Styles */
.canvas-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.canvas-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.canvas-card .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.canvas-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.canvas-card:hover .card-image img {
    transform: scale(1.05);
}

.canvas-card .card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.canvas-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--church-red);
}

.canvas-card .card-description {
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

.canvas-card .card-meta {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 15px;
}

.canvas-card .btn {
    margin-top: auto;
}

/* Content Block Styles */
.content-block {
    margin: 30px 0;
}

.paragraph-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #363636;
}

.heading-block h2,
.heading-block h3,
.heading-block h4,
.heading-block h5,
.heading-block h6 {
    color: var(--church-red);
    margin-bottom: 15px;
}

.image-block {
    text-align: center;
}

.image-block .figure {
    margin: 0;
}

.image-block .figure-img {
    max-width: 100%;
    height: auto;
}

.image-block .figure-caption {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

.gallery-block .row {
    margin: 0 -10px;
}

.gallery-block .row > div {
    padding: 0 10px;
    margin-bottom: 20px;
}

.gallery-block img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-block img:hover {
    transform: scale(1.05);
}

.video-block {
    margin: 30px 0;
}

.quote-block {
    background-color: var(--church-light-green);
    border-left: 4px solid var(--church-green);
    padding: 20px 30px;
    border-radius: 5px;
}

.quote-block .blockquote {
    margin: 0;
}

.quote-block .blockquote p {
    font-size: 1.25rem;
    font-style: italic;
    color: #363636;
}

.quote-block .blockquote-footer {
    color: #666;
}

.cta-block {
    padding: 40px 0;
}

.html-block {
    padding: 20px 0;
}

.divider-block hr {
    border: none;
    border-top: 2px solid var(--church-green);
    opacity: 0.3;
}

.tabs-block .nav-tabs {
    border-bottom: 2px solid var(--church-green);
}

.tabs-block .nav-link {
    color: var(--church-red);
    border: none;
    border-bottom: 3px solid transparent;
}

.tabs-block .nav-link.active {
    color: var(--church-green);
    border-bottom-color: var(--church-green);
    background-color: transparent;
}

.tabs-block .tab-content {
    padding: 20px 0;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination .page-item .page-link {
    color: var(--church-red);
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination .page-item .page-link:hover {
    background-color: var(--church-light-green);
    border-color: var(--church-green);
}

.pagination .page-item.active .page-link {
    background-color: var(--church-green);
    border-color: var(--church-green);
    color: white;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-icon {
        font-size: 80px;
    }
    
    .hero-section {
        min-height: 350px;
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-icon {
        font-size: 60px;
        margin-top: 20px;
    }
    
    .hero-section {
        min-height: 300px;
        padding: 40px 0;
    }
    
    /* Convert data table to cards on mobile */
    .data-table thead {
        display: none;
    }
    
    .data-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        background-color: white !important;
    }
    
    .data-table tbody td {
        display: block;
        text-align: left;
        padding: 8px 0;
        border: none;
    }
    
    .data-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        display: inline-block;
        width: 120px;
        color: var(--church-red);
    }
    
    .table-controls {
        flex-direction: column;
    }
    
    .table-search,
    .table-filter {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .canvas-card .card-image {
        height: 180px;
    }
    
    .gallery-block img {
        height: 200px;
    }
}

/* Utility Classes */
.text-church-red {
    color: var(--church-red) !important;
}

.text-church-green {
    color: var(--church-green) !important;
}

.bg-church-red {
    background-color: var(--church-red) !important;
}

.bg-church-green {
    background-color: var(--church-green) !important;
}

.bg-church-light-red {
    background-color: var(--church-light-red) !important;
}

.bg-church-light-green {
    background-color: var(--church-light-green) !important;
}

.btn-church-red {
    background-color: var(--church-red);
    border-color: var(--church-red);
    color: white;
}

.btn-church-red:hover {
    background-color: #6b0000;
    border-color: #6b0000;
    color: white;
}

.btn-church-green {
    background-color: var(--church-green);
    border-color: var(--church-green);
    color: white;
}

.btn-church-green:hover {
    background-color: #004d00;
    border-color: #004d00;
    color: white;
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out;
}


/* ========================================
   HOMEPAGE SLIDER STYLES
   ======================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.7) 0%, rgba(0, 100, 0, 0.7) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 700px;
    padding: 2rem;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.slide-description {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.slider-control:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-indicators .indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-indicators .indicator.active {
    background-color: white;
    transform: scale(1.3);
}

/* ========================================
   HOMEPAGE SECTIONS STYLES
   ======================================== */

.homepage-section {
    position: relative;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 1rem;
}

/* Canvas Card Styles */
.canvas-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.canvas-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.canvas-card .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.canvas-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.canvas-card:hover .card-image img {
    transform: scale(1.1);
}

.canvas-card .card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.canvas-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.canvas-card .card-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.6;
}

.canvas-card .card-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.canvas-card .card-meta i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.canvas-card .btn {
    margin-top: auto;
}

/* Horizontal Card Variant */
.canvas-card.horizontal-card .card-image {
    height: 100%;
}

.canvas-card.horizontal-card .card-body {
    padding: 1rem;
}

.canvas-card.horizontal-card .card-title {
    font-size: 1.1rem;
}

.canvas-card.horizontal-card .card-description {
    font-size: 0.9rem;
}

/* Download Centre Card */
.download-centre-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.download-centre-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Branch Info Styles */
.branch-icon {
    text-align: center;
}

.branch-info p {
    font-size: 0.95rem;
    color: #666;
}

.branch-info i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
    width: 20px;
}

/* Event Details Styles */
.event-details p {
    font-size: 0.9rem;
    color: #666;
}

.event-details i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 20px;
}

/* Publication Type Section */
.publication-type-section {
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.publication-type-section:last-child {
    border-bottom: none;
}

.publication-type-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #a00000;
    border-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.3);
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 100, 0, 0.3);
}

/* Badge Styles */
.badge {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
}

.badge.bg-success {
    background-color: var(--secondary-color) !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1200px) {
    .slide-title {
        font-size: 3rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content {
        max-width: 100%;
        padding: 1rem;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .slider-control {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
    
    .canvas-card .card-image {
        height: 180px;
    }
    
    .canvas-card.horizontal-card .row {
        flex-direction: column;
    }
    
    .canvas-card.horizontal-card .card-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 350px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lazy loading animation */
.canvas-card {
    animation: fadeInUp 0.6s ease-out;
}

.canvas-card:nth-child(1) { animation-delay: 0.1s; }
.canvas-card:nth-child(2) { animation-delay: 0.2s; }
.canvas-card:nth-child(3) { animation-delay: 0.3s; }
.canvas-card:nth-child(4) { animation-delay: 0.4s; }
.canvas-card:nth-child(5) { animation-delay: 0.5s; }
.canvas-card:nth-child(6) { animation-delay: 0.6s; }
