Global Background Style
body {
    /* background: linear-gradient(135deg, #5c7f75 50%, #e8eceb 50%); */
    background-attachment: fixed;
    background-size: cover;
    color: #333; /* Neutral text color */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    position: relative; /* Ensure pseudo-element positioning works */
}

/* Subtle paper texture overlay */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    background-repeat: repeat;
    opacity: 0.2; /* Adjust for subtlety */
    z-index: 1;
    pointer-events: none; /* Ensures it doesn’t block user interactions */
}

/* General Navigation Bar Styling */
.custom-nav {
    background-color: #5c7f75; /* Seiheki */
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Container for navigation items */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 1200px;
}

/* Individual navigation sections */
.nav-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Space between links */
    flex: 1; /* Equal spacing for sections */
}

/* Center the other items block */
.other-items {
    justify-content: center;
}

/* Links Styling */
.nav-link {
    text-decoration: none;
    color: #ffffff; /* White text */
    font-size: 16px;
    padding: 8px 15px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.nav-link:hover {
    background-color: #e8eceb; /* Byakugun */
    color: #5c7f75;
}

/* Special styling for the appointment link */
.appointment-link {
    font-weight: bold;
    background-color: #e8eceb; /* Byakugun */
    color: #5c7f75; /* Seiheki */
    padding: 8px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.appointment-link:hover {
    background-color: #ffffff;
    color: #5c7f75;
}

/* Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-section {
        flex: unset;
    }
}



/* Main container */
.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

/* Section styles */
h1, h2 {
    color: #5c7f75; /* Seiheki for titles */
    text-align: center;
    margin-bottom: 20px;
}

p {
    line-height: 1.6;
    color: #333;
}

/* Buttons */
button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #5c7f75;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #e8eceb;
    color: #5c7f75;
}

/* Footer */
footer {
    background-color: #5c7f75;
    color: #fff;
    text-align: center;
    padding: 20px;
    border-top: 2px solid #e8eceb;
}

footer a {
    color: #e8eceb;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 5px;
    background-color: #555;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    font-size: 18px;
}

footer .social-icons a:hover {
    background-color: #777;
}
