﻿/* --- Global Theme --- */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    position: relative;
    background-color: #ffffff;
    color: #001f3f;
    padding-top: 80px;
    margin-bottom: 60px;
    font-family: 'Poppins', sans-serif;
}

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/images/background.png') center/cover no-repeat;
        filter: blur(6px) brightness(80%);
        z-index: -1; /* keep behind content */
    }

/* --- Navbar --- */
.navbar {
    background: #ffffff !important;
    border-bottom: 2px solid #f0f4f8;
}

.navbar-brand {
    color: #0d6efd !important; /* medical blue */
    font-weight: 700;
}

.nav-link {
    color: #001f3f !important;
    font-weight: 500;
    transition: 0.3s ease;
}

    .nav-link:hover {
        color: #0d6efd !important;
    }

    .nav-link.active {
        color: #0d6efd !important;
        font-weight: 600;
        border-bottom: 2px solid #0d6efd;
    }

/* --- Buttons --- */
.btn-primary {
    background: linear-gradient(90deg, #20B2C5, #1aa3b5);
    border: none;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(32, 178, 197, 0.3);
    background: linear-gradient(90deg, #1aa3b5, #20B2C5);
}

/* --- Sections --- */
section {
    scroll-margin-top: 80px;
    padding: 80px 0;
}

.section-light {
    background: #ffffff; /* pure white clinical */
}

.section-soft {
    background: #f2f5f8; /* soft grey medical panel */
}

.section-dark {
    background: #001f3f; /* premium navy */
    color: white;
}

/* --- Footer --- */
.footer-dark {
    background-color: #001f3f; /* premium navy */
    color: #d9e2ef;
}

    .footer-dark a:hover {
        color: #00bfff;
    }

/* --- Product Cards --- */
.product-card {
    background: white;
    border: 1px solid #e3e9f0;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* --- Contact Form --- */
#contact input:focus,
#contact textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 6px rgba(13, 110, 253, 0.3);
}

#contact .btn-primary:hover {
    background-color: #003b99;
}

/* --- Smooth Transition Fix --- */
html {
    scroll-behavior: smooth;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}
