/**
 * Custom CSS overrides for Steady Driving School
 * This file contains custom styles that override default Bootstrap and theme styles
 */

/* Make all card headers with bg-primary class have white text */
.card .card-header.bg-primary,
.card .card-header.bg-primary *,
.card-header.bg-primary,
.card-header.bg-primary *,
.bg-primary,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-primary p,
.bg-primary span,
.bg-primary div {
  color: #ffffff !important;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: none;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-decoration: none;
    color: #FFF !important;
    display: block;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    color: #FFF !important;
    text-decoration: none;
}

.whatsapp-button i {
    margin-top: 16px;
}

/* WhatsApp float animation */
@keyframes bounce {
    0%, 10%, 25%, 40%, 50% {
        transform: translateY(0px);
    }
    20% {
        transform: translateY(-10px);
    }
    30% {
        transform: translateY(-5px);
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
    
    .whatsapp-button i {
        margin-top: 13px;
    }
}