/* Custom CSS to override Bootstrap defaults */

/* Use the Deep Blue for our primary buttons and accents */
.btn-primary {
    background-color: #3F3293 !important;
    border-color: #3F3293 !important;
}

/* Use the Bold Red for Call-To-Action buttons */
.btn-danger {
    background-color: #D12621 !important;
    border-color: #D12621 !important;
}

/* Custom section headers */
.text-primary-color {
    color: #3F3293;
}

.text-secondary-color {
    color: #D12621;
}


/* Custom Gallery Hover Animation */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 4px solid transparent !important;
}

.project-card:hover {
    transform: translateY(-10px); /* Lifts the card up smoothly */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important; /* Makes the shadow deeper */
    border-bottom-color: #3F3293 !important; /* Displays our brand Deep Blue at the bottom */
}

/* Back to Top Button Fixed Position */
#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none; /* Hidden by default; JavaScript will handle revealing it */
    z-index: 99;   /* Ensures it floats safely on top of all other elements */
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Hover effects matching the Fast Construction theme */
#backToTop:hover {
    background-color: #D12621 !important;
    border-color: #D12621 !important;
    transform: translateY(-5px); /* Smooth premium lift effect */
}

/* Custom Premium WhatsApp Button */
.btn-whatsapp {
    background-color: #25D366 !important; /* Official WhatsApp Green */
    border-color: #25D366 !important;
    color: #ffffff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E !important; /* Darker WhatsApp Teal on hover */
    border-color: #128C7E !important;
    transform: translateY(-2px); /* Subtle premium lift */
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

/* GLOBAL PREMIUM BUTTON EFFECTS */

/* 1. Set a global transition smooth speed for all buttons */
.btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 2. The Hover State: Subtle lift and deeper shadow */
.btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

/* 3. The Click State: The "Popping" compression effect */
.btn:active {
    transform: translateY(1px) scale(0.96) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

/* ========================================== */
/* Testimonial Card Styling                   */
/* ========================================== */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px !important; /* Forces soft corners like your project cards */
}

/* Subtle hover pop effect matching your theme's interactivity */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Makes the user reviews look slightly distinct and stylized */
.italic-text {
    font-style: italic;
    line-height: 1.6;
}
