/* General body and layout styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #333;
}

/* Container for centralized content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Adds padding to prevent content from hitting screen edges */
}

/* Navbar */
header {
    background-color: #e7f0ff;
    /* Change this to your desired color */
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Padding to prevent navbar items from touching screen edges */
}

nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

.logo img {
    max-width: 100px;
    /* Set a fixed size for the logo */
    height: auto;
}

nav ul li a {
    color: #333;
    /* Change this if you want the text to match the new background */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

nav ul li a:hover,
nav ul li a.active {
    color: #007bff;
    /* You can customize this as well for hover/active states */
}

/* Hero Section */
.hero {
    background-image: url('../images/clinic.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
    background-color: rgba(0, 123, 255, 0.6);
    background-blend-mode: multiply;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn {
    background-color: #007bff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #0056b3;
}

/* About Section */
.about-page {
    padding: 80px 0;
    text-align: center;
}

.about-page h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #007bff;
}

.about-page p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-page .profile-img {
    border-radius: 50%;
    width: 200px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #007bff;
}

.services .service-item {
    display: inline-block;
    width: 30%;
    margin: 20px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.services img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

.services h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #007bff;
}

.services p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #007bff;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact form label {
    display: block;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact form button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact form button:hover {
    background-color: #0056b3;
}

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

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