:root {
    --primary-green: #5a823a;
    --dark-green: #3e4a34;
    --deep-forest: #2a3225;
    --accent-gold: #d4a574;
    --accent-blue: #4a7c9e;
    --text-dark: #2d3428;
    --text-muted: #4a5343;
    --bg-light: #f0f2ee;
    --bg-cream: #faf9f7;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

/* Layout Container */
.site-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    background: white;
    box-shadow: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    body {
        padding: 0;
    }
}

/* Navbar Customization */
.navbar {
    border-bottom: 1px solid #eee;
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: white;
}

.logo-f {
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin-right: 12px;
}

/* ========================================
   AUTHENTICATION PAGES
   ======================================== */

.auth-page {
    background: linear-gradient(135deg, rgba(90, 130, 58, 0.1) 0%, rgba(212, 165, 116, 0.1) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-container {
    width: 100%;
    max-width: 480px;
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 3rem 2.5rem;
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.auth-form .form-control {
    padding: 0.875rem 1rem;
    border: 2px solid #e1e6dc;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(90, 130, 58, 0.1);
    outline: none;
}

.auth-form .form-control::placeholder {
    color: #a8b59f;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e6dc;
}

.auth-footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: var(--primary-green);
}

/* ========================================
   DASHBOARD LAYOUT
   ======================================== */

.dashboard-body {
    background: #f5f7f3;
    overflow-x: hidden;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.dashboard-sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--dark-green) 0%, var(--deep-forest) 100%);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 1050;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

@media (max-width: 991px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }

    .dashboard-sidebar.active {
        transform: translateX(0);
    }
}

.sidebar-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    height: 50px;
    width: auto;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: white;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-user {
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-nav {
    flex: 1;
    padding: 1.25rem 0;
    overflow-y: auto;
}

.dashboard-nav-item {
    margin-bottom: 1rem;
}

.nav-section {
    margin-bottom: 1rem;
}

.nav-section:last-child {
    margin-bottom: 0;
}

.nav-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 1.25rem 0.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.nav-section-toggle i {
    width: 16px;
    height: 16px;
    color: #fff;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.nav-section-toggle:hover i,
.nav-section-toggle.is-open i {
    color: #fff;
}

.nav-section-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav-section-items[hidden] {
    display: none !important;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    color: rgba(255, 255, 255, 0.94);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    gap: 0.875rem;
}

.sidebar-nav .nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-green);
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar-nav .nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.sidebar-nav .nav-item.active {
    background: rgba(90, 130, 58, 0.2);
    color: white;
}

.sidebar-nav .nav-item.active::before {
    opacity: 1;
}

.sidebar-nav .nav-item i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #fff;
}

.sidebar-nav .nav-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.94);
}

.sidebar-nav .nav-item .badge {
    margin-left: auto;
    background: rgba(212, 165, 116, 0.3);
    color: var(--accent-gold);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.sidebar-footer {
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer .logout-btn {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.sidebar-footer .logout-btn:hover {
    background: rgba(244, 67, 54, 0.1);
    color: #ff6b6b;
}

/* Main Content */
.dashboard-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (max-width: 991px) {
    .dashboard-main {
        margin-left: 0;
    }
}

.dashboard-header {
    background: white;
    padding: 1.25rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.dashboard-header .sidebar-toggle {
    color: var(--text-dark);
}

.dashboard-header .page-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.dashboard-content {
    flex: 1;
    padding: 2rem;
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 1.5rem 1rem;
    }
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Dashboard Components */
.welcome-section {
    margin-bottom: 2rem;
}

.welcome-section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    gap: 1rem;
    height: 100%;
}

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

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.bg-primary {
    background: linear-gradient(135deg, rgba(90, 130, 58, 0.1), rgba(90, 130, 58, 0.2));
    color: var(--primary-green);
}

.stat-icon.bg-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.2));
    color: #28a745;
}

.stat-icon.bg-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.2));
    color: #ffc107;
}

.stat-icon.bg-info {
    background: linear-gradient(135deg, rgba(74, 124, 158, 0.1), rgba(74, 124, 158, 0.2));
    color: var(--accent-blue);
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.dashboard-card .card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e1e6dc;
    background: #f8f9f5;
}

.dashboard-card .card-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8f9f5;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.action-card:hover {
    background: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 130, 58, 0.1);
}

.action-card i {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--primary-green);
}

