/* Base styles */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Container */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Header styles */
header {
    background: #4CAF50;
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #333399 3px solid;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}

header ul {
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 20px;
}

header h1 {
    float: left;
    margin-top: 0;
    font-size: 24px;
    letter-spacing: 2px;
}

header nav {
    float: right;
    margin-top: 10px;
}

/* Hero section */
/* Hero section with full background image */
section#home {
    background-image: url('images/happy_patient1.jpg'); /* Path to your image */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    color: #ffffff; /* Text color (adjust as needed for readability) */
    text-align: center;
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Adjusting the container to center content vertically */
section#home .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better text readability */
    border-radius: 8px;
}


section#home h2 {
    font-size: 48px;
    margin-top: 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

section#home p {
    font-size: 22px;
    margin: 20px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

section#home .btn {
    display: inline-block;
    background: #333399;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease-in-out;
}

section#home .btn:hover {
    background: #4CAF50;
}

/* About, Services, Contact sections */
section#about,
section#services,
section#contact {
    background: #ffffff;
    color: #333333;
    padding: 60px 0;
}

section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #4CAF50;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

section#about p,
section#services ul {
    font-size: 18px;
    line-height: 1.8;
}

.about-images {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.about-images img {
    width: 32%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.about-images img:hover {
    transform: scale(1.05);
}

section#services ul {
    list-style-type: disc;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
}

section#services li {
    padding: 10px 0;
}

/* Contact form */
section#contact form {
    max-width: 600px;
    margin: auto;
    background: #f4f4f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

section#contact label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

section#contact input[type="text"],
section#contact input[type="email"],
section#contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

section#contact button {
    display: inline-block;
    background: #333399;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
    border: none;
}

section#contact button:hover {
    background: #4CAF50;
}

/* Footer styles */
footer {
    background: #333399;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 3px solid #4CAF50;
}
/* Contact section */
section#contact {
    display: flex;
    justify-content: center; /* Centers the container horizontally */
    align-items: center; /* Centers the container vertically */
    min-height: 10vh; /* Makes the section fill the viewport height */
    background-color: #f4f4f9; /* Background color */
}

section#contact .container {
    width: 50%; /* Adjust container width */
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; /* Centers the text inside */
}

section#contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #4CAF50;
}

section#contact p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

section#contact .contact-details p {
    margin: 10px 0;
}

section#contact .contact-details span {
    font-weight: bold;
    color: #333399;
}
/* Services section with background image */
section#services {
    position: relative;
    background-image: url('images/happy_patient5.jpg'); /* Replace with the correct path to your image */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-attachment: fixed; /* Keeps the image fixed while scrolling */
    padding: 60px 0;
 /* Centers the text */
}

/* Container with a semi-transparent background */
section#services .container {
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    color: #ffffff; /* White text for readability */
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto; /* Center container horizontally */
}

section#services h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffffff; /* White text */
    text-transform: uppercase;
    letter-spacing: 1px;
}

section#services ul {
    list-style-type: disc;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    color: #ffffff; /* White text */
}

section#services li {
    padding: 10px 0;
    font-size: 18px;
    line-height: 1.8;
}


footer p {
    margin: 0;
    font-size
