/* 
   Custom CSS to supplement Bootstrap 5.3 
*/

:root {
    /* Solid Vibrant Color Palette Overrides */
    --bs-primary: #2563eb; /* Vibrant Blue */
    --bs-primary-rgb: 37, 99, 235;
    
    --bs-info: #0ea5e9; /* Sky Blue for accents */
    --bs-info-rgb: 14, 165, 233;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom Backgrounds & Text */
.bg-soft {
    background-color: #f8fafc;
}

/* Customizing Bootstrap Primary Button */
.btn-primary {
    background-color: var(--bs-primary);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #1d4ed8; /* Darker blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

/* Custom hover effect for service cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(37, 99, 235, 0.1) !important;
    border-top: 4px solid var(--bs-primary);
}

/* Icon Containers */
.icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--bs-primary);
    margin-bottom: 1.5rem;
}

/* Customizing Bootstrap Input Focus */
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
}

/* Navbar active state transition */
.navbar-nav .nav-link {
    transition: color 0.2s ease;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--bs-primary) !important;
}

/* Form icon styles */
.contact-icon {
    color: var(--bs-primary);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating-animation {
    animation: float 5s ease-in-out infinite;
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}