.action-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.action-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.action-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-card.disabled:hover {
    transform: none;
    border-color: transparent;
    background: #f8f9f5;
    box-shadow: none;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e6dc;
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-item i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-green);
    margin-top: 0.25rem;
}

.activity-item p {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state i {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.empty-state h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.empty-state-small {
    text-align: center;
    padding: 2rem 1rem;
}

.empty-state-small p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.brand-logo {
    height: 75px;
    width: auto;
    display: block;
}

.nav-split {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.nav-right-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.nav-logo {
    margin: 0 auto;
}

@media (max-width: 991px) {
    .navbar-nav {
        width: 100%;
    }

    .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid var(--bg-light);
        font-size: 16px;
    }

    .service-badge {
        margin-top: 1rem;
        text-align: center;
        width: 100%;
    }

    .nav-split {
        align-items: flex-start;
    }
}

@media (min-width: 992px) {
    .nav-split {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .nav-left {
        justify-content: flex-end;
        width: 100%;
    }

    .nav-right-group {
        align-items: flex-start;
        width: 100%;
    }

    .nav-right {
        justify-content: flex-start;
    }

    .nav-logo {
        margin: 0;
    }

    .navbar .container-fluid {
        justify-content: center;
    }
}

/* Give Button */
.btn-give {
    background: linear-gradient(135deg, var(--primary-green) 0%, #45642c 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 4px 15px rgba(90, 130, 58, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
}

.btn-give::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-give:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(90, 130, 58, 0.6);
    background: linear-gradient(135deg, #6b9142 0%, var(--primary-green) 100%);
    color: white !important;
}

.btn-give:hover::before {
    left: 100%;
}

.btn-give:active {
    transform: translateY(0) scale(1);
}

@media (max-width: 991px) {
    .btn-give {
        margin-top: 12px;
        width: 100%;
        justify-content: center;
    }
}

.church-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    line-height: 1;
    font-size: 1.1rem;
}

.church-sub {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav-link {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

.service-badge {
    background-color: var(--dark-green);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 15px;
}

.ourHeartImg {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.ourHeartText {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 85vh;
    min-height: 600px;
    position: relative;
    background:
        linear-gradient(135deg, rgba(76, 119, 41, 0.75), rgba(42, 50, 37, 0.9)),
        url('https://images.unsplash.com/photo-1438232992991-995b7058bbb3?auto=format&fit=crop&q=80&w=2400') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: white;
    animation: heroFadeIn 1.2s ease-out;
}

.hero--page {
    height: 380px;
    min-height: 380px;
}

.hero--page .hero-title {
    font-size: clamp(34px, 6vw, 64px);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-circle-svg {
    position: absolute;
    width: 600px;
    height: 600px;
    opacity: 0.5;
    pointer-events: none;
    animation: spinSlow 60s linear infinite;
    z-index: 1;
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 500px;
        max-height: 650px;
    }

    .hero-circle-svg {
        width: 280px;
        height: 280px;
    }

    .hero--page {
        height: 320px;
        min-height: 320px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 450px;
    }

    .hero--page {
        height: 280px;
        min-height: 280px;
    }
}

/* Desktop scaling for smaller-height monitors (ex: 1080p laptops) */
@media (max-height: 1200px) and (min-width: 1024px) {
    body {
        font-size: 14.5px;
    }

    .brand-logo {
        height: 60px;
    }

    .hero {
        height: 68vh;
        min-height: 500px;
    }

    .hero--page {
        height: 300px;
        min-height: 300px;
    }

    .hero-title {
        font-size: clamp(42px, 6.4vw, 82px);
    }

    .hero--page .hero-title {
        font-size: clamp(28px, 4.1vw, 50px);
    }

    .hero-sub {
        font-size: 13px;
        letter-spacing: 0.28em;
    }

    h1 {
        font-size: clamp(2rem, 4.1vw, 3.2rem);
    }

    h2 {
        font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    }

    h3 {
        font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    }

    .btn-primary-church,
    .btn-outline-church {
        padding: 12px 28px;
        font-size: 11px;
    }
}

.hero-sub {
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    color: var(--accent-gold);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
}

.hero-title {
    font-weight: 200;
    text-transform: uppercase;
    line-height: 0.95;
    font-size: clamp(56px, 10vw, 110px);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    animation: titleSlideIn 0.8s ease-out 0.2s both;
    letter-spacing: -0.02em;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title strong {
    font-weight: 800;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.scroll-indicator:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-50%) scale(1.1);
}

@keyframes bounceScroll {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.btn-primary-church {
    background: linear-gradient(135deg, var(--primary-green) 0%, #45642c 100%);
    border: none;
    color: white;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 40px;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(90, 130, 58, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary-church::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary-church::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary-church:hover::before {
    left: 100%;
}

.btn-primary-church:hover::after {
    opacity: 1;
}

.btn-primary-church:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 35px rgba(90, 130, 58, 0.5);
    background: linear-gradient(135deg, #45642c 0%, var(--primary-green) 100%);
    color: white;
}

.btn-primary-church:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-outline-church {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 38px;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-outline-church::before {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-outline-church:hover::before {
    transform: scaleX(1);
}

.btn-outline-church:hover {
    background-color: white;
    color: var(--primary-green);
    border-color: white;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {

    .btn-primary-church,
    .btn-outline-church {
        padding: 16px 40px;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
    }
}

/* Mission Section */
@media (min-width: 992px) {
    .ourHeartImg {
        display: block;
        margin-left: auto;
        margin-right: 0;
        width: 100%;
        max-width: 480px;
    }

    .ourHeartText {
        width: 100%;
        max-width: 520px;
        padding-left: 3rem;
    }
}

section {
    scroll-margin-top: 100px;
}

/* Ministry Cards */
.ministry-card {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    overflow: hidden;
    position: relative;
    animation: fadeInUp 0.6s ease-out both;
}

.ministry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.ministry-card:hover::before {
    transform: scaleX(1);
}

.ministry-card:nth-child(1) {
    animation-delay: 0.1s;
}

.ministry-card:nth-child(2) {
    animation-delay: 0.2s;
}

.ministry-card:nth-child(3) {
    animation-delay: 0.3s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ministry-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(90, 130, 58, 0.15);
}

.ministry-img-container {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.ministry-img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.ministry-card:hover .ministry-img-container::after {
    opacity: 1;
}

.ministry-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ministry-card:hover img {
    transform: scale(1.08);
}

.ministry-card h4 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.learn-more-link {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-bottom: 2px solid rgba(90, 130, 58, 0.2);
    padding-bottom: 4px;
    transition: all 0.3s;
    display: inline-block;
}

.learn-more-link:hover {
    border-color: var(--primary-green);
    padding-bottom: 6px;
}

@media (max-width: 768px) {
    .learn-more-link {
        padding: 8px 0;
        font-size: 12px;
    }
}

/* Staff Page */
.staff-section .ministry-card {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.staff-section .ministry-img-container {
    height: 190px;
}

.staff-section .ministry-card h4 {
    text-transform: none;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.staff-section .ministry-card p {
    font-size: 0.9rem;
    line-height: 1.55;
}

.staff-section .ministry-card .fw-semibold {
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .staff-section .ministry-img-container {
        height: 210px;
    }
}

/* Give Page */
.give-section {
    background: var(--bg-light);
}

.give-intro,
.give-methods {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.give-eyebrow {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.give-support {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e2e6df;
}

.give-support h4,
.give-methods h4 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

.give-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.give-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
}

.give-embed-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(90, 130, 58, 0.12);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.give-embed-header {
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(90, 130, 58, 0.08), rgba(212, 165, 116, 0.12));
    border-bottom: 1px solid #ecefe7;
}

.give-embed-header h3 {
    margin-bottom: 6px;
}

.give-embed-frame {
    min-height: 520px;
    padding: 24px;
    background: #f8f8f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.give-embed-frame iframe {
    width: 100%;
    min-height: 520px;
    border: 0;
}

.give-embed-frame>* {
    width: 100%;
}

.give-embed-placeholder {
    text-align: center;
    border: 2px dashed #c9d1c2;
    border-radius: 16px;
    padding: 32px;
    background: white;
    color: var(--text-muted);
}

@media (max-width: 991px) {

    .give-intro,
    .give-methods {
        padding: 24px;
    }

    .give-embed-frame {
        min-height: 420px;
        padding: 20px;
    }

    .give-embed-frame iframe {
        min-height: 420px;
    }
}

/* Tabs and Calendar */
.custom-tabs {
    background: var(--bg-light);
    padding: 4px;
    display: inline-flex;
    border-radius: 4px;
}

.tab-btn {
    border: none;
    padding: 8px 24px;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: transparent;
    color: var(--text-muted);
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--primary-green);
    color: white;
}

.event-card {
    background: white;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border-radius: 12px;
    border-left: 5px solid var(--primary-green);
    animation: fadeInUp 0.6s ease-out both;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(90, 130, 58, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30px, -30px);
    transition: all 0.4s ease;
}

.event-card:hover::after {
    transform: translate(0, 0) scale(3);
}

.event-card:nth-child(1) {
    animation-delay: 0.1s;
}

.event-card:nth-child(2) {
    animation-delay: 0.2s;
}

.event-card:nth-child(3) {
    animation-delay: 0.3s;
}

.event-card:nth-child(4) {
    animation-delay: 0.4s;
}

.event-card:nth-child(5) {
    animation-delay: 0.5s;
}

.event-card:nth-child(6) {
    animation-delay: 0.6s;
}

.event-card:hover {
    background: var(--primary-green);
    color: white !important;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(90, 130, 58, 0.25);
    border-left-color: var(--accent-gold);
}

.event-card:hover h4,
.event-card:hover p,
.event-card:hover span,
.event-card:hover .text-muted,
.event-card:hover i,
.event-card:hover svg {
    color: white !important;
    opacity: 1;
}

.event-card:hover svg {
    stroke: white !important;
}

.event-card-image {
    display: block;
    width: calc(100% + 3rem);
    height: 180px;
    object-fit: cover;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    border-radius: 10px 10px 0 0;
}

@media (max-width: 576px) {
    .event-card-image {
        height: 160px;
    }
}

.event-card--clickable {
    cursor: pointer;
}

.event-card--clickable:focus-visible {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
}

/* Event Modal */
.event-modal .modal-dialog {
    max-width: 1100px;
}

.event-modal .modal-content {
    border: 1px solid #e3e7dd;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    background: white;
}

.event-modal .modal-body {
    padding: 28px 32px 32px;
}

.event-modal-media {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.event-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-modal-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.32));
}

.event-modal-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6ebe1;
}

.event-modal-kicker {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 6px;
}

.event-modal-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    margin: 0;
}

.event-modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.event-modal-description {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.event-modal-description>*:last-child {
    margin-bottom: 0;
}

.event-modal-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 14px 0;
}

.event-modal-notes {
    margin-top: 20px;
    padding: 16px;
    border-radius: 14px;
    background: #f7f8f4;
    border: 1px solid #e3e7dd;
}

.event-modal-notes h4 {
    margin: 0 0 8px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.event-modal-notes p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.event-modal-card {
    background: linear-gradient(180deg, #ffffff, #f3f6ef);
    border: 1px solid #e3e7dd;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.event-modal-card h4 {
    margin: 0 0 14px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.event-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.event-modal-list li {
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 12px;
    row-gap: 2px;
    padding: 12px 14px;
    border-radius: 12px;
    background: white;
    border: 1px solid #eef1ea;
}

.event-modal-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(90, 130, 58, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    grid-row: 1 / span 2;
}

.event-modal-icon svg {
    width: 16px;
    height: 16px;
}

.event-modal-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--text-muted);
    grid-column: 2;
}

.event-modal-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.4;
    grid-column: 2;
    word-break: break-word;
}

.event-registration-cta--modal {
    min-height: 38px;
    padding-inline: 1.1rem;
    letter-spacing: 0.16em;
}

@media (max-width: 992px) {
    .event-modal-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .event-modal .modal-body {
        padding: 22px 22px 26px;
    }

    .event-modal-media {
        height: 190px;
    }

    .event-modal-list li {
        grid-template-columns: 28px 1fr;
        padding: 10px 12px;
    }
}

/* Events Page */
.events-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(212, 165, 116, 0.16), transparent 45%),
        radial-gradient(circle at 90% 0%, rgba(90, 130, 58, 0.12), transparent 40%),
        var(--bg-cream);
    padding: 70px 0 90px;
}

.events-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.events-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.events-title {
    font-weight: 800;
    font-size: clamp(28px, 3.4vw, 42px);
    color: var(--primary-green);
    margin-bottom: 8px;
}

.events-view-toggle {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-left: 16px;
    border-left: 2px solid #e2e6dc;
}

.events-view-toggle .view-toggle {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.events-view-toggle .view-toggle.active {
    color: var(--primary-green);
    border-bottom-color: var(--accent-gold);
}

.events-search {
    margin: 24px 0 32px;
    background: #fdfdfb;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e3e7dd;
    border-left: 4px solid var(--primary-green);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.events-search input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 15px;
    color: var(--text-dark);
}

.events-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: 32px;
    align-items: start;
}

.events-filters {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #e2e6dc;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 120px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.filter-header h4 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 14px;
    margin: 0;
}

.filter-clear {
    border: none;
    background: none;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
}

.filter-block {
    margin-bottom: 20px;
}

.filter-block h5 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    font-weight: 600;
    color: var(--text-dark);
}

.filter-toggle input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.filter-slider {
    width: 40px;
    height: 22px;
    background: #dde3d7;
    border-radius: 6px;
    position: relative;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.filter-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.filter-toggle input:checked+.filter-slider {
    background: var(--primary-green);
}

.filter-toggle input:checked+.filter-slider::after {
    transform: translateX(18px);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    border: 1px solid #e1e6dc;
    background: white;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-chip.active {
    background: var(--deep-forest);
    color: white;
    border-color: var(--deep-forest);
}

.events-results {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.events-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #e3e7dd;
    padding-bottom: 8px;
}

.events-section-header h3 {
    font-weight: 800;
    margin: 0;
    font-size: clamp(20px, 2.4vw, 28px);
    color: var(--text-dark);
}

.events-featured-list,
.events-list-grid {
    display: grid;
    gap: 18px;
}

.event-list-card,
.event-featured-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid #e4e8df;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.event-featured-card {
    border-left: 6px solid var(--primary-green);
    box-shadow: 0 18px 36px rgba(90, 130, 58, 0.18);
    background: #fff;
}

.event-list-card {
    border-left: 6px solid var(--accent-gold);
}

.event-list-card:hover,
.event-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
}

.event-list-media,
.event-featured-media {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.event-list-media img,
.event-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-list-body,
.event-featured-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 20px;
}

.event-date-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: #f0f2ee;
    border-radius: 8px;
    padding: 5px 9px;
    width: fit-content;
}

.event-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-list-title,
.event-featured-title {
    font-weight: 800;
    margin: 0;
    font-size: clamp(16px, 1.8vw, 22px);
    color: var(--text-dark);
}

.event-list-time,
.event-featured-time {
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.92rem;
}

.event-featured-desc {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.92rem;
}

.event-list-summary {
    color: var(--text-muted);
}

.event-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.event-registration-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 32px;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(58, 88, 31, 0.9);
    background: linear-gradient(135deg, #5f8a37, var(--primary-green));
    box-shadow: 0 10px 22px rgba(90, 130, 58, 0.22);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    position: relative;
    z-index: 1;
}

.event-registration-cta:hover,
.event-registration-cta:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(90, 130, 58, 0.28);
    filter: saturate(1.05);
}

.event-registration-cta:focus-visible {
    outline: 3px solid rgba(212, 165, 116, 0.35);
    outline-offset: 2px;
}

.event-badge {
    background: #f2f4ee;
    border: 1px solid #e0e5db;
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.event-list-link,
.event-featured-link {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    position: relative;
    padding-bottom: 6px;
    width: fit-content;
}

.event-list-link::after,
.event-featured-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--accent-gold);
}

.events-results[data-view="grid"] .events-featured-list,
.events-results[data-view="grid"] .events-list-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.events-results[data-view="grid"] .event-list-card,
.events-results[data-view="grid"] .event-featured-card {
    border-left: none;
    border-top: 4px solid var(--accent-gold);
    border-radius: 14px;
}

.events-results[data-view="grid"] .event-featured-card {
    border-top-color: var(--primary-green);
}

.events-results[data-view="grid"] .event-list-media,
.events-results[data-view="grid"] .event-featured-media {
    height: 130px;
}

.events-results[data-view="grid"] .event-list-body,
.events-results[data-view="grid"] .event-featured-body {
    padding: 14px 16px 16px;
    gap: 8px;
}

.events-results[data-view="grid"] .event-date-badge {
    font-size: 9px;
    letter-spacing: 0.16em;
    padding: 4px 8px;
}

.events-results[data-view="grid"] .event-list-title,
.events-results[data-view="grid"] .event-featured-title {
    font-size: clamp(15px, 1.7vw, 20px);
}

.events-results[data-view="grid"] .event-list-time,
.events-results[data-view="grid"] .event-featured-time,
.events-results[data-view="grid"] .event-featured-desc {
    font-size: 0.86rem;
}

.events-results[data-view="grid"] .event-featured-desc {
    display: none;
}

.events-results[data-view="grid"] .event-list-meta {
    gap: 4px;
}

.events-results[data-view="grid"] .event-badge {
    font-size: 8px;
    padding: 3px 6px;
}

.events-results[data-view="grid"] .event-registration-cta {
    min-height: 28px;
    padding: 0.38rem 0.8rem;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
}

.events-results[data-view="grid"] .event-list-link,
.events-results[data-view="grid"] .event-featured-link {
    font-size: 8px;
    letter-spacing: 0.16em;
}

.events-empty {
    padding: 18px 20px;
    border-radius: 12px;
    background: white;
    border: 1px dashed #d6ddd0;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .events-layout {
        grid-template-columns: 1fr;
    }

    .events-filters {
        position: relative;
        top: 0;
    }

    .event-list-card,
    .event-featured-card {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .event-list-media,
    .event-featured-media {
        height: 170px;
    }
}

@media (max-width: 768px) {
    .events-view-toggle {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .events-search {
        border-radius: 16px;
        padding: 12px 14px;
    }
}

/* Ministries Page */
.ministries-hero {
    padding: 72px 0 36px;
    text-align: center;
    background: white;
}

.ministries-hero h1 {
    font-weight: 600;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    color: var(--primary-green);
    max-width: 920px;
    margin: 0 auto;
}

.ministry-grid-card {
    background: #f2f1ef;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
}

.ministry-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.ministry-grid-img {
    height: 170px;
    overflow: hidden;
}

.ministry-grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ministry-grid-body {
    padding: 22px;
}

.ministry-grid-title {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    color: var(--primary-green);
    margin: 4px 0 8px;
}

.ministry-grid-desc {
    color: #7a8072;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 18px;
}

.btn-ministry {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-ministry:hover {
    background: #45642c;
    color: white;
}

/* Sermons Page */
.sermons-hero {
    padding: 64px 0 32px;
    text-align: center;
    background: white;
}

.sermons-hero h1 {
    font-weight: 700;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    color: var(--primary-green);
    margin: 0 auto 10px;
    max-width: 920px;
}

.sermons-hero p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 680px;
    margin: 0 auto;
}

.sermon-card {
    background: #f2f1ef;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sermon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.sermon-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.sermon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sermon-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.sermon-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(14, 17, 13, 0.88);
    color: white;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.sermon-title {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.sermon-meta {
    color: var(--text-muted);
    font-size: 14px;
}

.btn-sermon {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: white;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: auto;
}

.btn-sermon:hover {
    background: #45642c;
    color: white;
}

.sermon-modal-meta {
    color: var(--text-muted);
    font-size: 14px;
    margin: 8px 0 0;
}

.sermon-modal .modal-dialog {
    max-width: min(1100px, calc(100vw - 24px));
}

.sermon-modal .modal-content {
    border: none;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(243, 239, 231, 0.96), rgba(255, 255, 255, 0.99)),
        radial-gradient(circle at top right, rgba(164, 140, 111, 0.18), transparent 38%);
    box-shadow: 0 30px 80px rgba(17, 24, 17, 0.35);
}

.sermon-modal .modal-body {
    position: relative;
    padding: clamp(20px, 3vw, 32px);
}

.sermon-modal-header {
    margin-bottom: 20px;
    padding-right: 56px;
}

.sermon-modal-kicker {
    margin: 0 0 8px;
    color: var(--primary-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sermon-modal-title {
    margin: 0;
    color: var(--text-dark);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.05;
}

.sermon-modal-close {
    position: absolute;
    top: clamp(16px, 2vw, 24px);
    right: clamp(16px, 2vw, 24px);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 30px rgba(17, 24, 17, 0.14);
    opacity: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sermon-modal-close:hover {
    background-color: white;
    box-shadow: 0 18px 34px rgba(17, 24, 17, 0.18);
    transform: translateY(-1px);
}

.sermon-modal-player {
    overflow: hidden;
    border-radius: 22px;
    background: #0e110d;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 42px rgba(17, 24, 17, 0.22);
}

.sermon-modal-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767.98px) {
    .sermon-modal .modal-dialog {
        max-width: calc(100vw - 16px);
    }

    .sermon-modal-header {
        padding-right: 48px;
    }
}

/* Footer */
footer {
    background:
        linear-gradient(135deg, rgba(30, 40, 28, 0.98), rgba(45, 60, 40, 0.95)),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&q=80&w=2400') center/cover;
    color: rgba(255, 255, 255, 0.9);
    padding: 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(90, 130, 58, 0.3), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 165, 116, 0.15), transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.footer-top {
    background: linear-gradient(90deg,
            var(--primary-green) 0%,
            var(--accent-gold) 50%,
            var(--primary-green) 100%);
    height: 8px;
    box-shadow: 0 4px 20px rgba(90, 130, 58, 0.5);
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 40px;
}

footer h5 {
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-gold);
}

.footer-link:hover {
    color: white;
    padding-left: 20px;
}

.footer-link:hover::before {
    left: 0;
    opacity: 1;
}

footer h5 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
}

.footer-inner {
    position: relative;
    z-index: 1;
}



.footer-brand {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
}

.footer-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--primary-green);
    background: white;
    transform: translateY(-3px);
}

.social-icons i,
.social-icons svg {
    width: 18px;
    height: 18px;
}

.footer-brand p {
    line-height: 1.8;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-map {
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    transition: transform 0.3s ease;
}

.footer-map:hover {
    transform: scale(1.02);
}

footer a[aria-label] {
    transition: all 0.3s ease;
    display: inline-block;
}

footer a[aria-label]:hover {
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(212, 165, 116, 0.5));
}

footer a[aria-label]:hover i {
    color: var(--accent-gold) !important;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(20%) contrast(105%);
}

/* Accessibility Improvements */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-green);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 9999;
    font-weight: 700;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

*:focus-visible {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
    border-radius: 2px;
}

.btn-primary-church:focus-visible,
.btn-outline-church:focus-visible {
    outline: 3px solid white;
    outline-offset: 2px;
}

/* Typography Enhancements */
h1,
h2,
.hero-title {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Social Proof Section */
.stat-card {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-green);
    font-weight: 900;
}

.stat-card p {
    margin: 0;
}

/* Testimonial Section */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.quote-icon {
    opacity: 0.3;
}

/* Sticky Mobile CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta .btn-sm {
    font-size: 11px;
    padding: 10px 20px;
}

/* Performance Optimizations */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Livestream Styles */
.btn-live-nav {
    display: flex;
    align-items: center;
    color: #e53e3e !important;
    /* Red color */
    font-weight: 800;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #e53e3e;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(229, 62, 62, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
    }
}

.hero-is-live {
    /* Optional: darker background to help video pop */
    background-image: linear-gradient(135deg, rgba(20, 26, 15, 0.95), rgba(10, 12, 10, 0.98)) !important;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

/* Footer Fixes */
.footer-cta {
    text-align: center;
    padding: 3rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding-left: 0;
    position: relative;
}

.footer-links a:hover {
    color: white;
    padding-left: 10px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-gold);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -5px;
}

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

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--accent-gold);
    flex-shrink: 0;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: white;
}

/* ============================================
   Staff/Team Page - Premium Card Styles
   ============================================ */

/* Section Heading */
.section-heading {
    position: relative;
}

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

/* Single Advisor Profile Card */
.single-advisor-profile {
    position: relative;
    margin-bottom: 50px;
    transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    border-radius: 15px;
    box-shadow: 0 0.25rem 1rem 0 rgba(76, 119, 41, 0.125);
}

.single-advisor-profile .advisor-thumb {
    position: relative;
    z-index: 1;
    border-radius: 15px 15px 0 0;
    margin: 0 auto;
    padding: 30px 30px 0 30px;
    background: linear-gradient(135deg, #4c7729 0%, #5a823a 100%);
    overflow: hidden;
}

.single-advisor-profile .advisor-thumb img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 500ms ease;
}

.single-advisor-profile:hover .advisor-thumb img {
    transform: scale(1.05);
}

.single-advisor-profile .advisor-thumb::after {
    transition: all 500ms ease;
    position: absolute;
    width: 150%;
    height: 80px;
    bottom: -45px;
    left: -25%;
    content: "";
    background-color: #ffffff;
    transform: rotate(-15deg);
    z-index: 2;
}

@media only screen and (max-width: 575px) {
    .single-advisor-profile .advisor-thumb::after {
        height: 160px;
        bottom: -90px;
    }
}

/* Social Info Icons */
.single-advisor-profile .advisor-thumb .social-info {
    position: absolute;
    z-index: 3;
    width: 100%;
    bottom: 0;
    right: 30px;
    text-align: right;
    padding-bottom: 15px;
}

.single-advisor-profile .advisor-thumb .social-info a {
    font-size: 18px;
    color: #020710;
    padding: 0 8px;
    transition: all 300ms ease;
    display: inline-block;
}

.single-advisor-profile .advisor-thumb .social-info a:hover,
.single-advisor-profile .advisor-thumb .social-info a:focus {
    color: #d4a574;
    transform: translateY(-3px) scale(1.1);
}

.single-advisor-profile .advisor-thumb .social-info a:last-child {
    padding-right: 0;
}

/* Advisor Details Info */
.single-advisor-profile .single-advisor-details-info {
    position: relative;
    z-index: 1;
    padding: 30px;
    text-align: right;
    transition: all 500ms ease;
    border-radius: 0 0 15px 15px;
    background-color: #ffffff;
    overflow: hidden;
}

.single-advisor-profile .single-advisor-details-info::after {
    transition: all 500ms ease;
    position: absolute;
    z-index: 1;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4c7729, #d4a574);
    content: "";
    top: 12px;
    right: 30px;
}

.single-advisor-profile .single-advisor-details-info h6 {
    margin-bottom: 0.25rem;
    transition: all 500ms ease;
    font-weight: 800;
    font-size: 1.25rem;
    color: #2a3225;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .single-advisor-profile .single-advisor-details-info h6 {
        font-size: 1.1rem;
    }
}

