/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

/* Hero Section */
.hero {
    position: relative;
    height: 50vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffcc00;
}

.hero p {
    font-size: 1.2rem;
    color: #fcd9b0;
}

/* Search Bar */
.search-bar {
    padding: 20px 0;
    background-color: #004d40;
    text-align: center;
}

.search-bar input {
    padding: 10px 15px;
    width: 50%;
    border-radius: 8px;
    border: none;
    font-size: 1.2rem;
    outline: none;
}

/* Patient Information Section */
.patient-information {
    padding: 40px 20px;
    background: #f9f9f9;
    text-align: center;
}

.patient-information .container {
    max-width: 1200px;
    margin: 0 auto;
}

.patient-item {
    background: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.patient-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.patient-item h2 {
    font-size: 1.8rem;
    color: #004d40;
    margin-bottom: 10px;
}

.read-more-btn {
    background-color: #ffcc00;
    color: #004d40;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #004d40;
    color: #fff;
}

.details {
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}
/* Comments Section */
.comments {
    background: linear-gradient(to right, #e0f7fa, #b2ebf2); /* Soft blue gradient */
    padding: 50px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.comments h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00796b; /* Teal for heading */
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Comment Form */
#comment-form {
    margin-bottom: 40px;
}

#comment-form input, 
#comment-form textarea {
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #b2dfdb; /* Light teal border */
    border-radius: 8px;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#comment-form input:focus, 
#comment-form textarea:focus {
    border-color: #00796b; /* Teal border on focus */
    box-shadow: 0 4px 8px rgba(0, 121, 107, 0.3);
}

#comment-form button {
    padding: 12px 25px;
    font-size: 1rem;
    color: #fff;
    background-color: #00796b; /* Teal for button */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#comment-form button:hover {
    background-color: #004d40; /* Darker teal on hover */
    transform: scale(1.05);
}

/* Comment List */
#comment-list {
    margin-top: 40px;
    text-align: left;
}

.comment-item {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.comment-item strong {
    font-size: 1.2rem;
    color: #00796b;
    display: block;
    margin-bottom: 5px;
}

.comment-item p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.comment-item small {
    font-size: 0.9rem;
    color: #999999;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comments h2 {
        font-size: 2rem;
    }

    #comment-form input, 
    #comment-form textarea {
        font-size: 0.9rem;
    }

    #comment-form button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .comment-item strong {
        font-size: 1rem;
    }

    .comment-item p {
        font-size: 0.9rem;
    }

    .comment-item small {
        font-size: 0.8rem;
    }
}




/* Responsive Design */
@media (max-width: 768px) {
    .search-bar input {
        width: 80%;
    }

    .patient-item h2 {
        font-size: 1.5rem;
    }

    .details {
        font-size: 0.9rem;
    }
}
