body {
    margin: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    display: flex; /* Use Flexbox on the body */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow-x: hidden;
    background-image: url("../resources/doc_background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow-y: hidden;
}

/* Blurred background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(7px); /* Increase blur intensity for a stronger effect */
    z-index: -1;
    pointer-events: none; /* Ensures it doesn’t block interactions with content */
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #4F8DDE;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.title {
    font-size: 1.5em;
    flex-grow: 1;
    text-align: left;
    margin: 0 10px;
    white-space: nowrap;
    color: white;
}

.loginbtn {
    padding: 8px 50px;
    background-color: #4F8DDE;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: auto;
}

.loginbtn:hover {
    text-decoration: underline;
    font-weight: bold;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    text-align: center;
    min-height: 100vh; /* Ensure it spans the full viewport height */
    margin: 0; /* Remove margin */
    width: 50%; /* Make it full width */
}


/* Information */
.information {
    background: rgba(255, 255, 255, 0.9); /* White background with transparency */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.title2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
}

.desc {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.inq {
    background-color: #4F8DDE;
    color: white;
    padding: 10px 20px;
    font-size: 1.2em;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.inq:hover {
    background-color: #3C74C3;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .title2 {
        font-size: 2em;
    }

    .desc {
        font-size: 1em;
    }

    .inq {
        padding: 8px 15px;
        font-size: 1em;
    }
}

/* Carousel for health tips */
.carousel {
    width: 100%;
    overflow: hidden; /* Hide items outside the container */
    position: relative;
    margin: 20px 0;
}

.carousel-content {
    display: flex;
    transition: transform 1s ease-in-out;
    width: 100%;
}

.carousel-item {
    min-width: 100%; /* Each item takes full width */
    text-align: center;
    font-size: 1.2em;
    color: #333;
    padding: 10px 20px;
    box-sizing: border-box;
    opacity: 0.9;
}