.single-advisor-profile .single-advisor-details-info .designation {
    transition: all 500ms ease;
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6c757d;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .single-advisor-profile .single-advisor-details-info .designation {
        font-size: 0.85rem;
    }
}

/* Bio Description - Hidden by default, shown on hover */
.single-advisor-profile .single-advisor-details-info .advisor-bio {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    transition: all 500ms ease;
}

/* Hover Effects */
.single-advisor-profile:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem 0 rgba(76, 119, 41, 0.3);
}

.single-advisor-profile:hover .advisor-thumb::after,
.single-advisor-profile:focus .advisor-thumb::after {
    background-color: #2a3225;
}

.single-advisor-profile:hover .advisor-thumb .social-info a,
.single-advisor-profile:focus .advisor-thumb .social-info a {
    color: #ffffff;
}

.single-advisor-profile:hover .advisor-thumb .social-info a:hover,
.single-advisor-profile:hover .advisor-thumb .social-info a:focus,
.single-advisor-profile:focus .advisor-thumb .social-info a:hover,
.single-advisor-profile:focus .advisor-thumb .social-info a:focus {
    color: #d4a574;
}

.single-advisor-profile:hover .single-advisor-details-info,
.single-advisor-profile:focus .single-advisor-details-info {
    background: linear-gradient(135deg, #2a3225 0%, #1a1f17 100%);
}

.single-advisor-profile:hover .single-advisor-details-info::after,
.single-advisor-profile:focus .single-advisor-details-info::after {
    background: linear-gradient(90deg, #d4a574, #f0c896);
}

.single-advisor-profile:hover .single-advisor-details-info h6,
.single-advisor-profile:focus .single-advisor-details-info h6 {
    color: #ffffff;
}

.single-advisor-profile:hover .single-advisor-details-info .designation,
.single-advisor-profile:focus .single-advisor-details-info .designation {
    color: #d4a574;
    margin-bottom: 0.75rem;
}

/* Show bio on hover */
.single-advisor-profile:hover .single-advisor-details-info .advisor-bio,
.single-advisor-profile:focus .single-advisor-details-info .advisor-bio {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.5rem;
}

/* Animation Delays for Staggered Effect */
.single-advisor-profile:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.single-advisor-profile:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.single-advisor-profile:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.single-advisor-profile:nth-child(4) {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.single-advisor-profile:nth-child(5) {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.single-advisor-profile:nth-child(6) {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .single-advisor-profile {
        margin-bottom: 35px;
    }

    .single-advisor-profile .advisor-thumb {
        padding: 20px 20px 0 20px;
    }

    .single-advisor-profile .advisor-thumb img {
        height: 200px;
    }

    .single-advisor-profile .single-advisor-details-info {
        padding: 25px 20px;
    }

    .single-advisor-profile .advisor-thumb .social-info {
        right: 20px;
    }

    .single-advisor-profile .single-advisor-details-info::after {
        right: 20px;
    }
}

@media (max-width: 576px) {
    .single-advisor-profile .advisor-thumb img {
        height: 180px;
    }

    .single-advisor-profile .single-advisor-details-info .advisor-bio {
        font-size: 0.82rem;
    }
}
