/*
 * Styles for the pricing guide page.
 *
 * This stylesheet collects all of the inline CSS originally defined
 * inside pricing-guide.html.  Separating the rules into an external file
 * helps enforce a strict Content‑Security‑Policy and improves caching.
 */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #083d77;
    color: white;
    flex-wrap: wrap;
}

.left-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Use gap for spacing between nav links rather than per-link margins */
nav a {
    color: white;
    text-decoration: none;
    margin: 0;
    font-weight: bold;
}

nav select {
    margin-right: 20px;
    padding: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    appearance: none;
}

nav select option {
    background: #fff;
    color: #000;
}

/* Dropdown styling mirrors the home page */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #083d77;
    min-width: 160px;
    top: 100%;
    left: 0;
    z-index: 1;
    border-radius: 0 0 4px 4px;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: white;
    white-space: nowrap;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-top: 40px;
    background: #f8f8f8;
    padding: 30px;
    border-radius: 6px;
}

h1,
h2 {
    margin-top: 0;
    color: #083d77;
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 8px;
}

/* CTA (call to action) section styling */
.cta {
    margin-top: 30px;
    padding: 20px;
    background: #eaeaea;
    border-radius: 6px;
    text-align: center;
}

.cta a {
    display: inline-block;
    padding: 10px 20px;
    background: #083d77;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

/* Contact information bar above the footer */
.contact-info {
    background: #fff;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

.contact-info a {
    color: #083d77;
    text-decoration: underline;
}

.contact-info a:hover {
    text-decoration: none;
}

/* Footer styling contains only copyright, matching the primary blue of the header */
.footer {
    background: #083d77;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

/* Logo styling for navigation bar */
.logo {
    height: 40px;
    width: auto;
    margin-right: 15px;
}

/* Responsive adjustments: stack navigation links vertically on small screens */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .left-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    nav a {
        margin: 0;
    }
    nav select {
        margin: 5px 0;
    }
}

/* Styles for the mobile navigation hamburger and phone button.  These
   controls remain hidden on wider screens and appear on screens
   narrower than 600px.  The phone button is styled as a mini call to
   action rather than a plain icon. */
.phone-button,
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    margin-left: 10px;
    padding: 5px;
}

.phone-button {
    background: #ffcc00;
    color: #083d77;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 600px) {
    /* Keep the navigation bar horizontal and relative so the mobile
       menu can drop down beneath it */
    nav {
        position: relative;
        flex-direction: row;
        align-items: center;
    }
    /* By default hide the navigation links on small screens.  When
       activated they are absolutely positioned below the bar with
       padding and background colour matching the bar. */
    .left-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        margin: 0;
        gap: 10px;
        background: #083d77;
        padding: 10px 0;
        z-index: 1000;
    }
    nav.menu-open .left-nav {
        display: flex;
    }
    /* Display the call button and hamburger toggle */
    .phone-button,
    .menu-toggle {
        display: inline-block;
    }
}

/* Style the inline Pricing Guide link.  Always display this link
   adjacent to the Pricing navigation item for improved usability. */
.price-guide-inline {
    display: inline;
}

/* Always hide the dropdown content because the inline link replaces
   the hover-only dropdown on desktop and mobile. */
.dropdown-content {
    display: none !important;
}