body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main{
    flex: 1;
}

header {
    background-color: #00796b;
    color: white;
    padding: 10px 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}


.hero {
    text-align: center;
    background: url('images/healthcare.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 20px;
    flex: 1;
    position: relative;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    text-align: center;
}

.hero-image {
    width: 200px; 
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
}


.cta-button {
    background-color: #00796b;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #004d40;
}

.features, .about, .contact {
    padding: 50px 20px;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00796b;
}

.feature-list {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.feature {
    flex: 1;
    margin: 0 10px;
}

.contact form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.contact label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    background-color: #00796b;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.contact button:hover {
    background-color: #004d40;
}

footer {
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
    width: 100%;
}

.image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent; 
    margin: 0 auto; 
    padding: 0; 
}

.image-placeholder img {
    max-width: 100%; 
    max-height: 300px; 
    width: auto; 
    height: auto; 
    border-radius: 8px; 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); 
}



.link-previews {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.preview {
    width: 30%;
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.preview h2 a {
    text-decoration: none;
    color: #00796b;
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: inline-block;
}

.preview p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #00796b;
    color: white;
}


form {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 8px;
}

form label {
    display: block;
    margin: 10px 0 5px;
}

form input, form select, form textarea, form button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #00796b;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
}

form button:hover {
    background-color: #005a4c;
}


.features {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #00796b;
}

.feature-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.feature-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
    color: #00796b;
}

.feature-card p {
    color: #555;
    font-size: 1rem;
    margin: 0 0 15px;
}

.feature-card button {
    background-color: #00796b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.feature-card button:hover {
    background-color: #005a4c;
}

.about {
    max-width: 800px;
    margin: 3rem auto;
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00796b;;
    text-align: center;
}

.about p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

.about h3 {
    font-size: 1.5rem;
    color: #00796b;;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.about ul {
    margin-left: 1.5rem;
    list-style: disc;
    color: #555;
}

.about ul li {
    margin-bottom: 0.8rem;
}
