html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #333333 #121212;
}

/* WebKit Scrollbar Styling (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 5px;
    border: 2px solid #121212;
}

::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

/* Base Styles & Typography */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* Accessibility Utility Class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Main Content Area */

#container {
    max-width: 680px;
    width: 100%;
    padding: 40px 20px;
    margin: 40px auto;
    box-sizing: border-box;
    text-align: center;
}

#container ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

#container h1 {
    font-size: 2.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: #ffffff;
}

#container p {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #a0a0a0;
    margin-bottom: 20px;
}

/* Services List Styling */
.services-list {
    list-style: none;
    padding: 0;
    margin: 25px auto;
    max-width: 480px;
}

.services-list li {
    padding: 12px 18px;
    margin-bottom: 10px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    color: #d0d0d0;
    font-size: 1.05rem;
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.services-list li:hover {
    border-color: #444444;
    background-color: #222222;
    transform: translateY(-2px);
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #1a1a1a9d;
    border-bottom: 1px solid #2a2a2a;
}

.navbar .logo {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar .logo:hover {
    color: #e0e0e0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #ffffff;
}

.nav-links a[aria-current="page"] {
    font-weight: bold;
}

/* Search Form Container */
.search-container {
    display: flex;
    align-items: center;
}

/* Search Input */
.search-container input[type="search"],
.search-container input[type="text"] {
    background-color: #121212;
    color: #e0e0e0;
    border: 1px solid #333333;
    border-radius: 4px 0 0 4px;
    padding: 8px 12px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
}

.search-container input[type="search"]::-webkit-search-decoration,
.search-container input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.search-container input[type="search"]::placeholder,
.search-container input[type="text"]::placeholder {
    color: #666666;
    font-style: italic;
}

.search-container input[type="search"]:focus,
.search-container input[type="text"]:focus {
    border-color: #555555;
}

/* Search Button */
.search-container button {
    background-color: #2a2a2a;
    color: #cccccc;
    border: 1px solid #333333;
    border-left: none;
    border-radius: 0 4px 4px 0;
    padding: 8px 14px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.search-container button:hover {
    background-color: #383838;
    color: #ffffff;
}

/* Headings & Text Helpers */
h2 {
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #cccccc;
}

/* Loading Dots Animation */
.dot {
    display: inline-block;
    animation: pulseDots 1.4s infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulseDots {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Media Query (Mobile / Tablet Layout) */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }

    .nav-right {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .nav-links {
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .search-container {
        width: 100%;
        justify-content: center;
    }

    .search-container input[type="search"],
    .search-container input[type="text"] {
        width: 60%;
    }

}