.hero-section {
    background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.8)), url('https://images.unsplash.com/photo-1438032005730-c779502df39b?ixlib=rb-4.0.3') center/cover;
    min-height: 100vh;
    color: white;
}

.hero-slide-link {
    cursor: pointer;
}

.stats-section {
    background: var(--light-blue);
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.section-title-alt {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title-alt::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 3%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .section-title-alt::after {
        left: 50%;
    }
}


.social-icon {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-custom {
    background: var(--secondary-color);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: #d97706;
    color: white;
    transform: translateY(-2px);
}

.video-section {
    background: #f8fafc;
}

/* Departments Section Styles */
.departments-section {
    background: rgba(33, 37, 41, 0.082);
    position: relative;
    overflow: hidden;
}

.youtube-section {
    background: linear-gradient(
        0deg,
        #f8fafc 0%,
        #f8fafc 10%,
        #f8fafc 20%,
        #f8fafc 30%,
        #f8fafc 40%,
        #f8fafc 50%,
        #f8fafc 60%,
        #f8fafc 70%,
        #f8fafc 80%,
        #f8fafc 90%,
        rgba(33, 37, 41, 0.082) 100%
    );
}

.departments-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.departments-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.departments-section .section-title {
    color: #1a202c;
}

.departments-section .lead {
    color: #64748b;
    opacity: 1;
}

.department-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(30, 64, 175, 0.2);
}

.department-image-container {
    position: relative;
    height: 180px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.department-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.department-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(245, 158, 11, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.department-card:hover .department-overlay {
    opacity: 1;
}

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

.department-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.btn-instagram {
    background: #e1306c;
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    background: #c13584;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.btn-instagram i {
    background: none !important;
    background-color: transparent !important;
}

.btn-99 {
    background: #deb212;
    border: none;
    color: #000;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;

}

.btn-99:hover {
    background: #d4a10f;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 200, 20, 0.4);
}

.btn-99 i {
    background: none !important;
    background-color: transparent !important;
}

.btn-uber {
    background: #000000;
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-uber:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.btn-uber i {
    background: none !important;
    background-color: transparent !important;
}

.btn-waze {
    background: #357ae8;
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-waze:hover {
    background: #2c6ad8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 170, 0.4);
}

.btn-waze i {
    background: none !important;
    background-color: transparent !important;
}

.btn-maps {
    background: #34a853;
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-maps:hover {
    background: #2c8c46;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.4);
}

.btn-maps i {
    background: none !important;
    background-color: transparent !important;
}

.department-card:hover {
    cursor: pointer;
}

.department-card:hover .department-icon {
    transform: scale(1);
}

.department-content {
    padding: 1.5rem;
    text-align: center;
}

.department-title {
    color: #1a202c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.department-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    height: 3.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.department-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(30, 64, 175, 0.05);
}

.department-link:hover {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.department-link i {
    transition: transform 0.3s ease;
}

/* Responsive adjustments for departments */
@media (max-width: 768px) {
    .department-image-container {
        height: 150px;
    }
    
    .department-content {
        padding: 1rem;
    }
    
    .department-title {
        font-size: 1rem;
    }
    
    .department-description {
        font-size: 0.85rem;
        height: auto;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

@media (max-width: 576px) {
    .departments-section {
        padding: 3rem 0 !important;
    }
    
    .department-card {
        margin-bottom: 1rem;
    }
}

.mission-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.hero-slide {
    position: relative;
    background-attachment: fixed;
    min-height: 75vh !important;
    margin-top: 45px;
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: 35vh !important;
    }
}


.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.youtube-video {
    border-radius: 10px;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.youtube-video:hover .video-overlay {
    opacity: 1;
}

/* Church Highlight Section Styles */
.church-highlight-section {
    position: relative;
    overflow: hidden;
}

#churchInfo {
    position: relative;
    z-index: 2;
    /* Remove card styling for desktop */
    border: none;
    border-radius: 0;
    background: linear-gradient(90deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
    box-shadow: none;
    margin: 0;
}

.church-image-container {
    position: relative;
    height: 100%;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
    border-radius: 0;
}

.church-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.church-image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(42, 51, 66, 0.0) 0%,
        rgba(42, 51, 66, 0.3) 30%,
        rgba(42, 51, 66, 0.8) 70%,
        rgb(42, 51, 66) 100%
    );
    z-index: 1;
}

.church-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(139, 92, 246, 0.6));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

#churchInfo:hover .church-overlay {
    opacity: 1;
}

#churchInfo:hover .church-main-image {
    transform: scale(1.05);
}

.church-badge {
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    color: #3b82f6;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

#churchInfo:hover .church-badge {
    transform: scale(1);
}

.church-content {
    position: relative;
    z-index: 3;
}

.church-header {
    position: relative;
}

.church-category {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.church-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.church-details .detail-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-radius: 6px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .church-content {
        border-radius: 0 0 20px 20px;
    }
    
    .church-image-container {
        border-radius: 20px 20px 0 0;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    #churchInfo {
        margin: 1rem;
        border-radius: 25px;
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        overflow: hidden;
    }
    
    .church-content {
        padding: 2rem 1.5rem !important;
        background: transparent;
    }
    
    .church-title {
        font-size: 1.6rem;
    }
    
    .church-image-container {
        min-height: 250px;
        border-radius: 25px 25px 0 0;
    }
    
    .church-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .church-actions {
        margin-left: 0 !important;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .church-title {
        font-size: 1.4rem;
    }
    
    .church-content {
        padding: 1.5rem 1rem !important;
    }
    
    .church-category {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
}

/* Navigation Buttons Styles */
#navigationButtons .btn {
    transition: all 0.3s ease;
    font-size: 0.85rem;
    padding: 0.6rem;
    border-radius: 12px;
    min-height: 48px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#navigationButtons .btn:active {
    transform: translateY(0) scale(0.98);
}

#navigationButtons .btn i {
    font-size: 1.4rem;
    color: white;
}

#navigationButtons .btn .app-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Specific button colors on hover */

/* Mobile responsive adjustments for navigation buttons */
@media (max-width: 768px) {
    #navigationButtons .btn {
        padding: 0.5rem;
        min-height: 44px;
        border-radius: 10px;
    }
    
    #navigationButtons .btn i {
        font-size: 1.2rem;
    }
    
    #navigationButtons .btn .app-logo {
        font-size: 1rem;
    }
    
    #navigationButtons .row {
        margin: 0 -0.25rem;
    }
    
    #navigationButtons .col-6 {
        padding: 0 0.25rem;
    }
}

