/* Custom styles on top of Bootstrap */
:root {
    --transition-speed: 0.3s;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation animation */
.nav-link {
    position: relative;
    transition: var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--bs-primary);
    transition: var(--transition-speed);
}

.nav-link:hover::after {
    width: 100%;
}

/* Service cards */
.service-card {
    transition: transform var(--transition-speed);
}

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

/* Blog post */
.blog-post {
    transition: var(--transition-speed);
}

.blog-post:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Contact form */
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Custom animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.post-image {
    width: 100%;
    height: 200px; /* Set the desired height */
    object-fit: cover; /* Ensure the image covers the area */
    object-position: center; /* Center the image */
}