/* Otacho Hands of Grace Custom Styles */

/* Service Items */
.service-item {
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

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

.icon-box {
    text-align: center;
}

/* Counter Box */
.counterbox {
    transition: all 0.3s ease;
}

.counterbox:hover {
    transform: scale(1.05);
}

/* Future Cards */
.future-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

/* Program Section Background */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Card height adjustments */
.card {
    transition: all 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-6 {
        font-size: 1.8rem;
    }
    
    .service-item, .future-card {
        margin-bottom: 20px;
    }
}

/* Animation delays for staggered effects */
.wow:nth-child(2) {
    animation-delay: 0.2s;
}

.wow:nth-child(3) {
    animation-delay: 0.4s;
}

.wow:nth-child(4) {
    animation-delay: 0.6s;
}
/* Footer Full Width Fixes */
.container-fluid.footer {
    padding-left: 0;
    padding-right: 0;
}

.container-fluid.copyright {
    padding-left: 0;
    padding-right: 0;
    margin-top: 1rem;
}

.container-fluid.copyright .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ensure all footer sections are full width */
footer .container, 
footer .container-fluid {
    max-width: 100%;
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
    .footer .row {
        text-align: center;
    }
    
    .footer .d-flex {
        justify-content: center;
    }
}
/* Otacho Hands of Grace Custom Styles */

/* Service Items */
.service-item {
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

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

.icon-box {
    text-align: center;
}

/* Counter Box */
.counterbox {
    transition: all 0.3s ease;
}

.counterbox:hover {
    transform: scale(1.05);
}

/* Future Cards */
.future-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

/* Program Section Background */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Card height adjustments */
.card {
    transition: all 0.3s ease;
}

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

/* Image enhancements */
img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer Full Width Fixes */
.container-fluid.footer {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.container-fluid.copyright {
    padding-left: 0;
    padding-right: 0;
    margin-top: 1rem;
    background-color: #212529;
    width: 100%;
}

.container-fluid.copyright .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ensure all footer sections are full width */
footer .container, 
footer .container-fluid {
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-6 {
        font-size: 1.8rem;
    }
    
    .service-item, .future-card {
        margin-bottom: 20px;
    }
    
    .footer .row {
        text-align: center;
    }
    
    .footer .d-flex {
        justify-content: center;
    }
    
    img {
        margin-bottom: 20px;
    }
}

/* Animation delays for staggered effects */
.wow:nth-child(2) {
    animation-delay: 0.2s;
}

.wow:nth-child(3) {
    animation-delay: 0.4s;
}

.wow:nth-child(4) {
    animation-delay: 0.6s;
}
/* Gallery Page Styles */
.gallery-filter {
    margin-bottom: 30px;
}

.gallery-filter .btn {
    margin: 5px;
    transition: all 0.3s ease;
}

.gallery-filter .btn:hover,
.gallery-filter .btn.active {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

.gallery-card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 250px;
}

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

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-caption h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.gallery-caption p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255,255,255,0.8);
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .gallery-filter .btn {
        margin: 2px;
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .gallery-card {
        height: 200px;
    }
    
    .gallery-caption h5 {
        font-size: 1rem;
    }
    
    .gallery-caption p {
        font-size: 0.8rem;
    }
}

/* Animation for gallery items */
.gallery-item {
    animation-duration: 1s;
    animation-fill-mode: both;
}