/* Custom styles to enhance Bootstrap */
.stats-banner {
    position: relative;
    overflow: hidden;
    margin: 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.stat-icon {
    color: #1b1b1b; /* Bootstrap primary color */
    transition: transform 0.3s ease;
    font-weight: 100; /* Make icons thinner */
    opacity: 0.8; /* Slightly transparent for softer look */
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.feature-card {
    transition: transform 0.3s ease;
}

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

.feature-icon {
    color: #afafaf; /* Bootstrap primary color */
}

/* Animation for numbers */
.stat-number {
    transition: color 0.3s ease;
}

.stat-card:hover .stat-number {
    color: #8390a3 !important; /* Slightly darker blue on hover */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-banner {
        min-height: 60vh;
    }
    
    .stat-icon {
        font-size: 3rem !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .stat-label {
        font-size: 1rem !important;
    }
}

@media (max-width: 992px) {
    .stats-banner {
        min-height: 50vh;
    }
    
    .stat-icon {
        font-size: 2.5rem !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px) {
    .stats-banner {
        min-height: 40vh;
        padding: 2rem 0;
    }
    
    .stat-icon {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }
    
    .stat-label {
        font-size: 0.85rem !important;
    }
    
    .stats-banner h2 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    .stats-banner {
        min-height: 35vh;
        padding: 1.5rem 0;
    }
    
    .stat-icon {
        font-size: 1.8rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
    }
    
    .stats-banner h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-banner {
        min-height: 30vh;
        padding: 1rem 0;
    }
    
    .stat-icon {
        font-size: 1.5rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    .stat-number {
        font-size: 1.3rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    .stat-label {
        font-size: 0.75rem !important;
    }
    
    .stats-banner h2 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .row.g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
}

@media (max-width: 360px) {
    .stats-banner {
        min-height: 25vh;
        padding: 0.8rem 0;
    }
    
    .stat-icon {
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .stat-number {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .stat-label {
        font-size: 0.7rem !important;
    }
    
    .stats-banner h2 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .stat-card:hover .stat-icon {
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .stat-card:hover .stat-number {
        color: inherit !important;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .stats-banner {
        min-height: 30vh;
        padding: 1rem 0;
    }
    
    .stat-icon {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .stat-number {
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
    }
    
    .stats-banner h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
}

/* Video Footer Styles */
.video-footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
}

.footer-content {
    color: white;
}

.footer-section {
    padding: 1rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #e0e0e0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-divider {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
}

.footer-divider:last-child {
    border-right: none;
}

/* Video Background Styles */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

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

.content-wrapper {
    position: relative;
    z-index: 1;
    color: white;
}

.stats-banner h2 {
    color: white !important;
}

.stat-number {
    color: #fff !important;
}

.stat-label {
    color: #e0e0e0 !important;
}

.stat-icon {
    color: #fff !important;
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
    .video-footer {
        padding: 1rem 0;
    }
    
    .footer-section {
        padding: 0.5rem;
        text-align: center;
    }
    
    .footer-divider {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    
    .footer-divider:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .footer-section ul li {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 576px) {
    .video-footer {
        padding: 0.8rem 0;
    }
    
    .footer-section {
        padding: 0.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }
    
    .footer-section ul li {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .footer-divider {
        margin-bottom: 0.8rem;
        padding-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats-banner {
        min-height: 30vh;
    }
    
    .video-footer {
        padding: 0.6rem 0;
    }
    
    .footer-section {
        padding: 0.2rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section p {
        font-size: 0.8rem;
    }
    
    .footer-section ul li {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }
}