/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #1a1a1a;
}

a {
    text-decoration: none;
    color: #e74c3c;
}

a:hover {
    color: #c0392b;
}

/* Header Styling */
.main-header {
    background-color: #1e90ff; /* Customize background color */
    color: white;
    padding: 10px 0;
    position: fixed; /* Keeps the header on top while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensures it's always on top */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

/* Phone Number Styling */
.phone-number {
    text-align: center; /* Centers the phone number */
    font-size: 1.5rem;
    font-weight: bold;
}

.phone-number a {
    color: white;
    text-decoration: none;
}

.phone-number a:hover {
    text-decoration: underline;
}

/* Prevent content from being hidden behind fixed header */
body {
    padding-top: 60px; /* Adjust based on the height of the header */
}


/* Hero Header Section */
.hero-header {
    position: relative;
    background: url('images/hospital_bed.webp') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay to enhance readability */
    z-index: 1;
}

.hero-header .container {
    position: relative;
    z-index: 2;
}

.hero-header h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: white; /* Set the text color to white */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add shadow for better contrast */
}


/* Subheading (Second Line) */
.hero-header p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: white; /* Set the text color to white */
    background-color: rgba(30, 144, 255, 0.7); /* Light blue background with transparency */
    padding: 10px 20px; /* Add padding around the text */
    display: inline-block; /* Keep it as a box around the text */
    border-radius: 5px; /* Optional: Add rounded corners for a smoother look */
}


/* Primary Button */
.btn-primary {
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover State */
.btn-primary:hover {
    background-color: #c0392b; /* Darker red for hover state */
    color: white; /* Ensure text remains white */
}


/* Call to Action Section */
.call-now-section {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #e74c3c;
}

.call-now-section a {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e74c3c;
    text-decoration: none;
}

.call-now-section p {
    font-size: 1.2rem;
    color: #333;
}

/* Product Section Styles */
.product-section {
    padding: 50px 0;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.product-item {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    flex: 1 1 calc(50% - 30px);
    min-width: 300px;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.product-info .product-price {
    font-size: 1.2rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.product-info .product-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #1e90ff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1c86ee;
}

/* Section Styles */
.about-section {
    background-color: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}

.about-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.about-block {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.about-block:hover {
    transform: translateY(-10px);
}

/* Larger Icon Styling */
.about-block img.icon {
    max-width: 200px; /* Increased size */
    margin-bottom: 10px;
}

/* Text Styling */
.about-block h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.about-block p {
    font-size: 1rem;
    color: #666;
}

/* Form Section Styling */
.form-section {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.form-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

/* Form Styling */
#lead-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Form Group Styling */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

/* Label Styling */
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #555;
}

/* Input and Select Styling */
.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    border-color: #1e90ff;
    outline: none;
}

/* Button Styling */
.submit-btn {
    background-color: #1e90ff;
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #1c86ee;
}

/* Adjust form responsiveness */
@media (max-width: 768px) {
    #lead-form {
        padding: 20px;
    }

    .form-section h3 {
        font-size: 1.8rem;
    }
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}
