/* Color Palette based on Bluecore RCM Logo */
:root {
    --navy-blue: #1A264A;
    --royal-blue: #235CA0;
    --soft-green: #619B72;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --text-dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 70px; /* Adjust based on actual logo file dimensions */
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--royal-blue);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 10px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: var(--royal-blue);
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: var(--navy-blue);
}

.btn-secondary {
    background-color: var(--soft-green);
    color: var(--white);
    display: inline-block;
    margin-top: 20px;
}

.btn-secondary:hover {
    background-color: #4e805d;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--royal-blue) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* Services */
.services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    color: var(--navy-blue);
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--soft-green);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--royal-blue);
    margin-bottom: 15px;
}

/* Contact Form */
.contact {
    padding: 80px 0;
}

.contact-subtext {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--royal-blue);
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

/* Footer */
footer {
    background-color: var(--navy-blue);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add a hamburger menu here for mobile if desired */
    }
    .hero h1 {
        font-size: 2rem;
    }
}

/* --- Background Image Sections with Opacity Overlays --- */

/* About Us - Dark Overlay */
.about-section {
    padding: 100px 0;
    text-align: center;
    /* The linear-gradient creates a semi-transparent Navy Blue overlay (0.85 opacity) over the image */
    background: linear-gradient(rgba(26, 38, 74, 0.85), rgba(26, 38, 74, 0.85)), 
                url('images/aboutusbg.jpg') center/cover no-repeat fixed;
    color: var(--white);
}

.about-section .section-title {
    color: var(--white); /* Overrides the default navy blue title for dark backgrounds */
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Why Choose Us - Light Overlay */
.why-choose-us {
    padding: 100px 0;
    /* The linear-gradient creates a semi-transparent Light Gray overlay (0.90 opacity) over the image */
    background: linear-gradient(rgba(244, 247, 246, 0.90), rgba(244, 247, 246, 0.90)), 
                url('why-us-bg.jpg') center/cover no-repeat fixed;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent white card */
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--royal-blue);
    backdrop-filter: blur(5px); /* Adds a modern frosted glass effect */
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: #555;
}

/* Utility Class */
.text-light {
    color: var(--white) !important;
}