/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body Styling */
body {
    font-family: "Inter Tight", sans-serif;
    background-color: #ffffff; /* Default background color */
    color: #333; /* Default text color */
    line-height: 1.6;
    padding: 0 10px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 16px; /* Default body text size for desktop */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 20px 0;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem; /* Base font size for larger screens */
}

h2 {
    font-size: 2rem; /* Base font size for larger screens */
}

h3 {
    font-size: 1.75rem; /* Base font size for larger screens */
}

p {
    font-size: 1rem; /* Base font size for larger screens */
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Buttons */
button,
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background-color: #3498db;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover,
.btn:hover {
    background-color: #2980b9;
}

/* Container Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 40px 0;
}

/* Pill-shaped Containers for Offerings */
.pills-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 10px;
    justify-content: center; /* Center pills horizontally */
    margin: 20px 0;
}

.pill {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #3498db;
    border-radius: 50px;
    color: #3498db;
    background-color: white;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
    cursor: pointer;
}

.pill:hover {
    background-color: #3498db;
    color: white;
}

/* Black and White Styling for Specific Page */
body.black-white {
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pill-container {
    display: flex;
    justify-content: center; /* Center pills horizontally */
    align-items: center;
    gap: 12px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.pill {
    padding: 12px 24px;
    border: 2px solid black;
    color: black;
    background-color: white;
    font-size: 1.2rem;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
    cursor: pointer;
}

.pill:hover {
    background-color: black;
    color: white;
}

/* Center the title and menu horizontally and place them at the top */
.navbar {
    text-align: center;
    position: absolute;
    top: 20px;
    width: 100%;
}

.navbar .logo a {
    color: black;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    display: block;
    margin-bottom: 30px; /* Space between title and menu */
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between pills */
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 50px; /* Pill Shape */
    color: black;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.nav-links a:hover {
    background-color: black;
    color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #777;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Adjusted body text size for medium screens */
    }

    h1 {
        font-size: 2rem; /* Adjusted font size for medium screens */
    }

    h2 {
        font-size: 1.75rem; /* Adjusted font size for medium screens */
    }

    h3 {
        font-size: 1.5rem; /* Adjusted font size for medium screens */
    }

    p {
        font-size: 0.9rem; /* Adjusted font size for medium screens */
    }

    .container {
        padding: 0 10px;
    }

    /* Stack pills vertically on smaller screens */
    .pills-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links li {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 12px; /* Adjusted body text size for small screens */
    }

    h1 {
        font-size: 1.75rem; /* Adjusted font size for small screens */
    }

    h2 {
        font-size: 1.5rem; /* Adjusted font size for small screens */
    }

    h3 {
        font-size: 1.25rem; /* Adjusted font size for small screens */
    }

    p {
        font-size: 0.85rem; /* Adjusted font size for small screens */
    }

    button,
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}
