/* Custom CSS for LabInventory Landing Page */

/* General Styles */
:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #4cc9f0;
    --dark-color: #2b2d42;
    --light-color: #f8f9fa;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
}

section {
    padding: 5rem 0;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero Section */
#hero {
    background-color: var(--light-color);
    padding-top: 8rem;
    padding-bottom: 5rem;
}

/* Feature Icons */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
}

/* Pricing Section */
.pricing-popular {
    transform: scale(1.05);
    position: relative;
    z-index: 1;
}

.ribbon {
    position: absolute;
    top: 0;
    right: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 0 0 0.5rem 0.5rem;
}

.pricing-value {
    position: relative;
}

.pricing-value::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 25%;
    width: 50%;
    height: 1px;
    background-color: #dee2e6;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Testimonials */
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 1.5rem;
}

/* Screenshots Carousel */
#screenshotCarousel img {
    max-height: 500px;
    object-fit: cover;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 0.7;
    visibility: visible;
}

.back-to-top:hover {
    opacity: 1;
    color: white;
}

/* Yearly/Monthly Pricing Toggle 
.yearly-price {
    display: none;
}
*/
/* Media Queries */
@media (max-width: 991.98px) {
    .pricing-popular {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 3rem 0;
    }
    
    #hero {
        padding-top: 6rem;
    }
}