@media (max-width: 576px) {
    #navigationButtons .btn {
        padding: 0.4rem;
        min-height: 40px;
        border-radius: 8px;
    }
    
    #navigationButtons .btn i {
        font-size: 1.1rem;
    }
    
    #navigationButtons .btn .app-logo {
        font-size: 0.9rem;
    }
}

.church-header-left .d-flex {
    gap: 0.5rem;
}

.church-header-left .church-title {
    max-width: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments - final section */
@media (max-width: 768px) {
    #churchInfo {
        margin: 1rem;
        border-radius: 25px;
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        overflow: hidden;
    }
    
    .church-content {
        padding: 2rem 1.5rem !important;
        background: transparent;
    }
    
    .church-title {
        font-size: 1.6rem;
    }
    
    .church-image-container {
        min-height: 250px;
        border-radius: 25px 25px 0 0;
    }
    
    .church-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .church-actions {
        margin-left: 0 !important;
        margin-top: 1rem;
    }
    
    /* Mobile specific flex adjustments */
    .church-header-left .d-flex {
        align-items: center !important;
        gap: 0.75rem;
    }
    
    .church-header-left .church-title {
        font-size: 1.4rem !important;
        flex-grow: 1;
        min-width: 0;
    }
}

@media (max-width: 576px) {
    .church-title {
        font-size: 1.4rem;
    }
    
    .church-content {
        padding: 1.5rem 1rem !important;
    }
    
    .church-category {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
}
