/* Custom CSS for Healthcare Grove Theme (style.css) */

/* ================== Color Palette Variables ================== */
:root {
    --prime-dark: #04353D; /* Text, Main Footer BG */
    --prime-teal: #5AC5C8; /* Accents, CTA Button Hover, Icons */
    --prime-light: #E3E6E9; /* Alternating Section BG */
    --prime-white: #ffffff;
}

/* ================== Global & Sections ================== */

/* Define the light background for alternating sections */
.bg-light-prime {
    background-color: var(--prime-light) !important;
}

/* Define the CTA background (dark color) */
.prime-cta-bg {
    background-color: var(--prime-dark) !important;
}

/* Color classes */
.text-prime-dark { color: var(--prime-dark) !important; }
.text-prime-teal { color: var(--prime-teal) !important; }

/* Set default text color to the dark theme color */
body {
    color: var(--prime-dark);
}

/* ================== 1. Navbar Customization ================== */

.prime-navbar {
    background-color: var(--prime-white); /* Ensure no default Bootstrap bg-color */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow, not fixed to top */
}

/* Logo/Brand Text */
.prime-brand {
    color: var(--prime-dark);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Centered Navigation Links (Requires justify-content-center in HTML) */
.prime-nav-links .nav-link {
    color: var(--prime-dark);
    font-weight: 500;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    transition: color 0.3s ease;
}

.prime-nav-links .nav-link:hover,
.prime-nav-links .nav-link.active {
    color: var(--prime-teal);
}

/* CTA Button in Navbar (The dark button with hover effect) */
.btn-prime-cta {
    background-color: var(--prime-dark);
    color: var(--prime-white);
    border-color: var(--prime-dark);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-prime-cta:hover {
    background-color: var(--prime-teal);
    color: var(--prime-dark);
    border-color: var(--prime-teal);
}

/* Outline button style (for hero section) */
.btn-outline-prime-dark {
    color: var(--prime-dark);
    border-color: var(--prime-dark);
    transition: background-color 0.3s, color 0.3s;
}

.btn-outline-prime-dark:hover {
    background-color: var(--prime-dark);
    color: var(--prime-white);
    border-color: var(--prime-dark);
}

/* ================== 7. Services Section Customization ================== */
/* Ensure all service card images are the same size for a neat layout */
.prime-card-img {
    width: 100%;
    height: 200px; /* Fixed height for image */
    object-fit: cover; /* Ensures image covers the space without distortion */
}

/* Limit service description to 5 lines */
.five-line-desc {
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Limit to 5 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================== 12. Footer Customization ================== */
.prime-footer {
    background-color: var(--prime-dark);
}

.prime-footer a:hover {
    color: var(--prime-white) !important;
}

/* ================== Responsiveness (Example) ================== */
@media (max-width: 991.98px) {
    /* Adjust spacing for mobile views if needed */
    .hero-image-col {
        min-height: 250px;
    }
}